bugGNU Octave - Bugs: bug #40637, GUI editor: misleading file save...

 
 

bug #40637: GUI editor: misleading file save suggestion for new files

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Tue 19 Nov 2013 08:42:46 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 22 Nov 2013 05:36:02 PM UTC, comment #2: 

No worries, works on MinGW (don't know about OSX).

Thanks for the fix

Philip Nienhuis <philipnienhuis>
Group Member
Thu 21 Nov 2013 07:44:35 PM UTC, comment #1: 

Fixed with changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/6925dca34807
I only have tested on linux; if there are issues on windows or mac, we can reopen this report.

Torsten Lilge <ttl>
Group Member
Tue 19 Nov 2013 08:42:46 PM UTC, original submission:  

In GUI, open editor, click "New" button and start typing (anything).
Then, in command window, press Ctrl-d (or close Octave otherwise).

Now the editor suggest to save the "new" (not yet saved or created) file, but suggests the current working directory name as new file name (= misleading).
The editor should detect that the new file hasn't been assigned a file name yet and should not suggest a file name at all. Only when clicking "Yes" a file save dialog should show up.

If one clicks "Yes", the file isn't saved at all (and luckily the working directory isn't screwed up)
The former here (=no saved file) is both misleading and incorrect.

I've set OS to "any" but I cannot verify that all is the same on Linux - can't (=don't dare to) try as ./run-octave& wants to save into/over my build dir (so at least the misleading file name happens on Linux too).

Philip Nienhuis <philipnienhuis>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by philipnienhuis (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-21 ttl StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code