Feature SS-3455
1 vote

Separate "Save as" and "Export" entries in the File menu

Created by Martin Kraska on 8/1/2017 1:03 PM Last Updated by smath on 1/24/2018 7:12 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

Currently, (0.98.6398) File> Save as offers to save the file in various formats. Both format and location are used for subsequent Save commands (Ctrl-S), see issue http://en.smath.info/bts/Issues/IssueDetail.aspx?id=1250

The Proposal is to

  • Restrict the Save As options to loss-less file formats, from which the document can be opened for edit.
  • Add a menu entry "Export", where all the other formats are offered and the preset for format and location/name is what was exported before.

 

    smath (Wednesday, January 24, 2018 7:12 PM) #

Yes, I'm absolutely agree. Save button will never do export. 

Please check just released nightly build - behavior of Save button already corrected there.

    Martin Kraska (Wednesday, January 24, 2018 6:58 PM) #

Acceptability depends on what "Save" does if  "Save as"  has been used to save in a format which can't be read again into SMath

If "Save" uses that new format again, then all subsequent changes to the worksheet are lost  unless you issue a new Save as with sm format.

This is for sure not what the user expects.

    smath (Wednesday, January 24, 2018 6:40 PM) #

In the fix prepared for SS-1250 I've introduced flag which can tell if plug-in is natively supports worksheet content or not. This flag is set for .sm/.smz extensions only, so internally SMath Studio now knows about the mode of save operation (Export or Save).

It now supports all the modes carefully, so I've decided not to split Save As dialog into Save As and Export. For me it looks more simple to end-user to have all the formats in one dialog.

Thank you for the idea, but I will not implement it. At least for now.