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

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

[Octave-bug-tracker] [bug #55888] running rmdir() in unsaved script in G


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55888] running rmdir() in unsaved script in GUI editor causes tab to be closed or saved
Date: Mon, 11 Mar 2019 21:33:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55888>

                 Summary: running rmdir() in unsaved script in GUI editor
causes tab to be closed or saved
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Mon 11 Mar 2019 06:33:46 PM PDT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Pasting the following into a new blank tab in the GUI editor


dn = tempname ();
mkdir (dn);
rmdir (dn);


selecting all lines, and running the selection with "Run Selection" or F9,
causes Octave to prompt for the editor tab to be closed or saved as a new file
when it gets to the 'rmdir' function call. This is a regression from Octave
4.4 where it worked fine, the unsaved file stays open in the editor and the
lines are executed as expected in the command window.

Screenshot from Octave 5.1.0 showing the prompt attached. The prompt seems to
say that Octave thinks a file has been deleted, but there was never a file
associated with the tab to begin with.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 11 Mar 2019 06:33:46 PM PDT  Name: octave-close-rmdir.png  Size:
34KiB   By: mtmiller

<http://savannah.gnu.org/bugs/download.php?file_id=46502>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55888>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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