MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: Enabling AllowHostInputProcessing "breaks" "open with" window

Open
#5,526 0 comments 0 reactions 1 assignee View on GitHub

@venky8951 is already working on this.

Since Apr 23, 2026.

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

Description

What happened?

If I enable AllowHostInputProcessing and then click on any link that would open an "open with" window, the window will open in the background with its own taskbar entry instead of as top window without taskbar entry. As soon as I click on the "open with" taskbar entry it vanishes.

This happens only when starting the app without debugger.

The issue is easily reproduced using the WebView2APISample app without any code changes (see below).

It happens at least with mailto and tel links but I guess it will happen with any kind of link that will cause the "open with" window to open.

I don't have this issue when AllowHostInputProcessing is set to false.

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

145.0.3800.70

SDK Version

1.0.3848.0

Framework

Win32

Operating System

Windows 11

OS Version

10.0.26200

Repro steps
Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

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.