Skip to content
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

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

Closed
qiqi233 opened this issue Oct 9, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@qiqi233
Copy link

qiqi233 commented Oct 9, 2024

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 qiqi233 added the bug Something isn't working label Oct 9, 2024
@qiqi233
Copy link
Author

qiqi233 commented Oct 22, 2024

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

@bradp0721
Copy link
Member

@qiqi233 When you get to this spot, can you Spy++ (available in Visual Studio's Tools dropdown menu) to get information about the HWND for the white window you're seeing? Ideally, provide the HWND class name, and process that owns the HWND.

@qiqi233
Copy link
Author

qiqi233 commented Nov 6, 2024

Thank you, but during today's testing, I found that the flashing white no longer exists. Thank you very much. Additionally, the Spy++tool is very useful

@qiqi233 qiqi233 closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants