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

Details

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

    Description

      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.

      Attachments

        1. qtbug29012.tar
          10 kB
        2. testproject.zip
          5 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes