GNOME Bugzilla – Bug 302563
Choice of format when saving a spreadsheet that was opened as a non-gnumeric file.
Last modified: 2005-05-03 13:15:31 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.
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.
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.
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 ***