After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108962 - Layer mask not saved in .XCF file
Layer mask not saved in .XCF file
Status: VERIFIED FIXED
Product: GIMP
Classification: Other
Component: General
1.x
Other All
: Normal critical
: ---
Assigned To: GIMP Bugs
Daniel Egger
: 112136 112239 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-22 17:36 UTC by Pedro Gimeno
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Gimeno 2003-03-22 17:36:13 UTC
This applies to the 1.2.4pre-20030213 for Windows version. When saving an 
image to a file in .XCF format which uses layer masks, the layer masks are 
not saved to the file; when loading it again they are lost.

How to reproduce:
 1. Create a 256x256 image.
 2. Add a new layer.
 3. Create a mask for the new layer. Optionally draw something in the mask.
 4. Save the resulting image in .XCF format.

When doing
 5. Reload the image.
the mask is gone. It properly loads images with masks saved with Gimp 
1.2.3 for Linux, so the problem seems to appear only when saving.
Comment 1 Sven Neumann 2003-03-22 19:29:14 UTC
Sorry, I can not reproduce this problem with gimp-1.2.4-pre2 on Linux.
Layer masks are correctly saved and loaded in the XCF file format.
Comment 2 Michael Natterer 2003-03-24 18:59:52 UTC
Fixed in the gimp-1-2 branch (CVS HEAD does not have the bug):

2003-03-24  Michael Natterer  <mitch@gimp.org>

  * app/xcf.c (xcf_save_layer): changed if(fail) (which is
  always TRUE) to if(*fail) (fixes bug #108962).
Comment 3 Raphaël Quinet 2003-04-03 08:30:36 UTC
*** Bug 109841 has been marked as a duplicate of this bug. ***
Comment 4 Pedro Gimeno 2003-05-03 08:01:46 UTC
*** Bug 112136 has been marked as a duplicate of this bug. ***
Comment 5 Pedro Gimeno 2003-05-03 08:05:25 UTC
Removing Tor's address from CC list since it was not Windows-specific 
as I first thought.
Comment 6 Sven Neumann 2003-05-04 22:48:05 UTC
*** Bug 112239 has been marked as a duplicate of this bug. ***
Comment 7 Raphaël Quinet 2003-06-20 19:28:49 UTC
The fix is part of the stable release 1.2.4.  Closing this bug.