GNOME Bugzilla – Bug 139830
Saving an image with paths should pop export dialog when appropriate
Last modified: 2009-07-16 07:56:46 UTC
But of course, you might say, but I didn't think of it, and now I lost two hours worth of work. There should really be an error message saying: "You are trying to save Curve (or channel or whatever) information to a format that doesn't support it. If you continue, your curves (or whatever) will be lost" or something like that...
Could you explain in more detail what you did, what happened and what you expected to happen? "Curves and stuff" is not a very good description and I see no relation to the JPEG file format.
Oh, sorry... I was editing colours in a photo (.jpg), and I used bezier curves to select different areas. I saved those bezier curves and wanted to use them later (I was going to restart GIMP to get some changes I wanted in effect) When I restarted GIMP, all those curves were gone - they cannot be saved in jpg format, I presume... What I'd like to see is a small message whenever I close a file with curves, where the curves will be lost when I exit GIMP, so that I get a chance to save the file in the GIMP's recommended file format (.xcf) Did I make myself more clear? My expression "and stuff" means that not only did the curves disappear, but also channels, and I imagine more advanced GIMP users would have noticed other things that were not saved too.
Ah, so you mean Paths. The term Curves confused me since that's what it used for the Curves color correction tool usually.
Well, yes, it should probably be considered a bug that saving a file to a format that doesn't support all image attributes unsets the dirty flag. Changing this is non-trivial though.
Non-trivial? Why so? I'm not a C programmer, but I'm sure there is some sort of error handling method that can be triggered if the user is trying to save unsupported image attributes, giving him/her a warning about that. I'm sure there are more situations where user should be warned before trying to do certain things.
Apparently PhotoShop has the ability to save clipping paths in jpeg files, presumably by making use of the flexible parts of the jpeg format. So this is a meaningful compatibility request, although it would be hard to implement due to the closedness of the Photoshop file specs.
What's the focus of this bug report at all? Is it an enhancement request for saving paths to JPEG files or is it about the problem that saving unsets the dirty flag no matter what format is saved to?
Based on the reporter's comments, it looks like the request is, when saving an image with paths to a file format that doesn't support them, to get an export dialog. Confirming on that basis, and altering subject.
This problem will be solved when the new save + export spec is implemented, setting milestone accordingly. http://gui.gimp.org/index.php/Save_%2B_export_specification
This part of the spec is implemented, it is no longer possible to save in other formats than xcf. Other formats are exported to (and this does not change the dirty flag). Closing as FIXED.