-
Notifications
You must be signed in to change notification settings - Fork 676
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
webview2 flicking #10011
Comments
We are seeing this same issue. There is a sample project https://github.com/stegru/webview-poc which demonstrates the issue |
I can also verify that I saw this in the WinUI Gallery app 2.4.3 on 23H2 22631.4169 when switching to the WebView2 page, there's a briefest flash of a window. |
I have the same issue, every time it starts it opens a window and closes in milliseconds. |
I've encountered this issue in my project as well, and I also saw it reproduced in the WinUI 3 Gallery. |
Minimal code required: WebView2 webView2 = new WebView2();
webView2.EnsureCoreWebView2Async();
|
Also having this issue while using MAUI, there is also an issue over there for this. |
Can verify too |
Here is the issue on Webview2 GitHub: Looks like it affects more than just WinUI and is at its root a WebView2 issue. |
It seems to be a very obvious excepiton. |
There was a workaround posted in the WebView2 issue: Environment.SetEnvironmentVariable("WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS", "--window-size=0,0 --window-position=20000,20000"); |
Thanks for linking to the Edge issue and workaround, @NicholasChrzan! It certainly looks like the WebView2Runtime issue described in MicrosoftEdge/WebView2Feedback#4834, so I'm closing this bug. |
My microsoft edge webview2 runtime upgrade to 129.0.2792.52, and when create the webview2 instance there may be a white window flicking and close quickly.
The problem reproduction easily, just open the winui3 gallery app and switch to the webview2 demo page.
Here are my reproduction captures bellow:
The text was updated successfully, but these errors were encountered: