Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61295

grab() for QGraphicsView backed by QOpenGLWidget viewport

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9
    • Widgets: GraphicsView
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes