MicrosoftEdge / MicrosoftEdge/WebView2Feedback

File downloaded in popup opens behind current window

Open
#3,393 7 comments 0 reactions 1 assignee View on GitHub

@vickiez is already working on this.

Since Apr 17, 2023.

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

Description

Description
Saving as PDF from a popup window

Version
WebView2 Runtime Version: 112.0.1722.39
WebView2 SDK Build: 1661.34
Framework: Win32 MFC Dialog
OS: Win10, Win11

Repro Steps

  1. Load a HTML file into the browser control.
  2. Display the same file in a popup window (maximized to the monitor) using JavaScript only.
  3. Do not use the NewWindowRequested event. So pure JavaScript.
  4. Right-click the popup window and select Print.
  5. Make sure Save as PDF is selected and click to Save.
  6. Specify where to save and accept.
  7. Hover over Open that shows in the download window on the right.

Now, for me, when it displays the PDF is is displayed underneath the popup window and not on top of it. If I move the popup window I can see it underneath. I expected this PDF view to display on top of the popup window and not the underlying browser control.

AB#44209592

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.