Erratic behavior when using input methods #7332

Closed
opened 2026-01-31 01:01:17 +00:00 by claunia · 5 comments
Owner

Originally created by @ghost on GitHub (Apr 8, 2020).

Environment

Windows build number: Microsoft Windows [版本 10.0.18363.720]
Windows Terminal version (if applicable): 0.10.781.0

Any other software? no

Steps to reproduce

Open a terminal with Chinese IME on. Now type any pinyin, e.g. "shili" ("example"), and you see the characters suggested by the IME.

(The cursor bar should appear on the right side as mentioned in issue #3730, but it's a minor bug.)

Then hit backspace 5 times to clear the input.

Expected behavior

What you just typed in the IME should be deleted and the IME suggestion box should be closed. There shouldn't be any side effects.

Actual behavior

The suggestion box closes, but an unexpected "s" remains. What's more, while English input is still fine, you're no longer able to use IME to type in this terminal window: the suggestion box works but nothing appears in the terminal.

image

This also happens when you interrupt the IME, for example by clicking elsewhere, before accepting the characters.

Originally created by @ghost on GitHub (Apr 8, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [版本 10.0.18363.720] Windows Terminal version (if applicable): 0.10.781.0 Any other software? no ``` # Steps to reproduce Open a terminal with Chinese IME on. Now type any pinyin, e.g. "shili" ("example"), and you see the characters suggested by the IME. ![](https://github.com/Knowif/Repo-Demo/blob/master/%E6%89%B9%E6%B3%A8%202020-04-08%20132257.png?raw=true) (The cursor bar should appear on the right side as mentioned in issue #3730, but it's a minor bug.) Then hit backspace 5 times to clear the input. <!-- A description of how to trigger this bug. --> # Expected behavior What you just typed in the IME should be deleted and the IME suggestion box should be closed. There shouldn't be any side effects. # Actual behavior The suggestion box closes, but an unexpected "s" remains. What's more, while English input is still fine, you're *no longer able to use IME to type in this terminal window*: the suggestion box works but nothing appears in the terminal. ![image](https://user-images.githubusercontent.com/26539617/78748159-de9ed900-799d-11ea-95a8-499c10a8951c.png) This also happens when you interrupt the IME, for example by clicking elsewhere, before accepting the characters.
claunia added the Resolution-Duplicate label 2026-01-31 01:01:17 +00:00
Author
Owner

@skyline75489 commented on GitHub (Apr 8, 2020):

This is a known issue. Related to #5054 and #5110 .

@skyline75489 commented on GitHub (Apr 8, 2020): This is a known issue. Related to #5054 and #5110 .
Author
Owner

@ghost commented on GitHub (Apr 8, 2020):

@skyline75489 Thanks for replying! I see now it's a duplicate of #5054 and there seems to be already a fix (#5109). The first-letter thing still exists, though. I'm just a student and I haven't studied much of the source code, but I think I'll fork the repo and try to build and understand it in case my computer hardware permits.

@ghost commented on GitHub (Apr 8, 2020): @skyline75489 Thanks for replying! I see now it's a duplicate of #5054 and there seems to be already a fix (#5109). The first-letter thing still exists, though. I'm just a student and I haven't studied much of the source code, but I think I'll fork the repo and try to build and understand it in case my computer hardware permits.
Author
Owner

@skyline75489 commented on GitHub (Apr 8, 2020):

@Knowif Glad to hear that. A good practice before submitting an issue would be checking if there's any duplicate. Contributing is also welcomed.

@skyline75489 commented on GitHub (Apr 8, 2020): @Knowif Glad to hear that. A good practice before submitting an issue would be checking if there's any duplicate. Contributing is also welcomed.
Author
Owner

@zadjii-msft commented on GitHub (Apr 8, 2020):

Thanks for the triage pass @skyline75489!

@Knowif since you're thinking this looks like a dupe of #5054, I'm going to resolve this issue as such. If this ends up coming back after 0.11 comes out, then feel free to ping us here and we can re-open to continue the investigation. Thanks!

/dupe #5054

@zadjii-msft commented on GitHub (Apr 8, 2020): Thanks for the triage pass @skyline75489! @Knowif since you're thinking this looks like a dupe of #5054, I'm going to resolve this issue as such. If this ends up coming back after 0.11 comes out, then feel free to ping us here and we can re-open to continue the investigation. Thanks! /dupe #5054
Author
Owner

@ghost commented on GitHub (Apr 8, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 8, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7332