[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"))
endfunction
more off
sombrero ()
addlistener (gca, "view", @my_listener)
for i = 1:100000
sin (i)
endfor
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
special?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53729>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/22
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, John W. Eaton, 2018/10/22
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/22
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/23
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked,
John W. Eaton <=
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/23
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, John W. Eaton, 2018/10/23
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/23
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/23
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, A.R. Burgers, 2018/10/25
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/25
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, A.R. Burgers, 2018/10/25
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, A.R. Burgers, 2018/10/26
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, Pantxo Diribarne, 2018/10/30
- [Octave-bug-tracker] [bug #53729] Qt figure canvas does not resize with window while interpreter is paused or blocked, A.R. Burgers, 2018/10/31