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. resize-flickering.zip
          6 kB
        2. QTBUG-48235.zip
          5 kB
        3. qtbug48235.zip
          11 kB
        4. resize.gif
          resize.gif
          225 kB

        Issue Links

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

          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