Skip to content

[Problem/Bug]: PrintAsync for pdf files prints blank pages #5577

@riscie

Description

@riscie

What happened?

PrintAsync for pdf files prints blank pages. This issue existed in the past (#3779, which was closed).
We are happy to pass any more details or help diagnosing.

Details:

<TargetFramework>net10.0-windows10.0.19041.0</TargetFramework>    
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
Microsoft.Windows.SDK.BuildTools 10.0.28000.1839
Microsoft.WindowsAppSDK 2.0.1
Runtime 147.0.3912.98
Framework .Net10
OS: Windows 11

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

143.0.3650.80

SDK Version

2.0.1

Framework

WinUI3/WinAppSDK

Operating System

Windows 11

OS Version

26100.8246

Repro steps

_WebView.CoreWebView2.Navigate(PathToFile.pdf);
_WebView.CoreWebView2.PrintAsync();

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

142.0.3595.80

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions