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

QOpenGLWidget grab doesn't use paintEvent()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.12.0
    • GUI: OpenGL
    • None
    • Windows

    Description

      Story

      I want to use grab() system on custom QOpenGLWidget which mix OpenGL / QPainter.

      Currently, if I try to grab a widget which contains my QOpenGLWidget. The OpenGL rendering is called (paintGL()) but not paintEvent() as expected.
      See MyGrab.png result.

      The quick demo to reproduce bug is attached.

      Attachments

        1. QOpenGLWidgetGrab.zip
          5 kB
        2. DialogRendering.PNG
          DialogRendering.PNG
          11 kB
        3. MyGrab.png
          MyGrab.png
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            rominitch Romain MOURARET
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes