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

Fixes DialogHost visibility on VM disconnect (#3069) #3092

Merged
merged 2 commits into from
Feb 20, 2023

Conversation

tblong
Copy link
Contributor

@tblong tblong commented Feb 17, 2023

Fixes #3069

On reconnect to a VM where a DialogHost's popup was previously visible, the DialogHost.IsOpen property would remain true in the DialogHost.Loaded event handler however the popup's IsOpen property would be false. This fix ensures the two properties match and the position of the popup remains consistent on reconnect to the VM where the application is running.

@Keboo Keboo added this to the 4.8.0 milestone Feb 17, 2023
@Keboo Keboo added the release notes Items are likely to be highlighted in the release notes. label Feb 17, 2023
@tblong
Copy link
Contributor Author

tblong commented Feb 17, 2023

Just asking to see whether it might be considered to get this included in a v4.7.2 patch if you think v4.8 might be a while.

Reverted change to make sure that we remove dead weak references.
@Keboo Keboo enabled auto-merge (squash) February 20, 2023 05:11
@Keboo
Copy link
Member

Keboo commented Feb 20, 2023

Hi @tblong thank you very much for this. I threw in a UI test to cover this to ensure we don't break this behavior in the future.
As for a release, I am planning on get 4.8.0 out fairly soon (possibly in the next week). If you need it sooner, this fix should go out in tonight's preview NuGet package for 4.8.0

@Keboo Keboo merged commit ef7214b into MaterialDesignInXAML:master Feb 20, 2023
@tblong tblong deleted the fix3069 branch February 21, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes Items are likely to be highlighted in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DialogHost | Dialog no longer visible if disconnected-then-reconnect to VM running application
2 participants