rime / ibus-rime

【中州韻】Rime for Linux/IBus
https://rime.im
GNU General Public License v3.0
718 stars 103 forks source link

特定应用程序的特定输入框中,回车键输入会直接发送给这个程序 #150

Open tzfljuv opened 1 year ago

tzfljuv commented 1 year ago

环境

桌面环境: GNOME 42.4 (X11) iBus版本: 1.5.26 Rime版本: ibus-rime-1.5.0-3.fc36.x86_64

重现步骤

当前行为

a/A字母不会被输入,应用程序会像接收到回车键输入一样反应(换行 / 直接跳转至页面)

预期行为

a/A字母会被输入,应用程序不会接收到回车键输入


这个问题在rime自带的其它输入方案中也存在,但触发条件有一点差异。

对于朙月拼音,如果输入两个字母再回车就不会触发。

tzfljuv commented 1 year ago

Brave浏览器: 视频

Obsidian: 视频

andy0130tw commented 1 year ago

Actually this could be reproduced on nearly all Chrome/Chromium-based apps I knew of: Chrome 106, Chromium 106, Discord, and the "find" field in VS Code 1.72. (Vivaldi is an interesting exception but I couldn't figure out why.)

I remember seeing this issue since Ubuntu 20.04 even with compiled-by-myself ibus-rime, and the bug has existed at the time Ubuntu 22.04 rolls out.

andy0130tw commented 1 year ago

I found several reported issues on Chromium issue tracker to show that this is not a Rime-specific issue: (not an IBus-specific issue, to my surprise)