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

Empty document panes are not removed in non-floating windows #450

Open
fredriks123 opened this issue Aug 27, 2023 · 0 comments
Open

Empty document panes are not removed in non-floating windows #450

fredriks123 opened this issue Aug 27, 2023 · 0 comments

Comments

@fredriks123
Copy link

When documents are placed side by side (creating multiple panes) as below:

image

And any of the documents are made floating, the empty pane is not removed during LayoutRoot.CollectGarbage:

image

This works fine if the same thing is done in a floating window. I believe this is due to the fact that for content that is floating during LayoutRoot.GarbageCollect, the PreviousContainer is not cleared. This check does not take into account that the content has already been placed in a floating window when CollectGarbage is executed.

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

No branches or pull requests

1 participant