-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Apps with a custom background flash a white background for a couple frames on some devices #5853
Comments
@1ctinus Is this issue reproducible on previous windows versions/ previous version of .Net Core/ Framework also? |
I compiled the program using msbuild 4.8 and running it on the latest version of dotnet, on a separate device running windows 10. the issue persisted. |
I am also having this exact same issue with win32 too. |
@1ctinus Can you please use Windows feedback channel to take this up. Hopefully, this issue can be closed. |
I'm having the same issue, WPF on DOT NET CORE opens the window slower too, about 2 seconds slower. |
This is a very old known issue of WPF. In fact, this has been annoyance since 2005! The white background flash happens at start up and window resize (including maximizing). This is so obvious with a Window with fairly complex XAML layout with custom title bar using WindowChrome. I can't believe this "bug" is still present in 2023. |
@torum As i already wrote above, this is not a pure WPF issue. The underlying problem is caused by Windows itself. |
I would like to mention this workaround from SO. |
Any updates on this? |
@mhrastegari Could you describe your problem? As same as the author's ? And I think it is the Windows's issues not wpf |
dotnet --info
) 6.0.100winver
) Windows 11 10.0.22000Problem description:
Apps with a custom background flash a white background for a couple frames on some devices (previously asked Stack overflow to no avail, pointed to likely a software issue)
Actual behavior:
Window flashes white before fully loading.
Expected behavior:
Window opens with the correct background color instantly
Minimal repro:
edit MainWindow.xaml to have a background attribute
and run the app.
The text was updated successfully, but these errors were encountered: