libpinyin / ibus-libpinyin

GNU General Public License v3.0
627 stars 90 forks source link

输入法出现的奇怪问题 #404

Open realhead opened 1 year ago

realhead commented 1 year ago

Fedora 37自带的此输入法。 在中文情况下,先输入一两个中文,然后按Caps Lock切成大写状态输入随便一个大写英文,关闭Caps Lock,此时输入法会重复随便你输入的任何按键,比如,无数个空格,无数个退档。 希望我描述的清晰。

epico commented 1 year ago

请问您使用的是 Wayland 桌面环境吗?

realhead commented 1 year ago

不好意思,本人少用Linux,有些迷惑了,我下载的是标准workstation版本,是否wayland我还不能确定。 Update: Yes, it's wayland...

zhujiali-93tA commented 1 year ago

我也是,从Fedora36就开始了,按下大写键,再按任何键都会一直打印,比如AAAAAAAAACCCCCCCCCCBBBBBBBB...,不会停下来,直到按下Exit为止

ping-wu commented 1 year ago

记得以前也碰过这个问题,但升级到 1.14.91 后就OK了

epico commented 1 year ago

这个问题是在 Wayland 中,重复键的处理方式发生了改变,从而引起的 bug.

epico commented 1 year ago

记得以前也碰过这个问题,但升级到 1.14.91 后就OK了

请问在 Wayland 中,也工作正常吗?

ping-wu commented 1 year ago

Screenshot from 2023-01-05 17-22-40

kateyy commented 10 months ago

I'm seeing the same issue Ubuntu 22.04, 22.10, 23.04, 23.10. Current ibus-libpinyin version is 1.15.4-1

For me it happens a lot with the delete key, sometimes deleting big chunks of my current document. I'm not sure what exact situation is triggering the issue, it's doesn't seem to be exactly the same as described above, because it happens without pressing the delete key. Maybe it's happening at the moment where some suggested characters get removed again from the input when I select a different candidate.

Is there any known workaround (except for switching back to Xorg)? Any more information I could provide to help debugging?