[Problem/Bug]: focus
event does not trigger when switching to the window using alt+tab
#4626
Labels
bug
Something isn't working
focus
event does not trigger when switching to the window using alt+tab
#4626
What happened?
One of our frontend site relies on
focus
event to function properly, but I observe that it does NOT trigger when switching from other window to the webview2 window usingalt
+tab
keys.Related issue #4420 (also having issues with
focus
event). This issue is much more serious tho, since it's about the event does not trigger instead of triggered twice. This issue does NOT happen in edge. Cef are also having bugs, but it does trigger the event.Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
125.0.2535.92
SDK Version
No response
Framework
Win32
Operating System
Windows 10, Windows 11
OS Version
No response
Repro steps
index.html
with this:alt+tab
key. See thefocus
event it NOT triggered.Edge:
2024-06-13.10-56-40.mp4
WebView2:
2024-06-13.10-58-12.mp4
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
The text was updated successfully, but these errors were encountered: