Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0, 5.0.1, 5.0.2, 5.1.0 RC1
-
Mac OS X 10.8.3
-
a199a87ad5452938482291ba5e2995e220678f7d
Description
When using QDockWidget on a window with a QGLWidget, the dock widgets fail to work properly. Dragging immediately stops and the widget is completely blank. only redocking gets the content back.
To reproduce, I just added another dock widget with a QGLWidget to the dockwidgets example code. Note that the same bug appears if the widget is the central widget as well (this was just easier to program).
void MainWindow::createDockWindows()
{
...
dock = new QDockWidget(tr("GL"), this);
QGLWidget *gl = new QGLWidget(dock);
dock->setWidget(gl);
addDockWidget(Qt::RightDockWidgetArea, dock);
}
A related bug: QTBUG-33581