Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.2
-
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
For Gerrit Dashboard: QTBUG-58036 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
181757,5 | Fix dock widget having the wrong parent after a drag | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
181866,3 | Fix dock widget having the wrong parent after a drag | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |