You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Rust development its common to type xx::Xx, however this occasionally triggers a language switch right before X is inputted (which is normally done by Lshift) and it's annoying.
Steps to Reproduce
After some digging I found this key sequence can reproduce the problem steadily:
WARNING: Running setxkbmap against an Xwayland server
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
Current value of XDG_CONFIG_HOME is ~/.config (/home/mivik/.config).
Fcitx5 Settings Directory:
Current fcitx5 settings directory is ~/.config/fcitx5 (/home/mivik/.config/fcitx5).
Current user:
The script is run as mivik (1000).
Fcitx State:
executable:
Found fcitx5 at /usr/bin/fcitx5.
version:
Fcitx version: 5.1.12
process:
Found 1 fcitx5 process:
126894 fcitx5
fcitx5-remote:
fcitx5-remote works properly.
DBus interface:
Using dbus-send to check dbus.
Owner of DBus name org.fcitx.Fcitx5 is :1.290.
PID of DBus name org.fcitx.Fcitx5 owner is 126894.
Debug information from dbus:
Group [wayland:] has 7 InputContext(s)
IC [ea2b31024b0f46088c482fe052a3a0fa] program:org.kde.konsole frontend:wayland cap:60 focus:1
IC [eff15dd6eb004cd2bdcd02f49aaad8f3] program:com.obsproject.Studio frontend:wayland cap:d0060 focus:0
IC [7b7af4f275e04298a4fb13cf988f711b] program:com.obsproject.Studio frontend:wayland cap:80060 focus:0
IC [79f25a464a75485385e201b839fbe44d] program:org.kde.dolphin frontend:wayland cap:80060 focus:0
IC [9003815681c443c69238b21a500338e0] program:vivaldi-stable frontend:wayland cap:80060 focus:0
IC [8b02067852f14aec8a62b0f550e448c2] program:org.kde.konsole frontend:wayland cap:60 focus:0
IC [5aaaf04727b04c6db4b16620fc10169b] program: frontend:wayland cap:60 focus:0
Group [x11::1] has 0 InputContext(s)
Input Context without group
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 xargs -0 -L1 /proc/$PID/environ for a certain process that you find not working.
Xim:
${XMODIFIERS}:
Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.
XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
Found fcitx5 im module for qt6: /usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found unknown fcitx qt module: /usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so.
Found fcitx5 im module for qt: /usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found unknown fcitx qt module: /usr/lib/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so.
Found fcitx5 qt5 module: /usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so.
Found fcitx5 qt6 module: /usr/lib/fcitx5/qt6/libfcitx-quickphrase-editor5.so.
Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland. Cannot find fcitx5 input method module for Qt4.
Classic User Interface
KDE Input Method Panel
DBus Virtual Keyboard
Input Methods:
/home/mivik/.config/fcitx5/profile:
[Groups/0]
# Group Name
Name=Default
# Layout
Default Layout=us
# Default Input Method
DefaultIM=rime
[Groups/0/Items/0]
# Name
Name=keyboard-us
# Layout
Layout=
[Groups/0/Items/1]
# Name
Name=rime
# Layout
Layout=
[GroupOrder]
0=Default
Log:
date:
2025年 03月 01日 星期六 14:35:24 CST
/home/mivik/.config/fcitx5/crash.log:
=========================
Fcitx 5.1.8 -- Get Signal No.: 11
Date: try "date -d @1713794121" if you are using GNU date ***
ProcessID: 20978
fcitx5(+0xe26c)[0x61e5a2b8226c]
/usr/lib/libc.so.6(+0x3c770)[0x733d9ba5a770]
/usr/lib/fcitx5/libcpis-module-im-sogou-ime-ng-fcitx5-kylin-desktop.so(_ZNKSt14default_deleteIN6apache6thrift11concurrency5MutexEEclEPS3_+0x22)[0x733d6ba6db46]
/usr/lib/fcitx5/libcpis-module-im-sogou-ime-ng-fcitx5-kylin-desktop.so(_ZNSt10unique_ptrIN6apache6thrift11concurrency5MutexESt14default_deleteIS3_EED1Ev+0x47)[0x733d6ba6d4f5]
/usr/lib/fcitx5/libcpis-module-im-sogou-ime-ng-fcitx5-kylin-desktop.so(_ZN6apache6thrift11concurrency7Monitor4ImplD1Ev+0x28)[0x733d6ba6d232]
/usr/lib/fcitx5/libcpis-module-im-sogou-ime-ng-fcitx5-kylin-desktop.so(_ZN6apache6thrift11concurrency7MonitorD1Ev+0x34)[0x733d6ba6c6c4]
/usr/lib/libc.so.6(+0x3eb36)[0x733d9ba5cb36]
/usr/lib/libc.so.6(+0x3ec80)[0x733d9ba5cc80]
/usr/lib/libc.so.6(+0x25cd7)[0x733d9ba43cd7]
/usr/lib/libc.so.6(__libc_start_main+0x8a)[0x733d9ba43d8a]
fcitx5(+0xdaf5)[0x61e5a2b81af5]
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.
The text was updated successfully, but these errors were encountered:
Summary
In Rust development its common to type
xx::Xx
, however this occasionally triggers a language switch right beforeX
is inputted (which is normally done by Lshift) and it's annoying.Steps to Reproduce
After some digging I found this key sequence can reproduce the problem steadily:
Outcome:
Expected Behavior
fcitx5 should not switch language
Output of fcitx5-diagnose command
System Info:
uname -a
:lsb_release -a
:lsb_release -d
:/etc/lsb-release
:/etc/os-release
:Desktop Environment:
Desktop environment is
kde
.XDG SESSION TYPE:
Bash Version:
Environment:
DISPLAY:
Keyboard Layout:
setxkbmap
:xprop
:Locale:
All locales:
Current locale:
Directories:
Home:
${XDG_CONFIG_HOME}
:Environment variable
XDG_CONFIG_HOME
is not set.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/mivik/.config
).Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/mivik/.config/fcitx5
).Current user:
The script is run as mivik (1000).
Fcitx State:
executable:
Found fcitx5 at
/usr/bin/fcitx5
.version:
Fcitx version:
5.1.12
process:
Found 1 fcitx5 process:
fcitx5-remote
:fcitx5-remote
works properly.DBus interface:
Using
dbus-send
to check dbus.Owner of DBus name
org.fcitx.Fcitx5
is:1.290
.PID of DBus name
org.fcitx.Fcitx5
owner is126894
.Debug information from dbus:
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
xargs -0 -L1 /proc/$PID/environ
for a certain process that you find not working.Xim:
${XMODIFIERS}
:Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.
XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
Qt:
qt4 -
${QT4_IM_MODULE}
:Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add
export QT_IM_MODULE=fcitx
to your~/.xprofile
. See Input Method Related Environment Variables: QT_IM_MODULE.fcitx5-qt4-immodule-probing
not found.qt5 -
${QT_IM_MODULE}
:Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add
export QT_IM_MODULE=fcitx
to your~/.xprofile
. See Input Method Related Environment Variables: QT_IM_MODULE.It is OK to use qt5 built-in Wayland im module if your compositor fully supports text-input protocol used by qt5.
Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:
qt6 -
${QT_IM_MODULE}
:Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add
export QT_IM_MODULE=fcitx
to your~/.xprofile
. See Input Method Related Environment Variables: QT_IM_MODULE.It is OK to use qt6 built-in Wayland im module if your compositor fully supports text-input protocol used by qt6.
Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:
Qt IM module files:
Found fcitx5 im module for qt6:
/usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.Found unknown fcitx qt module:
/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so
.Found fcitx5 im module for qt:
/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.Found unknown fcitx qt module:
/usr/lib/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
.Found fcitx5 qt5 module:
/usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so
.Found fcitx5 qt6 module:
/usr/lib/fcitx5/qt6/libfcitx-quickphrase-editor5.so
.Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
Cannot find fcitx5 input method module for Qt4.
Gtk:
gtk -
${GTK_IM_MODULE}
:Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add
export GTK_IM_MODULE=fcitx
to your~/.xprofile
. See Input Method Related Environment Variables: GTK_IM_MODULE.It is OK to use gtk built-in Wayland im module if your compositor fully supports text-input protocol used by gtk.
fcitx5-gtk2-immodule-probing
not found.fcitx5-gtk3-immodule-probing
not found.fcitx5-gtk4-immodule-probing
not found.gtk-query-immodules
:gtk 2:
Found
gtk-query-immodules
for gtk2.24.33
at/usr/bin/gtk-query-immodules-2.0
.Version Line:
Failed to find fcitx5 in the output of
/usr/bin/gtk-query-immodules-2.0
Cannot find fcitx5 im module for gtk 2.
gtk 3:
Found
gtk-query-immodules
for gtk3.24.48
at/usr/bin/gtk-query-immodules-3.0
.Version Line:
Failed to find fcitx5 in the output of
/usr/bin/gtk-query-immodules-3.0
Cannot find fcitx5 im module for gtk 3.
Gtk IM module cache:
gtk 2:
Found immodules cache for gtk
2.24.33
at/usr/lib/gtk-2.0/2.10.0/immodules.cache
.Version Line:
Failed to find fcitx5 in immodule cache at
/usr/lib/gtk-2.0/2.10.0/immodules.cache
Cannot find fcitx5 im module for gtk 2 in cache.
gtk 3:
Found immodules cache for gtk
3.24.48
at/usr/lib/gtk-3.0/3.0.0/immodules.cache
.Version Line:
Failed to find fcitx5 in immodule cache at
/usr/lib/gtk-3.0/3.0.0/immodules.cache
Cannot find fcitx5 im module for gtk 3 in cache.
Gtk IM module files:
gtk 2:
All found Gtk 2 immodule files exist.
gtk 3:
All found Gtk 3 immodule files exist.
gtk 4:
All found Gtk 4 immodule files exist.
Configuration:
Fcitx Addons:
Addon Config Dir:
Found fcitx5 addon config directory:
/usr/share/fcitx5/addon
.Addon List:
Found 21 enabled addons:
Found 0 disabled addons:
Addon Libraries:
All libraries for all addons are found.
User Interface:
Found 3 enabled user interface addons:
Input Methods:
/home/mivik/.config/fcitx5/profile
:Log:
date
:/home/mivik/.config/fcitx5/crash.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.
The text was updated successfully, but these errors were encountered: