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

[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: Pantxo Diribarne
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 10:22:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

We want the graphics event processing to be triggered when one of those
conditions is met:
* drawnow, figure, getframe, waitfor or pause functions are called. This is
per Matlab compatibility (see e.g. the note here
https://fr.mathworks.com/help/matlab/ref/matlab.graphics.axis.axes-properties.html#budumk7_sep_shared-Interruptible)
* The interpreter returns to prompt (idle state).

AFAICS the above works well in Octave. During the execution of "pause" though,
we want event processing to happen regularly since menu actions should take
effect as fast as possible. That is what the patch for this bug does.

In the example you provided, unless you add a call to drawnow, figure, ... or
pause in the loop, the event processing won't be triggered. That is currently
how it works and my patch doesn't change anything about that.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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