Skip to content

[Problem/Bug]: Saved PDF from print dialog option "Save as PDF" is deleted after WebView2 dispose #5199

Closed
@rvoelkel-nest

Description

@rvoelkel-nest

What happened?

When printing with Save as PDF option, saved PDF file is deleted, after app is closed with WebView2 component.

Happens in my app, in Outlook and also tested with WebView2WpfBrowser from WebView2Samples.

Was working with local installed WebView2 Runtime 105.0.1343.33, but not with current systemwide installed.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

135.0.3179.54

SDK Version

1.0.3179.45

Framework

WPF

Operating System

Windows 11

OS Version

No response

Repro steps

  • Open app with WebView2 content
  • Open print dialog with Ctrl + P
  • Select "Print as PDF"
  • Save PDF
  • Close app
  • Saved PDF is deleted

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymoretrackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions