-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fixes #3629 TileControl crashes when moving monitors #3808
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 #3629 TileControl crashes when moving monitors #3808
Conversation
The LoadCompleted event was never unregistering and firing twice when reloaded across monitors causing an issue with the TaskCompletionSource.
Thanks michael-hawker for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
Hello @michael-hawker! Because this pull request has the Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 8 hours. No worries though, I will be back when the time is right! 😉 p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor possible improvement, but the current version is already functionally correct anyway.
Looks great! 🚀
Microsoft.Toolkit.Uwp.UI.Controls.Core/TileControl/TileControl.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Sergio Pedri <[email protected]>
Fixes #3629 TileControl crashes when moving monitors
The LoadCompleted event was never unregistering and firing twice when reloaded across monitors causing an issue with the TaskCompletionSource.
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Would crash when moving between different monitors (of different DPIs?)
What is the new behavior?
No Crash.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information