MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Prevent closing when Print window is visible (more relevant in a embedded control)

Open
#1,513 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Simply put, you can close Microsoft Edge (and thus the webView2 control) even though the Print window is on top. In a normal modular system you would have to dismiss the Print window before you can dismiss the underlying window.

This is not a huge issue (although kinda odd IMHO behaviour for the Print window). But it does become more odd when the control is embedded in a CDialog. If I invoke the Print feature so that the print preview is displaying, I can still terminate my parent dialog. This is odd behaviour for my application which for the most part uses model dialogs.

IMHO, I would be expecting this print window to be model, atleast when it is embedded in a CDialog.

AB#34743331

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

Start by reproducing the issue with WebView2 embedded in a CDialog while the Print preview is visible, then test whether the parent dialog can still close. Done means the visible Print window prevents the underlying or parent dialog from being closed until the Print window is dismissed.

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.