MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: Focus goes haywire when dragging a Visual Studio tool window (VSIX extension) hosting `WebView2CompositionControl`
@venky8951 is already working on this.
Since Feb 25, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
If you drag a Visual Studio tool window that hosts a WebView2CompositionControl, the focus will start to go haywire rapidly shifting between the tool window and something else, locking up the computer and you can't press anything.
https://github.com/user-attachments/assets/d92937b7-8af1-412e-a35e-5d1f7d883a33
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
133.0.3065.69
SDK Version
1.0.3065.39
Framework
WPF
Operating System
Windows 11
OS Version
10.0.26100.0
Repro steps
- Clone https://github.com/segevfiner/Webview2FocusIssueVSIX
- Open the solution and Visual Studio and run it (F5).
- Click View -> Webview2 Focus Issue.
- Drag the newly opened tool window.
- Focus will start to go haywire.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
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.
Assessment
This issue has not been assessed yet.