Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[117 regression] Some UWP apps not getting keyboard input #3805

Closed
champnic opened this issue Sep 21, 2023 · 3 comments
Closed

[117 regression] Some UWP apps not getting keyboard input #3805

champnic opened this issue Sep 21, 2023 · 3 comments
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.

Comments

@champnic
Copy link
Member

champnic commented Sep 21, 2023

Description

We are investigating an emerging issue in the 117 stable runtime, version 117.0.2045.36+. We believe this is related to having a UWP WebView2 navigated first to a page without a textbox, and then navigating to a page with a textbox (like Google or Bing). At this point the text input won't work, even though you can click with the mouse and it looks like the textbox has focus and a blinking cursor.

This can block textboxes from working properly, key handlers in javascript, and shortcuts like F12 to open DevTools.

Workaround
One workaround a user found was to add a hidden XAML element that can take focus first, and then move focus into the WebView2 when it's done initializing.

Version
SDK: Any
Runtime: 117.0.??.??+ (including stable runtime 117.0.2045.36)
Framework: UWP WinUI2
OS: Any

Regression
Was this working before but has regressed? Yes
If yes, what version did this last work on? 116

AB#46635558

@champnic champnic added the bug Something isn't working label Sep 21, 2023
@champnic champnic self-assigned this Sep 21, 2023
@champnic champnic added regression Something used to work but doesn't anymore tracked We are tracking this work internally. labels Sep 21, 2023
@champnic
Copy link
Member Author

We are working on this issue at the highest priority and aim to have a fix deployed to 117 runtime shortly.

@champnic
Copy link
Member Author

Hey all - It does seem to be due to a change in both the 117 runtime and the 2283 OS version from KB 5030219. We believe we have a root cause for this issue and are working on deploying a fix. The OS team also has a fix that works in newer/insider versions, but that will be slower to rollout. We hope to have this beginning rollout with the next 117 stable runtime on 9/28.

@victorhuangwq
Copy link
Collaborator

Fix now available in latest runtime, as per release note https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes?tabs=dotnetcsharp#102164-prerelease. Closing this issue. Reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

2 participants