Describe the bug
When using the WeChat Input IME (微信输入法) in its Chinese mode, committing text to a TextBox by pressing the Shift key causes the text to be inserted twice.
For example, typing "hello" and then pressing Shift results in "hellohello" appearing in the TextBox.
This issue is specific to the WeChat Input IME. The bug does not occur when using the standard Microsoft Pinyin IME, which behaves correctly under the same conditions.
To Reproduce
- Set the system IME to WeChat Input.
- Switch the IME to its Chinese mode.
- Focus a TextBox in an Avalonia 11.3.4 application.
- Type an English word, e.g., "test".
- Press the Shift key.
- Expected Result: The TextBox contains "test".
- Actual Result: The TextBox contains "testtest".
Expected behavior
When typing an English string (e.g., "hello") in the WeChat Input IME's Chinese mode, pressing the Shift key should commit the text to the TextBox only once.
The expected result should be "hello", not "hellohello".
Avalonia version
Avalonia Version: 11.3.3
OS
Windows
Additional context
JTest.zip
I have attached a minimal project that reproduces the bug. The project contains a single window with a standard TextBox.

Describe the bug
When using the WeChat Input IME (微信输入法) in its Chinese mode, committing text to a TextBox by pressing the Shift key causes the text to be inserted twice.
For example, typing "hello" and then pressing Shift results in "hellohello" appearing in the TextBox.
This issue is specific to the WeChat Input IME. The bug does not occur when using the standard Microsoft Pinyin IME, which behaves correctly under the same conditions.
To Reproduce
Expected behavior
When typing an English string (e.g., "hello") in the WeChat Input IME's Chinese mode, pressing the Shift key should commit the text to the TextBox only once.
The expected result should be "hello", not "hellohello".
Avalonia version
Avalonia Version: 11.3.3
OS
Windows
Additional context
JTest.zip
I have attached a minimal project that reproduces the bug. The project contains a single window with a standard TextBox.