-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当焦点在 Chrome、Electron 时重启 fcitx5,会导致 Chrome、Electron 不能打开任何菜单 #960
Comments
什么的菜单 |
请贴 fcitx5-diagnose 的输出 |
重启 chromium 的时候能恢复吗 |
包括不限于菜单栏,Chrome书签栏,右键菜单。
fcitx5-diagnoseSystem Info:
Environment:
Fcitx State:
Fcitx Configure UI:
Frontends setup:The environment variable checked by this script only shows the environment under current shell. It is still possible that you did not set the environment to the whole graphic desktop session. You may inspect the actual environment variable of a certain process by using Xim:
Qt:
Gtk:
Configuration:Fcitx Addons:
Input Methods:
Log:
Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc. Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.
不需要重启就能恢复,当然重启也能恢复,切换 bspwm 桌面或打开新窗口后导致出问题的窗口大小变化(平铺wm),出问题的程序会恢复正常。退出 fcitx5 也会恢复。 我怀疑菜单一闪而过是什么导致焦点丢失。 |
@antonchen 如果我什么都不干,光挂机,可以重现吗 |
不需要,正常使用就能重现,可能我右键菜单用得比较频繁才发现的。我目前重现也不是很稳定。 |
我找到了稳定复现的方法,在 Chrome、Electron 激活 Rime 后通过 fcitx5 菜单重启 fcitx5 就会出问题(输入候选框都会一闪而过),焦点脱离 Chrome、Electron 就会恢复。 其它程序没有这个现象如:TelegramDesktop、Remmina 试过,不存在问题。 ------ EDIT ------ ----- EDIT ------ |
This seems not very suitable for client app to use. Other only applies to non-top-level window. Fix #960
试试 master branch |
@antonchen 这个一闪而过的问题我在我们系统上遇到过 |
测试了,已修复。 |
环境比较复杂,我目前不能确定是哪个的问题。
目前同样的环境使用 ibus-rime 没有问题。实际上我准备从 ibus-rime 换到 fcitx5-rime,使用了一会出现了这个问题。
表现出的情况是:Chrome、Electron 中的菜单会因为 fcitx5-rime 或 fcitx5 影响导致打不开(一闪而过),包括不限于菜单栏,Chrome 书签栏,右键菜单。
不能判定触发条件,正常使用十来分钟就会出问题。切换 bspwm 桌面或打开新窗口后,出问题的程序会恢复正常。退出 fcitx5 也会恢复。
我的环境:
Debian testing
bspwm + picom
fcitx5 5.1.7-1
fcitx5-rime 5.1.4-1
Xorg -version
Rime 配置:https://github.com/iDvel/rime-ice
我本机受影响的程序是 Google Chrome、VSCode
The text was updated successfully, but these errors were encountered: