Description
A customer reported that a pane drag operation can leave the Dock Manager in an inconsistent state when the drag is interrupted before completing normally.
One reproducible scenario is to start dragging a pane, then open the browser context menu while the left mouse button is still held down. After the mouse buttons are released and the context menu is closed, the drag appears finished from the user's perspective, but the Dock Manager does not complete its internal drag lifecycle.
This can impact applications that persist or synchronize layout state based on Dock Manager events.
- version: 2.1.3
- browser: NA
Steps to reproduce
- Create a layout with at least one floating pane.
- Press and hold the left mouse button on the floating pane header.
- Start dragging the pane.
- While still holding the left mouse button, right-click to open the browser context menu.
- Release both mouse buttons.
- Dismiss the context menu.
- Observe the emitted events and drag state.
Result
After the drag operation is interrupted:
paneDragEnd is not fired.
layoutChange is not fired.
- The internal
isDragging flag remains true.
- Applications that rely on
layoutChange to persist or synchronize layout information can become out of sync with the actual layout state.
Expected result
The events are emitted.
Attachments
DockManagerDragDemo.zip

Description
A customer reported that a pane drag operation can leave the Dock Manager in an inconsistent state when the drag is interrupted before completing normally.
One reproducible scenario is to start dragging a pane, then open the browser context menu while the left mouse button is still held down. After the mouse buttons are released and the context menu is closed, the drag appears finished from the user's perspective, but the Dock Manager does not complete its internal drag lifecycle.
This can impact applications that persist or synchronize layout state based on Dock Manager events.
Steps to reproduce
Result
After the drag operation is interrupted:
paneDragEndis not fired.layoutChangeis not fired.isDraggingflag remains true.layoutChangeto persist or synchronize layout information can become out of sync with the actual layout state.Expected result
The events are emitted.
Attachments
DockManagerDragDemo.zip