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 139830 - Saving an image with paths should pop export dialog when appropriate
Saving an image with paths should pop export dialog when appropriate
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.0.x
Other All
: Low enhancement
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks: 118191
 
 
Reported: 2004-04-12 19:36 UTC by Sergej Kotliar
Modified: 2009-07-16 07:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sergej Kotliar 2004-04-12 19:36:18 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...
Comment 1 Sven Neumann 2004-04-12 20:17:39 UTC
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.
Comment 2 Sergej Kotliar 2004-04-12 20:24:15 UTC
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. 
Comment 3 Sven Neumann 2004-04-12 20:34:43 UTC
Ah, so you mean Paths. The term Curves confused me since that's what it used for
the Curves color correction tool usually.
Comment 4 Sven Neumann 2004-04-12 20:37:59 UTC
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.
Comment 5 Sergej Kotliar 2004-04-12 20:42:44 UTC
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.
Comment 6 weskaggs 2004-07-03 22:03:56 UTC
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.
Comment 7 Sven Neumann 2004-07-04 00:30:26 UTC
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?
Comment 8 weskaggs 2004-09-28 21:59:01 UTC
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.  
Comment 9 Martin Nordholts 2009-04-25 20:18:20 UTC
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
Comment 10 Martin Nordholts 2009-07-16 07:56:46 UTC
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.