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

Docking document and anchorable can result in unclosable window #134

Open
Muhahe opened this issue Mar 5, 2020 · 2 comments
Open

Docking document and anchorable can result in unclosable window #134

Muhahe opened this issue Mar 5, 2020 · 2 comments
Labels

Comments

@Muhahe
Copy link
Contributor

Muhahe commented Mar 5, 2020

Hi,

in new 4.0 AD version new posibility to dock dokument panel in floating window you can create a floating window that cannot be closed.

repro steps:

  1. open AD 4.0 MVVMTestApp.exe

  2. open random document
    image

  3. undock document to floating window

  4. drag file stats panel to floating window and dock it as left/top/right/bottom side
    image

Issue 1: the anchorable is missing close/hide button

  1. close document in floating window
    image

Issue 2: floating window is missing close button

@Dirkster99 Dirkster99 added the bug label Mar 5, 2020
@Dirkster99
Copy link
Owner

Dirkster99 commented Mar 5, 2020

I can verify both issues. These problems should be fixed but there are some workaround solutions to close the Floating File Stats Tool in the meantime.

You can either:

  • drag the File Stats Tool back into the mainwindow and dock it into an outer docking position (normal hide buttons are available now) or
  • you can drag on the document tab of the floating File Stats Tool (as indicated by the red arrow in the screenshot below) to make the missing buttons re-appear
    Untitled

The discussion in issue 117 is probably related. We might have to undo the quick fix and go for the full implementation for the next release ...

@Simmy07
Copy link

Simmy07 commented Jul 16, 2020

LayoutAnchorable has a property called CanDockAsTabbedDocument which could help to solve this issue. However, it introduces one more side effect - there is no way to intermix documents and anchorables in a floating windows.

Is there any way to have both document and anchorable together in a floating window, but still each of them being a document and anchorable (this means each of them still gets a proper style and do not introduce ugly CanClose side effects) ?

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

3 participants