-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
bugSomething isn't workingSomething isn't workingregressionSomething used to work but doesn't anymoreSomething used to work but doesn't anymoretrackedWe are tracking this work internally.We are tracking this work internally.
Description
What happened?
When a user taps on a password input field in WebView2, the Windows touch keyboard appears on the wrong monitor (a secondary display) instead of the monitor where the WebView2 host window is located.
This issue was introduced in a recent WebView2 version update. The same application code works correctly with older WebView2 versions.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
142.0.3595.80
SDK Version
No response
Framework
Win32
Operating System
Windows 11
OS Version
26100.7462
Repro steps
- Set up a multi-monitor configuration (e.g., primary monitor at 0,0 and secondary monitor at 2560,0)
- Host a WebView2 control in a native Win32 application on the primary monitor
- Open Microsoft Edge browser (or any other app with an input field) on the secondary monitor
- Click/tap on an input field in the Edge browser on the secondary monitor to give it focus (this makes the secondary monitor the "last active input location")
- Now switch to the WebView2 host application on the primary monitor
- Tap the password input field in WebView2 to trigger the Windows touch keyboard
- Expected: Touch keyboard appears on the primary monitor (same as the WebView2 window)
- Actual: Touch keyboard appears on the secondary monitor (where the Edge browser was focused earlier)
Repros in Edge Browser
Not test for now
Regression
Regression in newer Runtime
Last working version (if regression)
137.0.3296.93
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingregressionSomething used to work but doesn't anymoreSomething used to work but doesn't anymoretrackedWe are tracking this work internally.We are tracking this work internally.