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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.6.2
    • Fix Version/s: 5.6.3, 5.9.0 Beta 2
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:

      Window

    • Commits:
      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

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

          Activity

            People

            • Assignee:
              iamsergio Sergio Martins
              Reporter:
              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