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

DockWidget can not be docked if setFloating is set to true as initial state.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.0.2
    • 5.0.0
    • Widgets: Main Window
    • None
    • Windows. Appears to be a Windows-only problem.
    • dd30f3e65b7fb56f64c992dc5f341a9c5dba6c07, f2fcf75381b08f9bac247fde66604fed685dabb1

      If initial state of a dockwidget is set to be floating then there is no way to make this dock widget dockable.
      Attached example reproduces this.
      Step to reproduce:
      click action Test->adddockWindow1 the dockWidgets cannot be docked to the mainwindow (BUG)

      Click action Test->adddockwindow2 the dockWidgets can be toggled between floating and docked state by doubleclick on its header.

        1. qtbug29012.tar
          10 kB
          Friedemann Kleint
        2. testproject.zip
          5 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-29012
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes