[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: 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
* 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:


  Message sent via Savannah

reply via email to

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