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

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

[Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close


From: Rik
Subject: [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable
Date: Wed, 20 May 2020 12:12:41 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #58408 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 2                      
                 Release:                  6.0.90 => dev                    

    _______________________________________________________

Follow-up Comment #8:

As Markus says, the problem is that Octave uses a pipe for communication with
gnuplot in a different process and this communication is basically one way. 
The Octave side, which maintains a list of active figures, doesn't know the
figure has been removed unless it was removed on the Octave side using
close().

Here is the diary from a test I ran


octave:52> close all
octave:53> graphics_toolkit qt
octave:54> figure ("deletefcn", @() disp ("Deleting figure"))
## I closed figure window with 'X'
octave:55> Deleting figure

octave:55> graphics_toolkit gnuplot
octave:56> figure ("deletefcn", @() disp ("Deleting figure"))
## I closed figure window with 'X'
## Figure is gone, but no message printed
octave:57> close (1)
Deleting figure
octave:58> 
## Now message is printed after I use Octave to close figure.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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