MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Opening a link in DevTools opens a new Edge-like popup window instead of triggering `NewWindowRequested` event

Open
#3,354 1 comment 1 reaction 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
Opening a link in DevTools opens a new Edge-like popup window instead of triggering NewWindowRequested event.

Version
SDK: 1.0.1724-prerelease
Runtime: Evergreen, 111.0.1661.54
Framework: WPF
OS: Win11

Repro Steps

  1. Open DevTools
  2. Click on a link in DevTools' Welcome page

Expected: NewWindowRequested event is triggered.
Actual: New url is opened in a Edge-like popup window.

Screenshots
image

Additional context
In Edge it works properly and a new tab is created when opening a link in DevTools instead of a popup. We'd like to achieve something similar using NewWindowRequested event.

AB#44081368

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 with the WPF WebView2 setup and the DevTools Welcome page behavior described in the report, then trace how the NewWindowRequested event is handled. Done means clicking a DevTools link triggers NewWindowRequested instead of opening an Edge-like popup window.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.