ibus-rime icon indicating copy to clipboard operation
ibus-rime copied to clipboard

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

Open tzfljuv opened this issue 1 year ago • 3 comments

环境

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

重现步骤

  • 关闭inline_preedit
# ibus_rime.custom.yaml
patch:
  style/inline_preedit: false
  • Obsidian的编辑模式 / Brave浏览器的地址栏里使用朙月拼音
  • 仅输入单个字母,例如一个a或者A(Shift+a)
  • 按下回车

当前行为

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

预期行为

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


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

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

tzfljuv avatar Aug 27 '22 09:08 tzfljuv

Brave浏览器: 视频

Obsidian: 视频

tzfljuv avatar Aug 27 '22 09:08 tzfljuv

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 avatar Oct 17 '22 16:10 andy0130tw

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)

andy0130tw avatar Dec 24 '22 20:12 andy0130tw