MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Residual URL label remains on screen after intercepting CoreWebView2_NewWindowRequested Event
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
@champnic
Description
After using e.handled = True in the NewWindowRequest event the url label that would normally overlay the new window that is created is still showing up even after the NewWindowRequest is diverted and handled.

Version
SDK:
Runtime:
Framework:
OS:
Repro Steps
Create a handler for NewWindowRequest
Set e.handled = true
Divert window creation to internal application environment method.
Screenshots
Additional context
This looks like the label creation was left out of the e.handled override.
Main Bug: AB#33211348
Doc bug: AB#34068073
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CoreWebView2_NewWindowRequested event flow and reproduce the issue by setting e.handled = True while diverting window creation internally. Trace when the URL label is created or removed during that flow; done means the label no longer remains visible after the request is handled.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100