MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Save dialog is not opening up from PDF viewer

Open
#1,759 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
When we click on Save icon within the PDF viewer of the WebView2 browser, it doesn't open up the Save As dialog. This happens ONLY the first time when we load the WebView2 after installing a client application. If we log off and log in again, the same PDF Viewer opens up the Save As dialog.

Version
Runtime: WebView2 Runtime 93.0.961.52
Framework: WPF
OS: Windows10

Repro Steps

  • Add WebView2 control in any WPF application
  • Load a pdf document (We retrieve PDF content through an API call as byte array and display it through an Object element by converting it to Blob object and linking it to the element through a URL).
  • Run the application and click on the Save icon within PDF viewer
  • Notice you don't get the "Save As" dialog.
  • Exit and execute the application again, click on the Save icon again with the same PDF viewer.
  • Notice you get the "Save As" dialog.
  • So the browser's PDF viewer is not opening up the "Save As" dialog the very first time.

Additional context

AB#36602142

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is identified; begin by reproducing the first-launch failure in a WPF application using the listed WebView2 runtime and PDF-loading steps. Done means the PDF viewer opens the Save As dialog on the first attempt after installation, as it does after restarting or logging in again.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.