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

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

[Octave-bug-tracker] [bug #39733] figure window stuck if error while exe


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #39733] figure window stuck if error while executing window callback
Date: Thu, 12 Mar 2015 04:26:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

Update of bug #39733 (project octave):

                  Status:                    None => Works For Me           
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I think this behavior of the FLTK toolkit actually doesn't depend on an error
happening at all. The same occurs if you comment out the error line, the
reason being that FLTK redraws are normally tied to the readline input loop.

The new Qt toolkit behaves a little differently, the figure is not redrawn for
me until focus moves away from the figure window.

If you use the drawnow() function to force a redraw in your callback function,
the figure is updated immediately and there is no problem, no matter which
toolkit or whether an error occurs later in the callback or not.

I'm going to close this as working, if you want a callback to immediately
redraw something on the plot it should be using drawnow. Sorry for the long
delay in someone getting to this bug report.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39733>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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