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

Strange white rectangle when QGLWidget is added as a second widget into QSplitter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.0.2
    • None
    • Ubuntu 13.10, 64b system, 5.0.2+dfsg1-7ubuntu11.1

      When QGLWidget is added as a second widget into QSplitter, a strange white rectangle in the left upper corner of MainWindow appears. It is not only a visual error, but also the cursor is changed over this rectangle. The size of the rectangle is independent on the size of widgets or the main window.

      The bug can be triggered by the following code:

      MainWindow::MainWindow(QWidget *parent) :
          QMainWindow(parent)
      {
          QSplitter *splitter = new QSplitter();
      
          splitter->addWidget(new QLabel("Test"));
          splitter->addWidget(new QGLWidget());
      
          setCentralWidget(splitter);
      }
      

        1. QTBUG-36331.tgz
          0.7 kB
          Shawn Rutledge
        2. screenshot.png
          4 kB
          Stanislav Bohm
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jolind Jorgen Lind
            spirali Stanislav Bohm
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes