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

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

[Octave-bug-tracker] [bug #56470] Open figures do not raise closing even


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #56470] Open figures do not raise closing event when [X] is pressed
Date: Tue, 11 Jun 2019 10:56:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #1, bug #56470 (project octave):

The reason why the figure is only refreshed when interacting with the windows
somehow, is because Qt deems the redraw necessary and provokes it.

Otherwise, the figure get redrawn until either you call "drawnow" or "pause"
explicitely in your loop, or the script terminates and Octave returns to
prompt. Same for closing a window: unless you call drawnow, the close event
won't be processed.

Could you try adding a "drawnow" or "pause (0.1)" somewhere in your loop and
report back?

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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