To reproduce:
- Add a form with two auto-hidden windows - one on the left and one on the right.
- Drag one of the windows by just showing it (do not pin it)
- The floating window will contain both tool windows, instead of just the dragged one.
Workaround:
Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
RadDock1.DockWindow(ToolWindow2, DockPosition.Right)
RadDock1.AutoHideWindows(New DockWindow() {ToolWindow2}, AutoHidePosition.Right)
ToolWindow2.Tag = DockPosition.Right
RadDock1.AutoHideWindow(ToolWindow1)
ToolWindow1.Tag = DockPosition.Left
End Sub
Private Sub RadDock1_FloatingWindowCreated(sender As Object, e As FloatingWindowEventArgs) Handles RadDock1.FloatingWindowCreated
For Each dw As DockWindow In CType(sender, RadDock).DockWindows
If dw.Handle <> CType(sender, RadDock).ActiveWindow.Handle Then
dw.DockState = dw.PreviousDockState
RadDock1.AutoHideWindows(New DockWindow() {dw}, dw.Tag)
End If
Next
End Sub