Skip to content

Save dialog is not opening up from PDF viewer #1759

Open
@rajmuthu4

Description

@rajmuthu4

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

Metadata

Metadata

Assignees

No one assigned

    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