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

Windows: Cannot move/redock QDockWidget if it was previously grouped in floating dock widget

XMLWordPrintable

    • 191858abe8cd2681f8f4e9de47819829bf1eaebb (qtbase/5.6, 20.1.2016, 5.6)

      A main window with QMainWindow::GroupedDragging has two dock widgets: Dock A and Dock B. If you do the following sequence, Dock B cannot be moved anymore:

      1. make Dock A floating
      2. add Dock B as a tab of Dock A (by dragging)
      3. remove Dock B from Dock A
      4. Dock B is no longer movable
      5. close Dock B, reopen it
      6. Dock B is now movable but cannot be added to Dock A as a tab

      This can be reproduced with Qt Dock Widgets Example (examples/widgets/mainwindows/mainwindow). Just add dock option QMainWindow::GroupedDragging and follow the steps above.

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

            kleint Friedemann Kleint
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes