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: Deyan
Subject: [Octave-bug-tracker] [bug #56470] Open figures do not raise closing event when [X] is pressed
Date: Wed, 12 Jun 2019 06:55:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

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

The only place I need to update this is drawCurvDFT
<https://github.com/dvdvideo1234/MP3Toolbox/blob/master/functions/player/drawCurvDFT.m>
and drawSurfDFT
<https://github.com/dvdvideo1234/MP3Toolbox/blob/master/functions/player/drawSurfDFT.m>

drawnow:
When the loop is not broken I added drawnow after the last grid draw for the
system to update the event if the figure is closed. When the X is pressed the
figure closes correctly as like pause(0.1). Probably the performance issue
that drawnow draws a frame in a second is of the fact that I am running my
program on a laptop rather than a desktop.

pause:
This mode is working identically as drawnow, but I am gonna use drawnow as a
standard solution to avoid slowing loops in the figure update routine.

I think that for the refresh in one second there is nothing more to be done
now. My home desktop machine is more powerful than my laptop, so I think it's
normal.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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