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

QGLWidgets in a QSplitter cause white artifacts when resized on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.2.1, 5.3.1
    • Fix Version/s: 5.4.0 Beta
    • Component/s: GUI: OpenGL
    • Environment:
      Windows 7, Qt 5.2.1 (binaries with OpenGL), VS2010

      Description

      Resizing a widget containing QGLWidgets in a QSplitter will cause disturbing artifacts. There’s lot of white flickering happening while resizing. This can be reproduced with very simple code:

      QHBoxLayout * layout = new QHBoxLayout();
      QSplitter *splitter = new QSplitter(parent);
      wdgt1 = new QGLWidget();
      wdgt2 = new QGLWidget();
      wdgt3 = new QGLWidget();
      wdgt4 = new QGLWidget();
      splitter->addWidget(wdgt1);
      splitter->addWidget(wdgt2);
      splitter->addWidget(wdgt3);
      splitter->addWidget(wdgt4);
      
      layout->addWidget(splitter);
      

      Attached also full example to reproduce the issue.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            qtcomsupport Qt Support
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews