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

 
 

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

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Tue 19 Nov 2013 08:42:46 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 <ttl>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Nov 2013 07:44:35 PM UTCttlStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1