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 597663 - Some Layer are missing after saving and reopening a *.xfc File
Some Layer are missing after saving and reopening a *.xfc File
Status: RESOLVED DUPLICATE of bug 309196
Product: GIMP
Classification: Other
Component: General
2.6.7
Other Windows
: Normal critical
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-10-07 10:03 UTC by Larslaserlight
Modified: 2009-10-09 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the xcf image which loosed some layers (793.07 KB, application/octet-stream)
2009-10-07 10:03 UTC, Larslaserlight
Details

Description Larslaserlight 2009-10-07 10:03:03 UTC
Created attachment 144942 [details]
the xcf image which loosed some layers

it happened the 3rd time to me, that after saving a drawing with multiple
layers (7 or 8 Layers) directly to my USB-Stick and reopening it from it, that
some layer are missing. Last time there were only 3 Layers left and closing and
reopening didnt change anything. So I think they are completly lost. 
There were no message that the saving or opening fail or that the file is
corrupt.

I attachted the xcf file (whats left of it) maybe this will help you to find
the problem.
Comment 1 Michael Schumacher 2009-10-07 10:59:06 UTC
This doesn't happen if you save somewhere else?
Comment 2 Sven Neumann 2009-10-07 20:33:30 UTC
Did you check if perhaps the USB stick had not enough space left to hold the XCF file when this error occured? Might be that we need to improve the write code to detect write errors better.
Comment 3 Larslaserlight 2009-10-09 07:41:34 UTC
(In reply to comment #1)
> This doesn't happen if you save somewhere else?

Until now it only happens while saving to an usb stick. I only use HD or USB-stick to save my drawings. Saving to the usb takes (of course) much more time (about 10 - 20 seconds) so this may only happen if the storage access is slow.
Comment 4 Larslaserlight 2009-10-09 07:51:06 UTC
(In reply to comment #2)
> Did you check if perhaps the USB stick had not enough space left to hold the
> XCF file when this error occured? Might be that we need to improve the write
> code to detect write errors better.

The usb stick had ca 3 GB memory left before saving. So I think there was more than enough space to save. But I didnt check it after saving, because the save process seemed to were successful. I realized the error later while opening the file again.
Comment 5 Michael Schumacher 2009-10-09 08:44:42 UTC
I tried this with your image (duplicated a few layers to make it bigger), and can't reproduce this.
Comment 6 Larslaserlight 2009-10-09 11:48:33 UTC
right, this is not reproducable. Saving the works most of the time (I save very often because of programm crashes and so on). But it happened to me only 3 times with different pictures, 2 times with version 2.6 and last time with the current 2.6.7 version. 
Maybe this is not a Gimp problem but I think at least Gimp should show an error if saving wasnt successful. 

I hoped that the image I sent contains some information about the missing layers or parts of them are still there and couldnt only be parsed. If this happens again or i will find some new information about this issue I will inform you.
Comment 7 Larslaserlight 2009-10-09 12:00:22 UTC
I found a way to reproduce this. Im not sure if this is what Ive done when it happened. But please try this:

1) add some layer that saving the picture will take some time
2) save (ctrl s) and klick on the x of the window to close the application
3) open the application and the picture again and check the layer

if saving hasnt been finished and you click close on the main window - It seems this will interupt the saving progress. So maybe i were just to fast with closing the application while saving...
Comment 8 Michael Schumacher 2009-10-09 12:28:09 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 309196 ***