You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a consistent issue with the official WebView2SampleWinComp example when embedding WebView2 using the ICoreWebView2CompositionController mode. Specifically, when a web page's non-editable element (such as a button) gains focus and I attempt to input Chinese characters (or use another input method), the WebView2's browser process crashes. I am able to receive a notification of the abnormal termination via add_BrowserProcessExited.
Steps to Reproduce:
Run the WebView2SampleWinComp example.
Embed WebView2 in the application using the ICoreWebView2CompositionController mode.
Navigate to https://www.bing.com/ in the embedded WebView2 component.
In the web search box, type some text in Chinese characters.
Click on a non-editable area of the web page.
Attempt to input Chinese characters using an input method (IME).
Observe that the WebView2's browser process crashes.
Expected Behavior:
The browser process should handle input method entries without crashing, even when focused on non-editable elements.
Actual Behavior:
The browser process crashes when a non-editable element is focused and Chinese characters are input using an input method.
Environment:
OS: Windows11/Windows10
WebView2 SDK: 1.0.2592.51
Input Method Editor: MS PinYIn
This is a critical issue for us since it affects all users who rely on input methods for character entry. Any assistance in resolving this problem would be greatly appreciated.
WebView2SampleWinComp
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2592.51
Framework
Win32
Operating System
Windows 11
OS Version
No response
Repro steps
Run the WebView2SampleWinComp example.
Embed WebView2 in the application using the ICoreWebView2CompositionController mode.
Navigate to https://www.bing.com/ in the embedded WebView2 component.
In the web search box, type some text in Chinese characters.
Click on a non-editable area of the web page.
Attempt to input Chinese characters using an input method (IME).
Observe that the WebView2's browser process crashes.
Expected Behavior:
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:
It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment?
WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): <UDF>\EBWebView\Crashpad\reports\. By default, the user data folder is created in the app's folder with a name like <App Exe Name>.exe.WebView2. Refer to Crash Diagnostics for more information.
Thank you for reporting this! I am working on a fix for this and the fix should be in the Edge 129 release in mid-September. I will report here and close the issue when the fix is available in the canary channel.
Actually this should be fixed with the latest version of WebView2 runtime. Please check your installation folder for version number 127.0.xxxx.xx. If the problem persists, please let me know
What happened?
Description:
I am experiencing a consistent issue with the official WebView2SampleWinComp example when embedding WebView2 using the ICoreWebView2CompositionController mode. Specifically, when a web page's non-editable element (such as a button) gains focus and I attempt to input Chinese characters (or use another input method), the WebView2's browser process crashes. I am able to receive a notification of the abnormal termination via add_BrowserProcessExited.
Steps to Reproduce:
Run the WebView2SampleWinComp example.
Embed WebView2 in the application using the ICoreWebView2CompositionController mode.
Navigate to https://www.bing.com/ in the embedded WebView2 component.
In the web search box, type some text in Chinese characters.
Click on a non-editable area of the web page.
Attempt to input Chinese characters using an input method (IME).
Observe that the WebView2's browser process crashes.
Expected Behavior:
The browser process should handle input method entries without crashing, even when focused on non-editable elements.
Actual Behavior:
The browser process crashes when a non-editable element is focused and Chinese characters are input using an input method.
Environment:
OS: Windows11/Windows10
WebView2 SDK: 1.0.2592.51
Input Method Editor: MS PinYIn
This is a critical issue for us since it affects all users who rely on input methods for character entry. Any assistance in resolving this problem would be greatly appreciated.
WebView2SampleWinComp
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2592.51
Framework
Win32
Operating System
Windows 11
OS Version
No response
Repro steps
Run the WebView2SampleWinComp example.
Embed WebView2 in the application using the ICoreWebView2CompositionController mode.
Navigate to https://www.bing.com/ in the embedded WebView2 component.
In the web search box, type some text in Chinese characters.
Click on a non-editable area of the web page.
Attempt to input Chinese characters using an input method (IME).
Observe that the WebView2's browser process crashes.
Expected Behavior:
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: