Skip to content

Drop FloatingDocumentWindow into DocumentPane is not consistent (when FloatingDocumentWindow contains LayoutAnchorable) #132

@Dirkster99

Description

@Dirkster99

Precondition

  • AvalonDock.Layout.config file is not present in MLibTest bin folder
  • LayoutAnchorables can be docked into a LayoutDocument:
    Make sure the line anchorableToShow.CanDockAsTabbedDocument = false; is commented out or not present in LayoutInitializer.BeforeInsertAnchorable(...)

Test Case 1

  • Start MLibTest

  • Open 3 text files via Files>Open
    Untitled

  • Drag & Drop 2 documents out of the MainWindow into a FloatingDocumentWindow
    Untitled1

  • Drag & Drop a LayoutAnchorable (toolwindow) into the FloatingDocumentWindow
    Untitled2

  • Drag & Drop FloatingDocumentWindow into one of the outer drop buttons of the DocumentPane (e.g. Left most drop button)
    Untitled3

  • Result: OK (both documents and the Anchorable are present in the expected position)
    Untitled4

Test Case 2

(same pre-conditions as Test Case 1)

  • Start MLibTest

  • Open 2 text files via Files>Open
    Untitled

  • Drag & Drop 2 documents out of the MainWindow into a FloatingDocumentWindow
    Untitled1

  • Drag & Drop a LayoutAnchorable (toolwindow) into the FloatingDocumentWindow
    Untitled2

  • Drag & Drop FloatingDocumentWindow into the center drop button of the DocumentPane
    Untitled3

  • Result: NOT OK (the Anchorable - Tool 3 in screenshots - is no longer present in the application and cannot be viewed anymore)
    Untitled4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions