-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[MAUI][dotnet8][Windows] - A blink occurs when opening a new window #26849
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
I have a MDI large application for a Bank in .net Maui, using Pinvoke.SetParent and not able to migrate to .net 8 and 9 because of this behavior. |
Same issue here. This is a breaking change, and it’s blocking me from updating my application. |
I'm also experiencing this flickering issue in a .NET Maui desktop application. This is a significant blocker for updating to .NET 8 and 9, as it creates a poor user experience. |
I’m facing the same issue. I’m trying to migrate from .NET 7 to .NET 8 and having problems with the presentation of new screens. |
In this example, you can open multiple windows by just clicking the button in the default test application. It is really simple to reproduce the issue. It will open multiple windows and you can check the behavior since the pages were in another color. |
@rodirigos The repository you provided is private and we don't have access to it. Could you add it to the public repository or recreate a new sample project for us? Looking forward to your reply! |
Already changed the visibility! |
This issue can be reproduced at the latest 17.13.0 Preview 2.1(9.0.21 & 8.0.100), but it worked fine at .NET7. |
Hey guys, any update about this? We finished a large trading application upgrade to dotnet 8, but we cannot move forward because of this situation. Since .net 7 is out of support, my manager is asking me every day about a beta version using dotnet 8. |
We updated WinUI in each version of .NET MAUI, so this may be a bug that is in WinUI and due to MAUI loading things at launch it makes it more noticeable. Did you run as release mode without the debugger attached? Also, can you enable I wonder if this is just a delay with various hot reload things happening and not actually a release issue. I am sure we pause things at launch to prepare the hot reloads and debuggers. |
Hi. Any update on this problem? |
Morning guys, any update on this? |
Hi. Any update on this? |
Any update about this issue? |
Any update on this issue? |
Description
In .NET 7, windows wait to render the content before opening. In .NET 8 and later, an unintended flicker occurs while loading this content. This flicker comes with a default background.
Steps to Reproduce
1 - Create multiple windows using Application.Current.OpenWindow()
2 - See the blink before opening the content
To check a reprodution, just open this application here
https://github.com/rodirigos/MauiBlinkingTest
It is also happening in Winui directly, but the blink is way faster
microsoft/microsoft-ui-xaml#10259
Link to public reproduction project repository
https://github.com/rodirigos/MauiBlinkingTest
It is also happening directly in WinUI
https://github.com/rodirigos/NewWindowTest
Version with bug
9.0.10 SR1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
7.0.101
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: