Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.9
-
None
Description
Attempting to grab() a QGraphicsView with QGLWidget viewport works. When migrating to QOpenGLWidget, it doesn't.
Even with fixes to fully offscreen QOpenGLWidget handling, this case is still broken due to the way QWidgetPrivate::drawWidget works and suppresses paint events for QOpenGLWidget and QQuickWidget. While this is desirable in most cases, not sending paints results in not rendering the graphics scene at all.
Attachments
Issue Links
- relates to
-
QTBUG-61280 Hidden floating QOpenGLWidget produces a warning when calling render() on the MainWindow
-
- Closed
-
-
QTBUG-47185 Hidden QOpenGLWidget does not render()
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-61295 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196747,6 | Support grab() for QOpenGLWidget-backed QGraphicsViews | dev | qt/qtbase | Status: DEFERRED | -2 | 0 |