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 302563 - Choice of format when saving a spreadsheet that was opened as a non-gnumeric file.
Choice of format when saving a spreadsheet that was opened as a non-gnumeric ...
Status: RESOLVED DUPLICATE of bug 302087
Product: Gnumeric
Classification: Applications
Component: GUI
1.4.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-04-30 18:01 UTC by J.H.M. Dassen (Ray)
Modified: 2005-05-03 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description J.H.M. Dassen (Ray) 2005-04-30 18:01:47 UTC
Distribution/Version: Debian "sid" (unstable)

This is triggered by http://bugs.debian.org/307090.

Consider this scenario:
- Open a non-native format spreadsheet file, say a .sxc from the command line
- Select File -> Save or File -> Save As
- A file saver popup is presented.

This popup will still have the non-native format extension in the filename, but
has "Gnumeric XML" selected for the file type. When "Save" is selected, this
results in a warning "The given file extension does not match the chosen file
type. Do you want to use this name anyway".

This behaviour is somewhat conducive to user errors.

IMHO it makes more sense to select an appropriate default for the file type
based on the file's extension. If it is considered desirable to emphasise the
non-nativeness of the file that has been imported it may make sense to disable
"Save" and force the user to use "Save As" instead.
Comment 1 Andreas J. Guelzow 2005-05-01 06:25:07 UTC
I definitely would not want a format preselected that does not preserve all
information of a gnumeric workbook. This is likely to cause loss. I think we
should strip the inappropriate file extension. 
Comment 2 Rémi Letot 2005-05-03 11:37:28 UTC
I'm the original debian bug submitter. The problem here is that users lost
files. gnumeric opened the sxc files, then saved gnumeric files in place,
without changing the file extension. Using gnumeric format might be right, but
then don't overwrite the original file by default, even with a warning. I think
the default should be to change the file extension if gnumeric format is used.
Comment 3 Morten Welinder 2005-05-03 13:15:31 UTC
It's actually a gtk+ bug I filed a few days ago.  Gnumeric does strip "sxc"
(and you can see that for a very short moment) but gtk+ then adds it back.

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