-
Notifications
You must be signed in to change notification settings - Fork 124
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
Arch Linux, hibernate 成功, 然后然后唤醒后, fcitx5 在 wezterm 中切换中文失效 #1030
Comments
我推测多半是 gnome 的 text input v3 实现的问题,fcitx 根本没有任何和待机相关的逻辑。 你可以 WAYLAND_DEBUG=1 wezterm 看看 |
Hi, following is the log i captured when run with
Following is log is after reload fcitx5 config use pressing mouse right button on the system tray icon, fcitx start to working on wezterm. only
Thanks |
Hi, @wengxt , 我又测试了好一阵子了, 我发现, 每次从 hibernate wakeup 之后无法使用 fcitx 切换到中文时, 只需要在托盘点击右键,选择 reload configuration, 中文输入法在 wezterm 就又可以工作了. 我倒是知道在哪里加 hook 来确保在唤醒后自动运行某个脚本, 请教下, 如何在命令行下面执行 谢谢. |
@zw963 fcitx5根本就没有那个菜单项目,你确定你在用fcitx5? |
哦,如果你是 gnome 的話,可能是 gnome-shell 的 text-input-v3 的 bug 点开菜单我认为并没有用,把焦点从 wezterm 移开才是有用的那个。 可能有关的:https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5863 不过我建议你自己单独开一个,我猜锁屏可能就能触发 你可以在后台运行一个
观察 focus:1 的那一行的变化 |
Want to try as you suggested, so, run |
@zw963 did you fully Syu ed? |
正如你说的那样, suspend 也会触发这个问题. 在 suspend 之前, 我运行上面的命令之后, 输出似乎是静止的. (可能 2s 刷新一次, 但是, 内容是一样的) suspend 之后, 再唤醒, 输入法在 wezterm 下失效, 失效后的输出也是静止的, 这是输出.
|
|
Describe the bug
请看 这个 issue.
虽然, 我不认为这是 fcitx 5 的问题 (因为这个问题只发生在 wezterm 上面), 而且, 现在只要 hibernate 然后重启, 一定稳定重现.
参照评论中说的, 设定在在窗口间共享状态为所有, 也无法解决. (见截图)
下面是具体的问题描述:
我使用的 minipc (没有电池), 为了避免关机数据丢失, 我通常会 hibernate.
但是从 hibernate 重新启动后, 如果尝试在已经打开的 wezterm 窗口上面切换输入法, 在 wezterm 上面, 能看到提示 "简" 出来, 但是实际上只能输入英文, 任务栏小标题也显示仍旧还是英文. 但是 fcitx5 在其他 app, 例如: firefox, telegram 上, 工作得好好的.
解决办法为: 关闭所有的 wezterm 窗口, 完全退出 wezterm 进程, 并重新启动 wezterm.
当前 wezterm 唯一跟 im 有关配置是:
Desktop (please complete the following information):
谢谢!
The text was updated successfully, but these errors were encountered: