MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Bug]: ProcessFailed during disposal when a print dialog is open

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

@vbryh-msft is already working on this.

Since Jan 23, 2024.

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

Description

What happened?

When a print dialog is open and a WebView2 instance is disposed, the ProcessFailed event is raised, and all web views crash.

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

120.0.2210.91, 120.0.2210.144

SDK Version

1.0.1722.45, 1.0.2164.0

Framework

WPF

Operating System

Windows 11

OS Version

10.0.22621

Repro steps
  1. Clone and run the WebView2WpfBrowser.
  2. Using the top menu, click on Window -> New Window to create a 2nd window.
  3. Navigate to the https://output.jsbin.com/xizowusota/ and click on the "Print button".
  4. Wait for the print dialog to appear and fully load.
  5. Using the top menu, click on the Window -> New Window.
  6. Observe the WebView2 process crashing.

webview2_crash_print

Repros in Edge Browser

No

Regression

No, this never worked

Last working version (if regression)

No response

AB#48635651

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.