octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50106] [GUI] Editor keeps track of files even


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #50106] [GUI] Editor keeps track of files even when it is closed
Date: Fri, 20 Jan 2017 20:41:04 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

URL:
  <http://savannah.gnu.org/bugs/?50106>

                 Summary: [GUI] Editor keeps track of files even when it is
closed
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Fri 20 Jan 2017 09:41:03 PM CET
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

I just noted that when a file is loaded in the GUI editor, next the editor
pane is closed with its close button (pane disappears; it doesn't show up
anymore with a tick in the main menu's Windows list) and then the file that
was just opened is overwritten with another file with the same name, an editor
pop-up appears telling the edited file was overridden and asking if you want
to reload the file.
(This is on both Linux and Windows, Octave 4.2.0 and 4.3.0+ tip)

This seems incorrect behavior to me - the editor pane is closed yet it does
seem to be active behind the scenes. 
When closed I'd expect the editor to be completely inactive and only reload
(re-read) a file and keep track of its changes when the editor pane is opened
again.
In fact this means that files once edited in a now closed GUI editor are
silently kept attached (not opened) to the Octave session.
That is at least unexpected behavior.

(I tried in Matlab (r2017a prerelease) but its editor doesn't seem to note at
all that a file in the editor was overwritten from outside.)

I was wondering if this is related to bug #50076.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50106>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]