GNOME Bugzilla – Bug 108962
Layer mask not saved in .XCF file
Last modified: 2009-08-15 18:40:50 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.
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.
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).
*** Bug 109841 has been marked as a duplicate of this bug. ***
*** Bug 112136 has been marked as a duplicate of this bug. ***
Removing Tor's address from CC list since it was not Windows-specific as I first thought.
*** Bug 112239 has been marked as a duplicate of this bug. ***
The fix is part of the stable release 1.2.4. Closing this bug.