Apps with a custom background flash a white background for a couple frames on some devices
See original GitHub issue- .NET Core Version: (e.g. 3.0 Preview1, or daily build number, use
dotnet --info
) 6.0.100 - Windows version: (
winver
) Windows 11 10.0.22000 - Does the bug reproduce also in WPF for .NET Framework 4.8?:
- Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc…)? If yes, please file the issue via the instructions here.
- Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem 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:
dotnet new wpf
edit MainWindow.xaml to have a background attribute
dotnet build
and run the app.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:8 (4 by maintainers)
Top Results From Across the Web
5 Best Apps to Add White Background to Photos in 2023
1. YouCam Makeup: Best Photo Background Changer App · Make Background White Easily · Add Colorful Backgrounds · Add Trendy Photo Backgrounds ·...
Read more >6 Apps to Make the Background of a Picture White
Some popular photo editing apps that can change the photo background to white include Adobe Photoshop Express, Lightroom, Canva, Snapseed, and Background Eraser ......
Read more >40 Best Photo Editing Apps for iOS and Android in 2023 ...
Here's our curated list of the 40 best photo editing apps for photographers to touch up their images on Android or iPhone.
Read more >Change Image Background Online Free
Change background of photo online in 5 seconds with Fotor's AI background changer. Easily change image background to transparent, solid colors, or photos....
Read more >Best Apps to Change the Background of a Photo (Top 7 in ...
Automatic Background Changer; Simple Background Changer; Superimpose; Apowersoft Background Eraser; Background Eraser; LightX Editor; Facetune ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This also started to happen on my machine like a week ago. It’s does not seem to be isolated to WPF as it also happens with Edge. See (increased gif frame delay to 250 ms to make it really visible):
@torum As i already wrote above, this is not a pure WPF issue. The underlying problem is caused by Windows itself. ControlzEx has code to mitigate the white flash and the resize flickering.