![按键顺序混乱](https://linux22.com/image/861824/%E6%8C%89%E9%94%AE%E9%A1%BA%E5%BA%8F%E6%B7%B7%E4%B9%B1.png)
我正在运行一个较新的 Lubuntu,当后台有任务或其他占用大量 CPU 周期的任务时,我在初始化过程中的窗口中输入时,键盘输入经常会乱序。例如,在浏览器 (Chrome) 中,当它仍在重新绘制其 UI 时。
有人见过这个吗?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
答案1
这可能是 ibus 问题:https://code.google.com/p/chromium/issues/detail?id=410649
简而言之,同步模式下的 ibus 会出现奇怪的情况。该链接底部有一个解决方法,参考https://code.google.com/p/ibus/issues/detail?id=1697#c2:
Also for the record the user can work around the problem by setting
IBUS_ENABLE_SYNC_MODE=1
IBUS_ENABLE_SYNC_MODE=0 ibus-daemon --xim --replace --verbose --- This exhibits the problem.
IBUS_ENABLE_SYNC_MODE=1 ibus-daemon --xim --replace --verbose --- This works fine.
IBUS_ENABLE_SYNC_MODE=0 ibus-daemon --replace --verbose --- This works fine.
IBUS_ENABLE_SYNC_MODE=1 ibus-daemon --replace --verbose --- This works fine.