[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44781] Qt (but not FLTK) figure draws empty a
From: |
Michael Goffioul |
Subject: |
[Octave-bug-tracker] [bug #44781] Qt (but not FLTK) figure draws empty axes before doing the actual plot |
Date: |
Thu, 09 Apr 2015 00:32:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36 |
Follow-up Comment #4, bug #44781 (project octave):
I am able to reproduce the update during long draw. The fact that the various
functions involved also use auto-locking may interfere for you. But basically,
I can easily reproduce it as follows:
- "figure" to create the figure
- "plot(1:10000000)" to create the first plot
- "clf" to reset the figure
- move the figure window partially under the octave GUI (e.g. half of it is
only visible)
- "plot(1:10000000)", then after hitting <Enter> quickly uses Alt-Tab to bring
the figure window to foreground; I can then see the default axes for about 0.5
second before the plot is updated
There used to be call to asyncUpdate, but jwe removed it recently to fix
another bug. But in any case, this is not related to this issue and
asyncUpdate was not used for that purpose.
The redraw events in this issue are generated by X11 when the window is
exposed (note: resizing the window was probably not a good suggestion, a
simple expose is better).
The code responsible to draw the figure is in libinterp/corefcn/gl-render.cc
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44781>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/