MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
449 stars 55 forks source link

[Problem/Bug]: win32C++ Webview2 When loading webpage content, the screen will flash white #4855

Open qiqi233 opened 2 weeks ago

qiqi233 commented 2 weeks ago

What happened?

Flash White:

27

After 1~2s, loading is normal:

330

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Prerelease (Edge Canary/Dev/Beta)

Runtime Version

129.0.2792.79

SDK Version

1.0.2730-prerelease

Framework

Win32

Operating System

Windows 11

OS Version

No response

Repro steps

09110127

When the callback enters "OnCreateCoreWebView2ControllerCompleted", the code will flash white when it executes to line 338

Repros in Edge Browser

Yes, issue can be reproduced in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

qiqi233 commented 2 days ago

Hello, is there a way to solve or avoid this problem?