Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Dirkster99 opened this issue Feb 27, 2020 · 0 comments
Labels

Comments

@Dirkster99
Copy link
Owner

Dirkster99 commented Feb 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant