Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Out of scope
-
Affects Version/s: 5.2.1, 5.3.1
-
Fix Version/s: 5.4.0 Beta
-
Component/s: GUI: OpenGL
-
Labels:
-
Environment: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.