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 420451 - save as dialog closes unexpectedly when entering wrong image file extension
save as dialog closes unexpectedly when entering wrong image file extension
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
1.7.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 341995 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-20 08:46 UTC by Bram Kuijper
Modified: 2007-09-09 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bram Kuijper 2007-03-20 08:46:13 UTC
Please describe the problem:
When saving a graph as an image and entering the wrong file extension for the image file (e.g. "graph.png" whereas SVG was chosen as the output format), a warning pops up notifying you that the extension does not match the output format. When pressing no on that warning, the whole "Save As" dialog quits, whereas it should just stay opened and users should just get the opportunity to change the filename. Unexpected behavior.

Steps to reproduce:
1. Make any graph in Gnumeric
2. Select Graph by clicking on it
3. Press right mouse button and select "Save As Image"
4. Select in the "Save As" dialog box, the output format (using the combo box left below), e.g. "SVG"
4. Then, type in the filename, with an extension that does not fit the output format, e.g. "graph.png"
5. Press "Save"
6. The following warning dialog box pops up: "The given file extension does not match the chosen file type. Do you want to use this name anyway?"
7. Choose the No option: "No"
8. "Save As" dialog box now quits altogether

Actual results:
The "Save As" dialog box quits after pressing the "no" button on the warning dialog box "The given file extension does not match the chosen file type. Do you want to use this name anyway?". 

Expected results:
It is unexpected behaviour, since after pressing the "no" button on the dialog box displaying "The given file extension does not match the chosen file type. Do you want to use this name anyway?", the "Save As" dialog box should remain open and user should be given the opportunity to just change the extension instead of having to reopen the "Save As" dialog box and retyping the whole name.


Does this happen every time?
Yes. Any graph, any time.

Other information:
Comment 1 Andreas J. Guelzow 2007-04-20 17:46:46 UTC
note that the regular save-as dialog (i.e. for spreadsheets) behaves as desired.
Comment 2 Jon Kåre Hellan 2007-09-09 18:06:19 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Jon Kåre Hellan 2007-09-09 18:12:20 UTC
*** Bug 341995 has been marked as a duplicate of this bug. ***