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

QOpenGLWidget grab doesn't use paintEvent()

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes