GNOME Bugzilla – Bug 675399
Mention that the image was at least exported in the close warning dialog.
Last modified: 2012-10-07 16:22:19 UTC
I'm processing raw files through the ufraw plug-in. When I export as jpeg the file is correctly saved, but when I then try to close the image I *sometimes* get the dialog "Save the changes to image 'Untitled' before closing?".. Trying to provoke it so I could post the actual question from the dialog, the first export and close was ok. On the second attempt I used file->save as (old habits die hard), corrected that to export, then got the dialog. I have a suspicion that erroneously trying file->save (and not saving that because I didn't want an export) might be part of the cause. On the third attempt I did a correct file->export, close but I still got the dialog. Hmm, closed the gimp, reopened, processed a fourth image, file->export, file-> close without the spurious dialog. Perhaps opening the Save As dialog sets an indicator which never gets cleared if you cancel that, and Export Tried a freshly opened gimp, new image, didn't export it. Correctly got the dialog when I used file->close (good!), so exported, still got the dialog when I again used file->close.
The files are *exported* not *saved*, this is completely intentional, see http://gui.gimp.org/index.php/Save_%2B_export_specification
Yes, they *are* exported. Please stand back a moment and think of the user experience. I've spent time manipulating the image, then exported it. Now, I (soemtimes) get a message saying I've not *saved* it. That makes me think the export wasn't completed. Most of the time, the change is small enough that I have no wish to create an xcf version of the working file. If I get this message that I've not saved a file every time I close after exporting, the message is just noise. Now, if it told me that I'd *only* exported the image but not saved it, that might be useful.
Now that is actually a useful suggestion, thank you. Reopening for further discussion.
Created attachment 213545 [details] [review] confirm exported pref This patch adds a preference that allows you to close exported images without saving. The wording of the help text can probably be improved a bit.
Created attachment 213546 [details] [review] mention exported This patch adds a blurb to the confirmation dialog that the image has been exported. I don't know if the quit dialog should also be modified (it unconditionally asks for confirmation regardless of the existing preference).
adding the info that a file has been exported in the confirmation dialog is a good one, I agree. the extra pref for "Confirm closing of unsaved but exported images" is something that is tempting for users in these switchover weeks, but just dangerous beyond that. quit is implicitly 'close all then quit' and close all should have the same diligence as a single close.
Fixed in master and gimp-2-8: commit 062d38d141907d095b92e7a1adc05cd1bc870be2 Author: Michael Natterer <mitch@gimp.org> Date: Thu May 10 01:10:27 2012 +0200 Bug 675399 - Mention that the image was at least exported in the close... If the image was exported, mention it in the close warning dialog. (cherry picked from commit 57d4680ab3ecb748dfbdd9b9a0995da2f4ef01fa)
*** Bug 678662 has been marked as a duplicate of this bug. ***
*** Bug 596901 has been marked as a duplicate of this bug. ***