Drop FloatingDocumentWindow into DocumentPane is not consistent (when FloatingDocumentWindow contains LayoutAnchorable)
Dirkster99 opened this issue · 0 comments
Precondition
- AvalonDock.Layout.config file is not present in MLibTest bin folder
- LayoutAnchorables can be docked into a LayoutDocument:
Make sure the lineanchorableToShow.CanDockAsTabbedDocument = false;
is commented out or not present in LayoutInitializer.BeforeInsertAnchorable(...)
Test Case 1
-
Start MLibTest
-
Drag & Drop 2 documents out of the MainWindow into a FloatingDocumentWindow
-
Drag & Drop a LayoutAnchorable (toolwindow) into the FloatingDocumentWindow
-
Drag & Drop FloatingDocumentWindow into one of the outer drop buttons of the DocumentPane (e.g. Left most drop button)
-
Result: OK (both documents and the Anchorable are present in the expected position)
Test Case 2
(same pre-conditions as Test Case 1)
-
Start MLibTest
-
Drag & Drop 2 documents out of the MainWindow into a FloatingDocumentWindow
-
Drag & Drop a LayoutAnchorable (toolwindow) into the FloatingDocumentWindow
-
Drag & Drop FloatingDocumentWindow into the center drop button of the DocumentPane
-
Result: NOT OK (the Anchorable - Tool 3 in screenshots - is no longer present in the application and cannot be viewed anymore)