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

window synchronisation issues on resize

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.5.0
    • QPA: Windows
    • None

    Description

      attached projects show some drawing glitches of QOpenGLWindow/QOpenGLWidget:

      in one case, we have a QOpenGLWindow as central widget of a QMainWindow, in the second case, we have a QOpenGLWidget as top-level QWidget.

      it provides two ways to resize the window: via the window handle of the operating system and programmatically (via mouse dragging in the red ogl window content)

      two observations:

      • the first case (QOpenGLWindow in QMainWindow), the content is not in sync with the window decorator, but white glitches can be seen on the right and bottom when resizing
      • in the second case, we see the same white glitches when resizing the QOpenGLWidget via the window handle. when resizing it programatically, the content is not updated, showing black background

      btw, the white glitches can also be seen when resizing qtcreator.

      Attachments

        1. qtbug48235.zip
          11 kB
          Friedemann Kleint
        2. QTBUG-48235.zip
          5 kB
          Jan Arve
        3. resize.gif
          225 kB
          Damien Courtois
        4. resize-flickering.zip
          6 kB
          tim blechmann

        Issue Links

          For Gerrit Dashboard: QTBUG-48235
          # Subject Branch Project Status CR V

          Activity

            People

              smd Jan Arve
              timblechmann tim blechmann
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes