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 538141 - Save As should prepend a file extension if not given one by user
Save As should prepend a file extension if not given one by user
Status: RESOLVED DUPLICATE of bug 472975
Product: eog
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-13 11:36 UTC by Francis Markham
Modified: 2008-06-13 12:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Francis Markham 2008-06-13 11:36:13 UTC
Overview Description: 

    When choosing Save As from the file menu and typing a filename, if a file
    extension is not specified the dialog will give the error "File format is 
    unknown or unsupported".  It should instead prepend the appropriate file
    extension to the new file name.


Steps to Reproduce:

    1) Open a jpeg file.

    2) Select File->Save As...                

    3) Enter a filename without an extension and press Save

Expected Results: 

    The image should be saved with the correct file extension prepended to the 
    new file name.

Version & Platform: 

    Version 2.22.2 on Ubuntu Hardy


I'd be quite willing to make a patch for this if someone would be happy to point me in the right direction (I've never submitted a patch to gnome before so getting it compiling, etc. might be a learning curve).
Comment 1 Claudio Saavedra 2008-06-13 12:48:57 UTC
This has already been proposed (actually, append a file extension). Finding the "correct file extension" is somewhat not trivial, but you're welcome to give it a try if you have ideas (check the older bug report for more info).

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 472975 ***