使用Colemak时 在某些应用中 按住鼠标右键再按下某些特定键会输入不正常的内容
Closed this issue · 1 comments
Summary
发行版是Archlinux,桌面环境是KDE Plasma(X11)
使用的键盘布局是在系统设置更改的英语(美国),变种英语(Colemak)
在输入框会导致输入奇怪的字符,在游戏中会导致按键不能被游戏捕获
在全新安装的系统可成功复现(使用archinstall安装)
Steps to Reproduce
- 打开任意一个被影响的程序(比如wine explorer)
- 点击路径输入框
- 按住右键,并按下S键(在Colemak布局中应当为R键)
- 此时应当能看到路径栏输入了" ` "或者其他非预期内行为
Expected Behavior
程序得到正常输入
Output of fcitx5-diagnose command
Output
System Info:
-
uname -a
:Linux archlinux 6.10.10-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:17:51 +0000 x86_64 GNU/Linux
-
lsb_release -a
:LSB Version: n/a Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/a
-
lsb_release -d
:Description: Arch Linux
-
/etc/lsb-release
:DISTRIB_ID="Arch" DISTRIB_RELEASE="rolling" DISTRIB_DESCRIPTION="Arch Linux"
-
/etc/os-release
:NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo
-
Desktop Environment:
Desktop environment is
kde
. -
XDG SESSION TYPE:
XDG_SESSION_TYPE='x11'
-
Bash Version:
BASH_VERSION='5.2.32(1)-release'
Environment:
-
DISPLAY:
DISPLAY=':0' WAYLAND_DISPLAY=''
-
Keyboard Layout:
-
setxkbmap
:xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+cn+us(colemak):2+inet(evdev)+capslock(none)+group(sclk_toggle)+terminate(ctrl_alt_bksp)" }; xkb_geometry { include "pc(pc104)" }; };
-
xprop
:_XKB_RULES_NAMES(STRING) = "evdev", "pc104", "cn,us", ",colemak", "grp:sclk_toggle,terminate:ctrl_alt_bksp,caps:none"
-
-
Locale:
-
All locales:
C C.utf8 POSIX en_US.utf8 ja_JP.utf8 zh_CN.utf8
-
Current locale:
LANG=zh_CN.UTF-8 LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C
-
-
Directories:
-
Home:
/home/richard969
-
${XDG_CONFIG_HOME}
:Environment variable
XDG_CONFIG_HOME
is not set.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/richard969/.config
). -
Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/richard969/.config/fcitx5
).
-
-
Current user:
The script is run as richard969 (1000).
Fcitx State:
-
executable:
Found fcitx5 at
/usr/bin/fcitx5
. -
version:
Fcitx version:
5.1.10
-
process:
Found 2 fcitx5 processes:
498162 fcitx5 498868 fcitx5-plasma-t
-
fcitx5-remote
:fcitx5-remote
works properly. -
DBus interface:
Using
dbus-send
to check dbus.Owner of DBus name
org.fcitx.Fcitx5
is:1.11838472
.PID of DBus name
org.fcitx.Fcitx5
owner is498162
.Debug information from dbus:
**含有隐私信息,且认为对于定位issue没有帮助,所以隐藏了这部分。**
Fcitx Configure UI:
-
Config Tool Wrapper:
Found fcitx5-configtool at
/usr/bin/fcitx5-configtool
. -
Config GUI for qt:
Found
fcitx5-config-qt
at/usr/bin/fcitx5-config-qt
. -
Config GUI for kde:
kcmshell5
not found.
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.
-
XIM encoding:
Your LC_CTYPE is set to C whose encoding is not UTF-8. You may have trouble committing strings using XIM.
Qt:
-
qt4 -
${QT4_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
fcitx5-qt4-immodule-probing
not found. -
qt5 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext
-
qt6 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext
-
Qt IM module files:
Found fcitx5 qt5 module:
/usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so
.
Found fcitx5 qt6 module:/usr/lib/fcitx5/qt6/libfcitx-quickphrase-editor5.so
.
Found fcitx5 im module for qt:/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.
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
.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}
:Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-gtk2-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
-
gtk-query-immodules
:-
gtk 2:
Found
gtk-query-immodules
for gtk2.24.33
at/usr/bin/gtk-query-immodules-2.0
.
Version Line:# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.33
Found fcitx5 im modules for gtk
2.24.33
."/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*"
Found
gtk-query-immodules
for gtk2.24.33
at/usr/bin/gtk-query-immodules-2.0-32
.
Version Line:# Created by /usr/bin/gtk-query-immodules-2.0-32 from gtk+-2.24.33
Failed to find fcitx5 in the output of
/usr/bin/gtk-query-immodules-2.0-32
-
gtk 3:
Found
gtk-query-immodules
for gtk3.24.43
at/usr/bin/gtk-query-immodules-3.0
.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.43
Found fcitx5 im modules for gtk
3.24.43
."/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*"
Found
gtk-query-immodules
for gtk3.24.43
at/usr/bin/gtk-query-immodules-3.0-32
.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0-32 from gtk+-3.24.43
Failed to find fcitx5 in the output of
/usr/bin/gtk-query-immodules-3.0-32
-
-
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:# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.33
Found fcitx5 im modules for gtk
2.24.33
."/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*"
Found immodules cache for gtk
2.24.33
at/usr/lib32/gtk-2.0/2.10.0/immodules.cache
.
Version Line:# Created by /usr/bin/gtk-query-immodules-2.0-32 from gtk+-2.24.33
Failed to find fcitx5 in immodule cache at
/usr/lib32/gtk-2.0/2.10.0/immodules.cache
-
gtk 3:
Found immodules cache for gtk
3.24.43
at/usr/lib/gtk-3.0/3.0.0/immodules.cache
.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.43
Found fcitx5 im modules for gtk
3.24.43
."/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*"
Found immodules cache for gtk
3.24.43
at/usr/lib32/gtk-3.0/3.0.0/immodules.cache
.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0-32 from gtk+-3.24.43
Failed to find fcitx5 in immodule cache at
/usr/lib32/gtk-3.0/3.0.0/immodules.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 28 enabled addons:
Anthy 5.1.4 Simplified and Traditional Chinese Translation 5.1.6 Classic User Interface 5.1.10 Clipboard 5.1.10 Cloud Pinyin 5.1.6 DBus 5.1.10 DBus Frontend 5.1.10 Emoji 5.1.10 Fcitx4 Frontend 5.1.10 Full width character 5.1.6 IBus Frontend 5.1.10 Input method selector 5.1.10 Keyboard 5.1.10 KDE Input Method Panel 5.1.10 Status Notifier 5.1.10 Notification 5.1.10 Pinyin 5.1.6 Extra Pinyin functionality 5.1.6 Punctuation 5.1.6 Quick Phrase 5.1.10 Spell 5.1.10 Table 5.1.6 Unicode 5.1.10 DBus Virtual Keyboard 5.1.10 Wayland 5.1.10 Wayland Input method frontend 5.1.10 XCB 5.1.10 X Input Method Frontend 5.1.10
-
Found 0 disabled addons:
-
-
Addon Libraries:
All libraries for all addons are found.
-
User Interface:
Found 3 enabled user interface addons:
Classic User Interface KDE Input Method Panel DBus Virtual Keyboard
Input Methods:
-
/home/richard969/.config/fcitx5/profile
:[Groups/0] # Group Name Name=默认 # Layout Default Layout=us # Default Input Method DefaultIM=pinyin [Groups/0/Items/0] # Name Name=keyboard-us # Layout Layout= [Groups/0/Items/1] # Name Name=pinyin # Layout Layout= [Groups/0/Items/2] # Name Name=anthy # Layout Layout= [GroupOrder] 0=默认
Log:
-
date
:Mon Sep 30 07:04:16 CST 2024
-
/home/richard969/.config/fcitx5/crash.log
:/home/richard969/.config/fcitx5/crash.log
not found.
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.