[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54187] fail to close a busy figure and crash
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #54187] fail to close a busy figure and crash octave |
Date: |
Tue, 10 Jul 2018 21:58:03 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #6, bug #54187 (project octave):
It seems that in Octave 4.4.0 graphics_toolkit qt, there might be something
wrong with the menu "File > Close Figure Ctrl+W" (or the window "x" button).
If I run
figure();
while 1
drawnow(); pause(0.1);
end
in Octave 4.2.x, everything works well; all the menus can response in time.
But in Octave 4.4.0, everything works well (e.g. "File > Save", "Help > About
Octave", as well as user-defined menus)
except for the "File > Close Figure" —— not only it cannot close the
figure in time, but also it may crash Octave with Segfault later.
A workaround in 4.4.0 is to add a user-defined menu, such as
h = uimenu('label', 'My File' );
uimenu(h, 'label', 'My Close', 'callback', 'close');
while 1
drawnow(); pause(0.1);
end
The additional menu "My File > My Close" works well; it can close the figure
in time.
But, again, we must NOT click the original menu "File > Close Figure" which
doesn't work and may crash Octave.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54187>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/