zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.41k stars 3k forks source link

Cannot type Japanese with Google Japanese IME #15409

Open ruine0213 opened 3 months ago

ruine0213 commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When typing Japanese, using Google Japanese IME in my environment, the input characters disappears. It occasionally happened in the previous versions but restarting the app fixed it temporarily. Starting from v0.140.5 this is happening every time and no longer available to use zed.

I attached a screen recording with the comparison with how it normally works.

https://github.com/zed-industries/zed/assets/8445575/492e5ba2-30c6-4ed5-b6b1-41cdc09643c2

https://github.com/zed-industries/zed/issues/13292

Environment

Zed: v0.145.1 (Zed) OS: Linux X11 ubuntu 22.04 Memory: 31.3 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


stalkerg commented 2 months ago

It's not an input problem; the font engine can't draw CJK text.

56789a1987 commented 1 month ago

I have a similar issue with fcitx5-pinyin.

When pressing Space to confirm a Chinese word, it works as expected. When pressing Enter to confirm an English word, it starts a new line without inputing the word.

Peek 2024-09-09 17-09.webm

Environment

Zed: v0.151.2 OS: ArchLinux, KDE Plasma, x11 Architecture: x86_64

stalkerg commented 1 month ago

any update?

ruine0213 commented 4 weeks ago

Sorry, I thought it was the same Issue because it looked like a similar phenomenon. The problem I'm actually aware of is that "when I press Enter to confirm the characters I entered, it goes back to the state before I entered them." The edited mark disappears from the tab, so it's completely rewound. It's probably not a font engine problem