[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver |
Date: |
Wed, 12 Jul 2017 12:29:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #16, bug #51442 (project octave):
I also see the problem with qt5 and can confirm that resizing the window makes
the plot appear.
If I run Octave, attach gdb to the octave-gui process, set a breakpoint in the
QtHandles::Container::resizeEvent function and then execute "sombrero" at the
octave prompt, execution stops in the resizeEvent function and the figure is
properly displayed when I continue execution. If I delete the breakpoint or
type "continue" for gdb prior to executing "sombrero", then the plot doesn't
appear properly.
To me, this suggests some kind of timing or threading issue. And if I make
the attached change (inserting a delay in the
QtHandles::Container::resizeEvent function), it seems the plot will appear
correctly given a sufficient delay. On my system, a delay of 0.2 seconds
appears to be sufficient to make the plot always appear correctly. With a
smaller delay the plot is sometimes correct and sometimes not. Oddly, it
seems to fail more often if the cursor is in the plot window when it is
drawn.
I'm not saying that a delay is the right fix, only that this behavior points
to some kind of timing issue. If so, then maybe there is something we can do
to avoid the problem?
(file #41192)
_______________________________________________________
Additional Item Attachment:
File name: diffs.txt Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51442>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work in Xwayland, (continued)
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work in Xwayland, Mike Miller, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland, Mike Miller, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland, Mike Miller, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland, Dmitri A. Sergatskov, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland, Harish Hyma, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland, Dmitri A. Sergatskov, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland, Harish Hyma, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, Mike Miller, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, Dmitri A. Sergatskov, 2017/07/11
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, Harish Hyma, 2017/07/12
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver,
John W. Eaton <=
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, Mike Miller, 2017/07/12
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, John W. Eaton, 2017/07/12
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, Mike Miller, 2017/07/12
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, John W. Eaton, 2017/07/12
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, Dmitri A. Sergatskov, 2017/07/12
- [Octave-bug-tracker] [bug #51442] graphics_toolkit qt does not work with Qt 5 in Xwayland and Intel mesa driver, John W. Eaton, 2017/07/12