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

QDockWidgets don't work with QGLWidgets in same window

    XMLWordPrintable

Details

    • a199a87ad5452938482291ba5e2995e220678f7d

    Description

      When using QDockWidget on a window with a QGLWidget, the dock widgets fail to work properly. Dragging immediately stops and the widget is completely blank. only redocking gets the content back.

      To reproduce, I just added another dock widget with a QGLWidget to the dockwidgets example code. Note that the same bug appears if the widget is the central widget as well (this was just easier to program).

      void MainWindow::createDockWindows()
      {

      ...

      dock = new QDockWidget(tr("GL"), this);
      QGLWidget *gl = new QGLWidget(dock);
      dock->setWidget(gl);
      addDockWidget(Qt::RightDockWidgetArea, dock);
      }

      A related bug: QTBUG-33581

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            smellslikedonkey Tod Baudais
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes