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

WebView2 Crashes When Interacting with Input Fields in UWP #9867

Closed
xbOnline opened this issue Aug 1, 2024 · 2 comments
Closed

WebView2 Crashes When Interacting with Input Fields in UWP #9867

xbOnline opened this issue Aug 1, 2024 · 2 comments
Labels
area-External Not owned by the WinUI team, not actionable in this repository. area-WebView bug Something isn't working team-Controls Issue for the Controls team

Comments

@xbOnline
Copy link

xbOnline commented Aug 1, 2024

Describe the bug

I am experiencing several issues with the WebView2 control in a UWP application related to input fields:

Input Chinese Characters: When I input Chinese characters in any field, it works as expected.

Focus Loss Behavior: After the focus leaves the field, it should still be able to trigger the Chinese input method (IME). However, pressing the space key after losing focus causes unexpected behavior.

Mouse Click Focus Issue: When I click on the field with the mouse, it fails to gain focus, which leads to the entire WebView2 control crashing.

Steps to reproduce the bug

1.Input Chinese characters in any .
2.When the focus leaves, it should still be able to trigger the Chinese input method, and then press the space key.
3.Clicking on the with the mouse does not allow it to gain focus, causing the entire WebView2 to crash.

Expected behavior

No response

Screenshots

Video_2024-08-01_155834

NuGet package version

WinUI 2 - Microsoft.UI.Xaml 2.8.2

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@xbOnline xbOnline added the bug Something isn't working label Aug 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Aug 1, 2024
@codendone codendone added area-WebView team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Aug 7, 2024
@ranjeshj
Copy link
Contributor

@xbOnline does the webpage crash? If so, this should go to the WebView2 feedback here - https://github.com/MicrosoftEdge/WebView2Feedback.

Also, we are not making any changes to WinUI2. Does this repro in WinUI3 as well ?

@ranjeshj ranjeshj added the area-External Not owned by the WinUI team, not actionable in this repository. label Aug 22, 2024
@xbOnline
Copy link
Author

@xbOnline does the webpage crash? If so, this should go to the WebView2 feedback here - https://github.com/MicrosoftEdge/WebView2Feedback.

Also, we are not making any changes to WinUI2. Does this repro in WinUI3 as well ?

The bug appeared in UWP, but it has been resolved. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-External Not owned by the WinUI team, not actionable in this repository. area-WebView bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants