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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.2
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:
      Windows. Appears to be a Windows-only problem.
    • Commits:
      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

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              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