Using the context menu in a tab area and then dragging another dock causes the wrong dock to move.
The problems occurs when using the Flag_AlwaysShowTabs option.
Environment
Linux
KDDockWidgets 2.0
Qt 5.15
Steps
Launch the qtwidgets_dockwidgets example with the following options: qtwidgets_dockwidgets -z --allow-switch-tabs-via-menu
Switch to tab DockWidget #3 via the context menu on the tab area
Start dragging DockWidget #2 (or any other widget in a different group)
Expected
The mouse should drag the DockWidget #2.
Actual
The mouse drags the group containing DockWidget #3 and DockWidget #5.
Description
Using the context menu in a tab area and then dragging another dock causes the wrong dock to move. The problems occurs when using the
Flag_AlwaysShowTabs
option.Environment
Steps
qtwidgets_dockwidgets
example with the following options:qtwidgets_dockwidgets -z --allow-switch-tabs-via-menu
DockWidget #3
via the context menu on the tab areaDockWidget #2
(or any other widget in a different group)Expected
The mouse should drag the
DockWidget #2
.Actual
The mouse drags the group containing
DockWidget #3
andDockWidget #5
.