[Top][All Lists]

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

[Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked
Date: Tue, 23 Oct 2018 09:41:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

Pantxo:  I asked because I wasn't sure whether it would be safe to call a
function while the interpreter was paused.  The state of the interpreter could
be anything.  Currently, if I do something like this:

function my_listener (h, dummy)
  disp (get (h, "view"))
more off
sombrero ()
addlistener (gca, "view", @my_listener)
for i = 1:100000
  sin (i)

and then rotate the axes while the loop is executing, all the calls to
my_listener are deferred until the interpreter is finished executing the loop.
 Do your patches change that behavior?

Either way, should it be possible to execute callbacks while the loop is
running in the above example?  If so, then I suppose executing them inside the
pause function should also be allowed.  But if not, why is the pause function


Reply to this item at:


  Message sent via Savannah

reply via email to

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