Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.8.0, 5.9.0
-
None
-
Windows 10
Qt 5.8
NVIDIA GeForce GTX 980 Ti
NVIDIA driver 21.21.13.7653 from 12/29/2016
Description
I am unable to get window composition to function correctly when using a QOpenGLWidget in conjunction with QDockWIdgets, when QMainWindow::GroupedDragging is enabled, and winId() has been called on one of the dock widgets. The QOpenGLWidget paintGL() method is working, the framebuffer gets painted correctly, but the composeAndFlush() call in QWidgetBackingStore fails. I get the error:
composeAndFlush: makeCurrent() failed
To reproduce:
- Build and run the attached application
- Drag the dock widget in the main window on top of the floating one
- The dock widgets become grouped
- Switch Tabs to Dock Widget 2
- Resize the floating window. The window is not repainted.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-60744 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196851,2 | Fix dock GL widget on floating QDockWidget holding native window | 5.9 | qt/qtbase | Status: ABANDONED | 0 | 0 |