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 115103 - "Save a copy" box should set file extension
"Save a copy" box should set file extension
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
1.x
Other All
: Normal enhancement
: Future
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2003-06-13 11:47 UTC by Thomas de Grenier de Latour
Modified: 2004-05-31 10:45 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch to correct the file extension on every "save copy" dialog show. (575 bytes, patch)
2003-06-13 15:46 UTC, Thomas de Grenier de Latour
none Details | Review

Description Thomas de Grenier de Latour 2003-06-13 11:47:25 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.
Comment 1 Sven Neumann 2003-06-13 12:09:15 UTC
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.
Comment 2 Sven Neumann 2003-06-13 12:38:22 UTC
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.
Comment 3 Thomas de Grenier de Latour 2003-06-13 13:30:42 UTC
> 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.
Comment 4 Sven Neumann 2003-06-13 13:43:10 UTC
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. 
Comment 5 Thomas de Grenier de Latour 2003-06-13 15:46:43 UTC
Created attachment 17514 [details] [review]
Patch to correct the file extension on every "save copy" dialog show.
Comment 6 Thomas de Grenier de Latour 2003-06-13 15:47:05 UTC
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".
Comment 7 Alan Horkan 2003-07-23 18:40:27 UTC
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.  
Comment 8 Sven Neumann 2004-05-31 10:45:29 UTC
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).