-
Notifications
You must be signed in to change notification settings - Fork 55
[Problem/Bug]: Saved PDF from print dialog option "Save as PDF" is deleted after WebView2 dispose #5199
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
Comments
I find this happens when using the pre release SDK. But stable was ok. Although it stopped showing the small window at top right after print when you can launch from. |
After update to WebView2 135.0.3179.73: open an image via Ctrl-Click in a new window. Choose 'Save image as' from context menu. The file dialog opens. Choose you destination folder and save. A temp file like c2b6a7fc-c5e4-43b7-95d5-43a921535095.tmp is created, but it never become your image file. After WebView dispose the temp file is deleted. Also see #5196 |
Thanks for reporting the issue. I could repro the issue with WPF samples. Opened internal bug to track this issue. |
Possibly due to the same root cause as #5196 |
The fix for #5196 is available in version >= 136.0.3240.37 |
Downloaded 136.0.3240.37 beta from https://www.catalog.update.microsoft.com/Search.aspx?q=x64%20edge. In the context of Java using WebView2 via SWT library: Downloading files via 'Save image as' and 'Save as PDF' do work with 136.0.3240.37 beta. Thanks a lot. |
Thanks for confirming. Closing the issue. |
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
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
The text was updated successfully, but these errors were encountered: