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

Dragging a dockwidget from a floating group to main window is buggy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.3, 5.9.0 Beta 2
    • 5.6.2
    • Widgets: Main Window
    • None
    • Window
    • 0feeb6f6d2cfaa964763ca1fcab65672812b4eef

    Description

      If you have a floating group window with dock widgets and drag a dock widget and drop to one that's already docked in main window it becomes hidden

      • run examples/widgets/mainwindows/mainwindow
      • enable grouped dragging and disable animated
      • Make two widgets float
      • drag one of those over the other one, so you have a floating group with tabs
      • drag a tab and drop it over an existing dock widget that is docked in main window

      You'll notice the area gets tabs but it doesn't show anything.
      This is because the dock widget we dropped is still parented to the floating group, because QDockAreaLayoutInfo::reparentWidgets() wasn't called.

      Attachments

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

        Activity

          People

            iamsergio Sergio Martins
            iamsergio Sergio Martins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes