How to remove the flickering of WinUI3 windows on startup and shutdown #7892
Labels
area-XamlWindow
bug
Something isn't working
needs-triage
Issue needs to be triaged by the area owners
no-issue-activity
team-Rendering
Issue for the Rendering team
Describe the bug
When I developed a WinUI3 screenshot application, I found a problem that I hadn't noticed before,
When the WinUI3 application starts and closes, if the system is the light theme, the flashing is white, and the visual effect is obvious. If the system is the black theme, the flashing is black. This problem may be related to this #5148 issue is somewhat related, but there seems to be no solution to this issue at present.
The application is launched in full screen mode, and the application interface displays a screenshot of the desktop.I personally want the effect to be as clean as the startup effect of the win11 Snipping Tool, or I can set the startup effect of fading in, and it is best to be clean and not flickering when it is closed. Is there any way?
Reference code https://github.com/MrJone2457/ScreenShot
Steps to reproduce the bug
Reference code
https://github.com/MrJone2457/ScreenShot
Expected behavior
No response
Screenshots
https://twitter.com/i/status/1589994651263852544
https://twitter.com/i/status/1590004799248171008
Don't know how to upload videos on github, check the video link on Twitter
NuGet package version
WinUI 3 - Windows App SDK 1.1.5
Windows app type
Device form factor
Desktop
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: