fcitx / fcitx5

maybe a new fcitx.
1.55k stars 115 forks source link

can not type low case Z #1091

Open namdiablo opened 1 month ago

namdiablo commented 1 month ago

Summary

When I type lower case Z, the input method preview pop up. When I change different input method then press Z, the pop up appears then the input method switch to default. The attachment is what happens when I press Z. I tried to reinstall, reset settings to default but no luck. When I switch back to default input (not virtual keyboad), things works fine. help

Steps to Reproduce

  1. Press Z
  2. Current input method show up
  3. Can't type lower case Z

Expected Behavior

Lower case Z appears when I press Z ??

Output of fcitx5-diagnose command

╰─λ LC_ALL=C fcitx5-diagnose

System Info:

  1. uname -a:

Linux cress-lx 6.9.7-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:27 +0000 x86_64 GNU/Linux

  1. lsb_release -a:

LSB Version: n/a Distributor ID: Garuda Description: Garuda Linux Bird of Prey Release: Soaring Codename: BirdOfPrey

  1. lsb_release -d:

Description: Garuda Linux Bird of Prey

  1. /etc/lsb-release:

DISTRIB_ID=Garuda DISTRIB_RELEASE=Soaring DISTRIB_DESCRIPTION="Garuda Linux Bird of Prey" DISTRIB_CODENAME="BirdOfPrey"

  1. /etc/os-release:

NAME="Garuda Linux" PRETTY_NAME="Garuda Linux" ID=garuda ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://garudalinux.org/" DOCUMENTATION_URL="https://wiki.garudalinux.org/" SUPPORT_URL="https://forum.garudalinux.org/" BUG_REPORT_URL="https://gitlab.com/groups/garuda-linux/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=garudalinux

  1. Desktop Environment:

Desktop environment is kde.

  1. XDG SESSION TYPE:

XDG_SESSION_TYPE='wayland'

  1. Bash Version:

BASH_VERSION='5.2.26(1)-release'

Environment:

  1. DISPLAY:

DISPLAY=':1'

WAYLAND_DISPLAY='wayland-0'

  1. Keyboard Layout:

  2. setxkbmap:

WARNING: Running setxkbmap against an Xwayland server xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete+japan" }; xkb_symbols { include "pc+jp+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; };

  1. xprop:

_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "jp", "", ""

  1. Locale:

  2. All locales:

C C.utf8 POSIX en_US.utf8 ja_JP.utf8

  1. Current locale:

LANG=en_US.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

  1. Directories:

  2. Home:

/home/cress

  1. ${XDG_CONFIG_HOME}:

Environment variable XDG_CONFIG_HOME is not set.

Current value of XDG_CONFIG_HOME is ~/.config (/home/cress/.config).

  1. Fcitx5 Settings Directory:

Current fcitx5 settings directory is ~/.config/fcitx5 (/home/cress/.config/fcitx5).

  1. Current user:

The script is run as cress (1000).

Fcitx State:

  1. executable:

Found fcitx5 at /usr/bin/fcitx5.

  1. version:

Fcitx version: 5.1.10

  1. process:

Found 1 fcitx5 process:

120260 fcitx5

  1. fcitx5-remote:

fcitx5-remote works properly.

  1. DBus interface:

Using dbus-send to check dbus.

Owner of DBus name org.fcitx.Fcitx5 is :1.119.

PID of DBus name org.fcitx.Fcitx5 owner is 120260.

Debug information from dbus:

Group [wayland:] has 6 InputContext(s) IC [c8f51e399a9348f697b4da3234e3e1e8] program:org.kde.konsole frontend:wayland cap:72 focus:1 IC [1a2cfd2b8f3b4e12a809ad5b59c87dfb] program:firefox frontend:wayland cap:72 focus:0 IC [d9bbf488ee524e059e38d9d55a986453] program:systemsettings frontend:wayland cap:d0072 focus:0 IC [ea92a3595f354825a3ce7dee2b3c7034] program:firefox frontend:wayland cap:72 focus:0 IC [a660fa6f621b459586c0aeb6e25c7e5d] program:steam frontend:wayland cap:72 focus:0 IC [f75189f376a54b29ba48c46981822b54] program: frontend:wayland cap:72 focus:0 Group [x11::1] has 0 InputContext(s) Input Context without group

Fcitx Configure UI:

  1. Config Tool Wrapper:

Found fcitx5-configtool at /usr/bin/fcitx5-configtool.

  1. Config GUI for qt:

Found fcitx5-config-qt at /usr/bin/fcitx5-config-qt.

  1. 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:

  1. ${XMODIFIERS}:

XMODIFIERS is not set

Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add export XMODIFIERS=@im=fcitx to your ~/.xprofile. See Input Method Related Environment Variables: XMODIFIERS. Xim Server Name from Environment variable is fcitx.

  1. XIM_SERVERS on root window:

Xim server name is the same with that set in the environment variable.

  1. XIM encoding:

Your LC_CTYPE is set to C whose encoding is not UTF-8. You may have trouble committing strings using XIM.

Qt:

  1. 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.

  1. 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:

QT_QPA_PLATFORM=wayland QT_IM_MODULE= IM_MODULE_CLASSNAME=QtWaylandClient::QWaylandInputContext

  1. 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_QPA_PLATFORM=wayland QT_IM_MODULE= IM_MODULE_CLASSNAME=QtWaylandClient::QWaylandInputContext

  1. Qt IM module files:

Found fcitx5 im module for qt: /usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so. Found unknown fcitx qt module: /usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so. Found fcitx5 im module for qt6: /usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.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. Found fcitx5 qt6 module: /usr/lib/fcitx5/qt6/libfcitx5-unikey-keymap-editor.so. Found fcitx5 qt6 module: /usr/lib/fcitx5/qt6/libfcitx5-unikey-macro-editor.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:

  1. 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=fcitxto 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.

  1. gtk-query-immodules:

  2. gtk 2:

Found gtk-query-immodules for gtk 2.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

Failed to find fcitx5 in the output of /usr/bin/gtk-query-immodules-2.0

Found gtk-query-immodules for gtk 2.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

Cannot find fcitx5 im module for gtk 2.

  1. gtk 3:

Found gtk-query-immodules for gtk 3.24.42 at /usr/bin/gtk-query-immodules-3.0. Version Line:

Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.42

Failed to find fcitx5 in the output of /usr/bin/gtk-query-immodules-3.0

Found gtk-query-immodules for gtk 3.24.42 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.42

Failed to find fcitx5 in the output of /usr/bin/gtk-query-immodules-3.0-32

Cannot find fcitx5 im module for gtk 3.

  1. Gtk IM module cache:

  2. 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

Failed to find fcitx5 in immodule cache at /usr/lib/gtk-2.0/2.10.0/immodules.cache

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

Cannot find fcitx5 im module for gtk 2 in cache.

  1. gtk 3:

Found immodules cache for gtk 3.24.42 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.42

Failed to find fcitx5 in immodule cache at /usr/lib/gtk-3.0/3.0.0/immodules.cache

Found immodules cache for gtk 3.24.42 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.42

Failed to find fcitx5 in immodule cache at /usr/lib32/gtk-3.0/3.0.0/immodules.cache

Cannot find fcitx5 im module for gtk 3 in cache.

  1. Gtk IM module files:

  2. gtk 2:

All found Gtk 2 immodule files exist.

  1. gtk 3:

All found Gtk 3 immodule files exist.

  1. gtk 4:

All found Gtk 4 immodule files exist.

Configuration:

Fcitx Addons:

  1. Addon Config Dir:

Found fcitx5 addon config directory: /usr/share/fcitx5/addon.

  1. Addon List:

  2. Found 22 enabled addons:

Classic User Interface 5.1.10 Clipboard 5.1.10 DBus 5.1.10 DBus Frontend 5.1.10 Emoji 5.1.10 Fcitx4 Frontend 5.1.10 IBus Frontend 5.1.10 Input method selector 5.1.10 Keyboard 5.1.10 KDE Input Method Panel 5.1.10 Mozc Status Notifier 5.1.10 Notification 5.1.10 Quick Phrase 5.1.10 Spell 5.1.10 Unicode 5.1.10 Unikey Wrapper For Fcitx 5.1.4 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

  1. Found 0 disabled addons:

  2. Addon Libraries:

All libraries for all addons are found.

  1. User Interface:

Found 3 enabled user interface addons:

Classic User Interface KDE Input Method Panel DBus Virtual Keyboard

Input Methods:

  1. /home/cress/.config/fcitx5/profile:

[Groups/0]

Group Name

Name=Default

Layout

Default Layout=jp

Default Input Method

DefaultIM=mozc

[Groups/0/Items/0]

Name

Name=keyboard-us

Layout

Layout=

[Groups/0/Items/1]

Name

Name=mozc

Layout

Layout=

[Groups/0/Items/2]

Name

Name=unikey

Layout

Layout=

[GroupOrder] 0=Default

Log:

  1. date:

Wed Jul 10 20:23:36 JST 2024

  1. /home/cress/.config/fcitx5/crash.log:

/home/cress/.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 itonline publicly.

wengxt commented 1 month ago

can you check your global config and see if you accidentally bind z to something like activate input method?

namdiablo commented 1 month ago

Hi, I checked and none of them are bind to Z

image

image

I even tried to remove all the hot key then reset the input by using fcitx5 -r but nothing happens. I also tried to re install packages.

wengxt commented 1 month ago

@namdiablo Can you record a video on the issue you have?

namdiablo commented 1 month ago

@namdiablo Can you record a video on the issue you have?

https://youtu.be/1uzBy3Xn0II

wengxt commented 1 month ago

@namdiablo Sorry but the video is private :)

namdiablo commented 1 month ago

@namdiablo Sorry but the video is private :)

https://youtu.be/1uzBy3Xn0II?si=o3fLJRn5_HW0OHgl

sorry, my bad