Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
5.2.1, 5.3.1
-
Windows 7, Qt 5.2.1 (binaries with OpenGL), VS2010
Description
Resizing a widget containing QGLWidgets in a QSplitter will cause disturbing artifacts. There’s lot of white flickering happening while resizing. This can be reproduced with very simple code:
QHBoxLayout * layout = new QHBoxLayout(); QSplitter *splitter = new QSplitter(parent); wdgt1 = new QGLWidget(); wdgt2 = new QGLWidget(); wdgt3 = new QGLWidget(); wdgt4 = new QGLWidget(); splitter->addWidget(wdgt1); splitter->addWidget(wdgt2); splitter->addWidget(wdgt3); splitter->addWidget(wdgt4); layout->addWidget(splitter);
Attached also full example to reproduce the issue.
Attachments
For Gerrit Dashboard: QTBUG-38327 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
94968,2 | QOpenGLWidget: Play nice with empty paintGL | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |
160988,10 | Windows QPA: Call QWSI::flushWindowSystemEvents() from WM_PAINT for full update only | 5.9 | qt/qtbase | Status: MERGED | -2 | 0 |
161096,3 | Remove tst_QWidget::immediateRepaintAfterShow(). | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
183862,1 | Windows QPA: Call QWSI::flushWindowSystemEvents() from WM_PAINT for full update only | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |