Skip to content

[Problem/Bug]: PrintAsync returns OtherError after latest update #5499

@DavidM29

Description

@DavidM29

What happened?

I have a ASP .NET Service that creates a windowless webview, navigates to a pdf file and prints it, suddenly the PrintAsync method started returning OtherError. We tested it on multiple printers from multiple machines.

Edit:
Just tested with a fixed runtime version 143.0.3650.139, everything works as expected.

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

144.0.3719.82

SDK Version

1.0.3650.58

Framework

WPF

Operating System

Windows Server, Windows 11

OS Version

22631.6199

Repro steps

  1. Create CoreWebView2Environment.
  2. Create Windowless CoreWebView2Controller: CreateCoreWebView2ControllerAsync(new IntPtr(-3))
  3. Navigate to a Pdf file.
  4. Create PrintSettings and Call PrintAsync in NavigationCompleted event.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

Runtime 143.0.3650.139, SDK 1.0.3650.58

AB#60843626

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