GNOME Bugzilla – Bug 115103
"Save a copy" box should set file extension
Last modified: 2004-05-31 10:45:29 UTC
Hi, - open "file1.xcf" and "file2.xcf" - "Save a copy" of file1, and select for instance the PNG format in the dialog. The proposed filename is "file1.png". This is okay. - "Save a copy" of file2. The default proposed format is now PNG (this is also okay), but the proposed filename is still "file2.xcf". It should be "file2.png" to be coherent with the format.
Why can't the users just leave the file-format menu set to "By Extension"? Perhaps it would be wise to disable it altogether, it's causing nothing but grief.
Probably the best way to fix this confusion would be to reset the file type menu to "By extension" every time the dialog is opened.
> Probably the best way to fix this confusion would be to reset the > file type menu to "By extension" every time the dialog is opened. Sure it would work, but a user will very often want to use the same export format for all the set of images he is working on. It is faster for him not to have to re-type the file extension for each file.
Well, that would be a new feature since you can't do that now. The extension is only ever added/changed when you change the file-type menu.
Created attachment 17514 [details] [review] Patch to correct the file extension on every "save copy" dialog show.
This short patch (against 1.3.15) seems to make the "Save Copy" dialog as I think it should. Now, I'm not really a C or Gtk programmer myself, so it might be buggy, I don't know. And since this is more a feture add, I will switch this bug to "enhancement".
Changes at the request of Dave Neary on the developer mailing list. I am changing many of the bugzilla reports that have not specified a target milestone to Future milestone. Hope that is acceptable.
This is not any longer a problem since we fixed bug #141535 (for the stable branch but the HEAD branch will get a similar fix).