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
48.42k stars 2.88k forks source link

ubuntu22.04 can not type in Chinses Character #14192

Closed aohanhongzhi closed 3 months ago

aohanhongzhi commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

image

Environment

Zed: v0.145.0 (Zed Dev 291d64c803abcf6f6b2df027514e165b4cc76b8f) OS: Linux X11 ubuntu 22.04 Memory: 30.6 GiB Architecture: x86_64

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

Peek 2024-07-11 19-42

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

Zed.log

[Zed.log](https://github.com/user-attachments/files/16176307/Zed.log)

liuyujielol commented 3 months ago

搜狗输入法现在还是fcitx4吧,fcitx4太旧了, fcitx5输入是正常的 sogoupinyin is based on fcitx4, which is old and deprecated. fcitx5 works fine.

aohanhongzhi commented 3 months ago

@liuyujielol 所以你直接使用的是fcitx5原生版本还是搜狗输入法next版本?https://bbs.deepin.org/post/274902

Old-Farmer commented 3 months ago

I use fcitx5 and still have the same problem.

env

image

by the way, Linux Mint is based on Ubuntu 22.04 LTS

fcitx5 version

image

liuyujielol commented 3 months ago

我是Gentoo + KDE Plasma 6.1.2 + Wayland 在kde的设置虚拟键盘里面选择fcitx5

env | grep wayland

WAYLAND_DISPLAY=wayland-0
XDG_SESSION_TYPE=wayland

env | grep fcitx

XMODIFIERS=@im=fcitx
app-i18n/fcitx-5.1.10
app-i18n/fcitx-configtool-5.1.6
app-i18n/fcitx-gtk-5.1.3
app-i18n/fcitx-qt-5.1.5
app-i18n/fcitx-rime-5.1.8

屏幕截图_20240711_222726

ZhaoZuohong commented 3 months ago

I'm using LMDE 6 (based on Debian Bookworm) and have the same problem.

Building from source after reverting commit ec270e344bc7880244324f6ff48d0f756b0849ec solves the problem temporarily.

ConradIrwin commented 3 months ago

Sorry about that! Better fix should be at #14508. Let me know if that doesn't fix it for you.

aohanhongzhi commented 3 months ago

Sorry about that! Better fix should be at #14508. Let me know if that doesn't fix it for you.

I had tested it , and it works for me. good job!