MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: WebView2 stops creating new browser windows

Open
#4,288 4 comments 0 reactions 2 assignees View on GitHub

@vbryh-msft is already working on this.

Since Jan 10, 2024.

bug regression
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

Hello!
We've had used webview2 for a year aprox, but recently it's crashing (don't know why) and new webView2 instances created after crashing appears like white window with no content. If restarts the app it works again.
I'll update the report when whe get any info about this.

I've read about ProcessFailed event for listen for the crashes, we're including this in every use of webView2 in the app for gathering info about the issue.
Crash dumps on \EBWebView\crashpad\reports folder and folder of the app are empty.

I've read about it's possible to recreate the WebView2 without restarting the whole app, but I haven't find 'instructions' about this.
What I need is recreate the WebView2 without restarting the whole app, if possible, but I don't know how to make it.

Thanks!

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

Winforms

Operating System

Windows 10, Windows 11

OS Version

No response

Repro steps

Doesn't have

Repros in Edge Browser

No

Regression

Don't know

Last working version (if regression)

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.