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

QGLWidgets in a QSplitter cause white artifacts when resized on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 5.4.0 Beta
    • 5.2.1, 5.3.1
    • GUI: OpenGL
    • 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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews