[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable |
Date: |
Wed, 20 May 2020 12:05:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0 |
Follow-up Comment #5, bug #58408 (project octave):
AFAIU, the windows that are created with the gnuplot toolkit are "out of
control" of Octave. There is no way of knowing how large they are or if they
are even closed.
E.g. create a handle to figures with the "qt" and with the "gnuplot" toolkit:
graphics_toolkit ("qt"); hf_qt = figure (1);
graphics_toolkit ("gnuplot"); hf_gnuplot = figure (2);
Now close both figures (using the mouse) and check if the handles are still
valid:
>> ishghandle (hf_qt)
ans = 0
>> ishghandle (hf_gnuplot)
ans = 1
Or another example:
graphics_toolkit ("gnuplot");
hf_gnuplot = figure (2);
line ();
A gnuplot figure with a line should appear on screen.
Now close the window with the mouse and issue the following commands:
figure (3);
hold on
The figure reappears *with the previous content*. As far as Octave knows, the
window was never closed.
I don't know if there is anything we can do about this.
The communication with gnuplot is basically one way only.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58408>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Daniel Molina García, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Daniel Molina García, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Rik, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Rik, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Rik, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable,
Markus Mützel <=
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Markus Mützel, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Markus Mützel, 2020/05/20
- [Octave-bug-tracker] [bug #58408] closing gnuplot windows without "close" makes other toolkits unusable, Rik, 2020/05/20