iDvel / rime-ice

Rime 配置:雾凇拼音 | 长期维护的简体词库
https://dvel.me/posts/rime-ice/
GNU General Public License v3.0
10.02k stars 660 forks source link

有时在rime中无法输入中文,无法切换任何输入法;但重启fcitx5可以暂时修复 #447

Closed kamikaze211 closed 1 year ago

kamikaze211 commented 1 year ago

我使用的是archlinux,几乎每天都会更新系统。 我使用的fcitx5,其下设有三种语言:英文、中文(rime-ice,雾凇输入法)、日文(mozc)。 目前日文切换不存在问题,所以我想问题可能出在rime上。 问题发生时,无法通过ctrl+`切换,在输入法面板按钮上也无法通过鼠标切换。但在重新启动输入法后,问题又能暂时修复。 因此我通过绑定快捷键(killall -9 fcitx5 ; fcitx5)来临时杀死fcitx5进程,又重开得以暂时解决,但我不知道如何去排查这个问题。 补充:是今天突然出现的问题,已重启电脑,问题依旧。

与fcitx和rime相关的包如下: fcitx5 fcitx5-chinese-addons fcitx5-configtool fcitx5-gtk fcitx5-material-color fcitx5-mozc fcitx5-nord fcitx5-qt fcitx5-rime fcitx5-rime librime librime-data perl python-typing_extensions rime-bopomofo rime-cangjie rime-essay rime-ice-pinyin-git rime-luna-pinyin rime-prelude rime-stroke rime-terra-pinyin

以下是我fastfetch打印出的系统信息: OS: Arch Linux x86_64 Kernel: 6.4.11-zen2-1.1-zen Uptime: 1 hour, 19 mins Packages: 1952 (pacman) Shell: bash 5.1.16 Display: 3440x1440 @ 165Hz DE: KDE Plasma 5.27.7 WM: KWin (Wayland) WM Theme: Lavanda-Dark Theme: kvantum-dark (LavandaDark) [QT], Materia-dark-compact [GTK2/3/4] Icons: Colloid-pink-dark [QT], Colloid-pink-dark [GTK2/3/4] Font: 更纱黑体 SC (16pt) [QT], 更纱黑体 SC (16pt) [GTK2/3/4] Cursor: WhiteSur (36px) Terminal: konsole 23.4.3 Terminal Font: Monospace (22pt) CPU: 12th Gen Intel(R) Core(TM) i5-12400 (12) @ 4.4 GHz GPU 1: Intel UHD Graphics 730 GPU 2: AMD Radeon RX 6600 XT Memory: 7.04 GiB / 31.06 GiB (22%) Disk (/): 56.98 GiB / 196 GiB (29%) Disk (/home): 707 GiB / 2 TiB (41%) Disk (/run/media/zzy/HDD2): 1 TiB / 2 TiB (61%) Disk (/run/media/zzy/Recovery): 282 GiB / 932 GiB (30%) Locale: en_US.UTF-8

dilokomi commented 1 year ago

/tmp 日志发一下

kamikaze211 commented 1 year ago

/tmp 日志发一下

全部日志如下:

fcitx5 I2023-08-20 15:59:31.952107 instance.cpp:1314] Override Enabled Addons: {} I2023-08-20 15:59:31.952141 instance.cpp:1315] Override Disabled Addons: {} I2023-08-20 15:59:31.954806 xcbconnection.cpp:185] Connecting to X11 display, display name::1. I2023-08-20 15:59:31.954827 xcbconnection.cpp:190] X11 display: :1 is xwayland. I2023-08-20 15:59:31.954864 addonmanager.cpp:193] Loaded addon xcb I2023-08-20 15:59:31.955727 addonmanager.cpp:193] Loaded addon quickphrase I2023-08-20 15:59:31.955825 addonmanager.cpp:193] Loaded addon imselector I2023-08-20 15:59:31.958517 addonmanager.cpp:193] Loaded addon keyboard I2023-08-20 15:59:31.959402 addonmanager.cpp:193] Loaded addon dbus I2023-08-20 15:59:31.964683 addonmanager.cpp:193] Loaded addon fcitx4frontend I2023-08-20 15:59:31.965157 addonmanager.cpp:193] Loaded addon ibusfrontend I2023-08-20 15:59:31.965495 addonmanager.cpp:193] Loaded addon xim I2023-08-20 15:59:31.974322 addonmanager.cpp:193] Loaded addon wayland I2023-08-20 15:59:31.974765 addonmanager.cpp:193] Loaded addon dbusfrontend I2023-08-20 15:59:31.975067 addonmanager.cpp:193] Loaded addon clipboard I2023-08-20 15:59:31.975376 addonmanager.cpp:193] Loaded addon waylandim I2023-08-20 15:59:31.975584 addonmanager.cpp:193] Loaded addon unicode I2023-08-20 15:59:31.976037 addonmanager.cpp:193] Loaded addon pinyinhelper I2023-08-20 15:59:31.997887 inputmethodmanager.cpp:198] Found 735 input method(s) in addon keyboard I2023-08-20 15:59:32.013956 addonmanager.cpp:193] Loaded addon kimpanel I2023-08-20 15:59:32.014160 addonmanager.cpp:193] Loaded addon virtualkeyboard I2023-08-20 15:59:32.038485 classicui.cpp:59] Created classicui for x11 display::1 I2023-08-20 15:59:32.038534 classicui.cpp:80] Created classicui for wayland display: I2023-08-20 15:59:32.038543 addonmanager.cpp:193] Loaded addon classicui I2023-08-20 15:59:32.038855 addonmanager.cpp:193] Loaded addon notificationitem I2023-08-20 15:59:32.039068 addonmanager.cpp:193] Loaded addon notifications I2023-08-20 15:59:32.039517 kimpanel.cpp:113] Kimpanel new owner: I2023-08-20 15:59:32.039531 virtualkeyboard.cpp:220] VirtualKeyboard new owner: I2023-08-20 15:59:33.244805 addonmanager.cpp:193] Loaded addon rime I2023-08-20 16:21:44.843372 addonmanager.cpp:193] Loaded addon mozc I2023-08-20 17:17:35.966402 instance.cpp:1175] Running autosave... I2023-08-20 17:17:35.982228 instance.cpp:1177] End autosave ^C========================= Fcitx 5.1.0 -- Get Signal No.: 2 Date: try "date -d @1692523400" if you are using GNU date *** ProcessID: 59314 fcitx5(+0xf431)[0x55c25648b431] /usr/lib/libc.so.6(+0x3e710)[0x7ff66ac3e710] /usr/lib/libc.so.6(epoll_wait+0x56)[0x7ff66ad11226] /usr/lib/libsystemd.so.0(sd_event_wait+0x2d5)[0x7ff66b3d2b55] /usr/lib/libsystemd.so.0(sd_event_run+0x2c4)[0x7ff66b3d4604] /usr/lib/libsystemd.so.0(sd_event_loop+0xe0)[0x7ff66b3d4860] /usr/lib/libFcitx5Utils.so.2(_ZN5fcitx9EventLoop4execEv+0x16)[0x7ff66b53abb6] /usr/lib/libFcitx5Core.so.7(_ZN5fcitx8Instance4execEv+0x57)[0x7ff66b618177] fcitx5(+0xd867)[0x55c256489867] /usr/lib/libc.so.6(+0x27cd0)[0x7ff66ac27cd0] /usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7ff66ac27d8a] fcitx5(+0xeca5)[0x55c25648aca5] I2023-08-20 17:23:20.222921 addonmanager.cpp:299] Unloading addon mozc I2023-08-20 17:23:20.223151 addonmanager.cpp:299] Unloading addon rime I2023-08-20 17:23:20.380628 addonmanager.cpp:299] Unloading addon notifications I2023-08-20 17:23:20.380657 addonmanager.cpp:299] Unloading addon notificationitem I2023-08-20 17:23:20.380691 addonmanager.cpp:299] Unloading addon classicui I2023-08-20 17:23:20.382364 addonmanager.cpp:299] Unloading addon virtualkeyboard I2023-08-20 17:23:20.382388 addonmanager.cpp:299] Unloading addon kimpanel I2023-08-20 17:23:20.382401 addonmanager.cpp:299] Unloading addon pinyinhelper I2023-08-20 17:23:20.382417 addonmanager.cpp:299] Unloading addon unicode I2023-08-20 17:23:20.382431 addonmanager.cpp:299] Unloading addon waylandim I2023-08-20 17:23:20.382456 addonmanager.cpp:299] Unloading addon clipboard I2023-08-20 17:23:20.382547 addonmanager.cpp:299] Unloading addon dbusfrontend I2023-08-20 17:23:20.382574 addonmanager.cpp:299] Unloading addon wayland I2023-08-20 17:23:20.382610 addonmanager.cpp:299] Unloading addon xim I2023-08-20 17:23:20.383636 addonmanager.cpp:299] Unloading addon ibusfrontend I2023-08-20 17:23:20.387522 addonmanager.cpp:299] Unloading addon fcitx4frontend I2023-08-20 17:23:20.387683 addonmanager.cpp:299] Unloading addon dbus I2023-08-20 17:23:20.387730 addonmanager.cpp:299] Unloading addon keyboard I2023-08-20 17:23:20.387798 addonmanager.cpp:299] Unloading addon imselector I2023-08-20 17:23:20.387809 addonmanager.cpp:299] Unloading addon quickphrase I2023-08-20 17:23:20.387892 addonmanager.cpp:299] Unloading addon xcb I2023-08-20 17:23:20.387900 inputcontextmanager.cpp:358] All display connections are gone, exit now.

在手动退出前,日志如下:

I2023-08-20 17:17:35.966402 instance.cpp:1175] Running autosave... I2023-08-20 17:17:35.982228 instance.cpp:1177] End autosave

同时我在fcitx5-rime项目下也提交了issue,得到了这个答复: https://github.com/fcitx/fcitx5-rime/commit/143cff9fc69e193dc83baa04019e80ba23820046

我不确定这是不是目前版本的BUG,或许应该等待修复?