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

REG: Animating a widget overlapping a QOpenGLWidget causes redraw artifacts

    XMLWordPrintable

    Details

    • Platform/s:
      macOS, Windows

      Description

      Steps to reproduce:

      • create a Qt application with a single window
      • add a QOpenGLWidget to the window (showing any static content)
      • add a QWidget of the same size to the window so it ends up in front of the OpenGL widget
        • set the background of this widget to rgba(0, 0, 0, 128)
        • add a QProgressBar or any animated widget as child to this widget

      Expected behavior:

      Up to Qt 6.2.1 the widget creates a semi-transparent overlay and runs the animations fine.

      Actual behavior:

      Since Qt 6.2.1 the widget itself as well as it's animated children will create black drawing artefacts (see the attached video)

       

      The Issue is observed on macOS 11., 12. as well as on Windows 10.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            rkoecher Rene Koecher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes