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

QSplitter/QGLWIdget flicker when moving handles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 4.7.1, 5.0.0 RC 1
    • Fix Version/s: None
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      OSX 10.6
    • Platform/s:
      Linux/X11, macOS, Windows

      Description

      I am using Qt 4.7.1 on OSX 10.6 and I am having trouble with redraw flicker when putting QGLWidget in a QSplitter.

      The following code shows how to reproduce the problem.

      When moving the first handle, the background (splitter/mainwindow) redraws in gray/white before the QGLWidget redraws in black. With a QWidget, the problem is not visible.

      I have added a second splitter inside the first splitter to show of this redraw latency adds up when moving the second handle.

      I don't known if this is a bug or if there is a solution.

        Attachments

        1. main.cpp
          2 kB
        2. splitter.pro
          0.2 kB
        3. toggle_visible.zip
          1 kB

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              r2d3 David Geldreich
              Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes