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
When using the Windows built-in Chinese IME, the first character typed on the newly focused TextBox failed to display correctly in the TextBox. When using Sogou Chinese IME, the first selected candidate word failed to display in a newly focused TextBox.
To Reproduce
The Windows message behaviors of IME on Windows can be roughly divided into two categories:
As the user inputs, IME-related Windows messages are synchronously passed to the application.
The IME autonomously manages user input. When the user selects a candidate word, the IME submits all IME-related Windows messages to the application together.
1. Synchronous Message Passing
Take Windows built-in Chinese IME as an example.
Focus on an unfocused TextBox.
Type a letter character and observe.
The candidate words have appeared, but the typed letter does not appear in the TextBox.
Continue typing another letter character and observe.
The candidate words have been updated, and a composition string containing the two typed characters appears in the TextBox simultaneously.
Continuing typing, the IME returns to normal.
2. Autonomous Composition
Take Sogou Chinese IME as an example.
Focus on an unfocused TextBox.
Enter a string of any length. The IME autonomously manages user input, so the application cannot grasp the IME's string composition. Therefore, unlike the first scenario, the composed string will not be displayed in the TextBox, which is expected.
Type the space to select the first candidate word and observe.
The selected candidate word does not appear in the TextBox.
Continuing typing, the IME returns to normal.
Expected behavior
The first character or the first selected candidate word should be displayed in a newly focused TextBox.
Describe the bug
When using the Windows built-in Chinese IME, the first character typed on the newly focused TextBox failed to display correctly in the TextBox. When using Sogou Chinese IME, the first selected candidate word failed to display in a newly focused TextBox.
To Reproduce
The Windows message behaviors of IME on Windows can be roughly divided into two categories:
1. Synchronous Message Passing
Take Windows built-in Chinese IME as an example.
2. Autonomous Composition
Take Sogou Chinese IME as an example.
Expected behavior
The first character or the first selected candidate word should be displayed in a newly focused TextBox.
Screenshots
imeissue.mp4
Environment
Additional context
#13881
The text was updated successfully, but these errors were encountered: