Skip to content

[Problem/Bug]: WebView2 displays a blank page when opening a PDF file with parameter "#zoom=300,400,500" #4788

Open
@lh0328

Description

What happened?

The path carrying parameter of the opened PDF file is "#zoom=300,400,500", and the result is displayed as a blank page, but not all PDF files will be displayed as a blank page. I am very confused about this and do not understand why some PDF files will be displayed as a blank page. Please help me.

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

121.0.2277.128

SDK Version

1.0.2210.55

Framework

Win32

Operating System

Windows 10

OS Version

19045.4651

Repro steps

Call the Navigation method and pass the path "D:\Work\PDFList\ 07000003.pdF #zoom=300,400,500".(PDF file total 2 pages)
The result appears as a blank page.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

AB#53949951

Metadata

Assignees

Labels

bugSomething isn't workingtrackedWe 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