Closed
Description
Describe the bug
There should be a warning telling users to not select any keyboard layout with "intl" or "dead keys". The dead keys / compose / accents work, and only work, with the normal layout.
Some layouts don't work. They either type nothing, random accented letters, or luanma. They are as follows:
- English (Dvorak, intl., with dead keys)
- English (Dvorak, alt. intl.)
- English (US, alt. intl.)
- English (US, intl., with dead keys)
The following regular layouts work and the dead keys work in fcitx5:
- Default
- English (Dvorak)
To Reproduce
Steps to reproduce the behavior:
- Open fcitx5 in KDE settings
- Press "Select system layout"
- Select any dead keys or intl. layout
- Press "Ok"
- Notice there is no warning
- Spend 2 hours logging in and logging out, debugging why the dead keys don't work
Expected behavior
There should be a warning when the user tries to select a dead keys or intl. layout.
The user should be informed that those don't work.
With the warning they won't have to waste 2 hours debugging like me.
Here is my working configuration:
- Group 1 in fcitx5 settings
- Input Method Off with "Keyboard - English (US) - English (Dvorak)"
- "Use new compose behavior" enabled in that keyboard's settings
- System layout as "English (US) - English (Dvorak)"
- "us, English (US), English (Dvorak), US flag" in KDE Keyboard Layouts
- "Right Alt; Shift+Right Alt as Compose" in "3rd level shortcuts"
- ("Right Alt" also works there but there is no compose. The only thing is that I had to change it away from "Right Alt never chooses 3rd level" to get dead keys to work)
Desktop (please complete the following information):
- Desktop: (KDE, GNOME, etc): KDE Plasma 5.26.0, Frameworks 5.99.0, Qt 5.15.6
- Display server type: X11, Wayland: Wayland
- The output of fcitx5-diagnose if possible.
fcitx5-diagnose, with fcitx5 working like I want it to
# System Info:
1. `uname -a`:
Linux daniel-tablet1 6.1.6-surface #1 SMP PREEMPT_DYNAMIC Mon Jan 16 23:37:25 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
2. `lsb_release -a`:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
3. `lsb_release -d`:
Description: Ubuntu 22.10
4. `/etc/lsb-release`:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.10
DISTRIB_CODENAME=kinetic
DISTRIB_DESCRIPTION="Ubuntu 22.10"
5. `/etc/os-release`:
PRETTY_NAME="Ubuntu 22.10"
NAME="Ubuntu"
VERSION_ID="22.10"
VERSION="22.10 (Kinetic Kudu)"
VERSION_CODENAME=kinetic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=kinetic
LOGO=ubuntu-logo
6. Desktop Environment:
Desktop environment is `kde`.
7. XDG SESSION TYPE:
XDG_SESSION_TYPE='wayland'
8. Bash Version:
BASH_VERSION='5.2.2(1)-release'
# Environment:
1. DISPLAY:
DISPLAY=':0'
WAYLAND_DISPLAY='wayland-0'
2. Keyboard Layout:
1. `setxkbmap`:
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)" };
};
2. `xprop`:
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""
3. Locale:
1. All locales:
C
C.utf8
da_DK.utf8
en_US.utf8
fr_FR.utf8
he_IL.utf8
POSIX
zh_TW.utf8
2. Current locale:
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=C
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=C
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
4. Directories:
1. Home:
/home/home
2. `${XDG_CONFIG_HOME}`:
Environment variable `XDG_CONFIG_HOME` is not set.
Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/home/.config`).
3. Fcitx5 Settings Directory:
Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/home/.config/fcitx5`).
5. Current user:
The script is run as home (1000).
# Fcitx State:
1. executable:
Found fcitx5 at `/usr/bin/fcitx5`.
2. version:
Fcitx version: `5.0.18`
3. process:
Found 1 fcitx5 process:
1663 fcitx5
4. `fcitx5-remote`:
`fcitx5-remote` works properly.
5. DBus interface:
Using `dbus-send` to check dbus.
Owner of DBus name `org.fcitx.Fcitx5` is `:1.12`.
PID of DBus name `org.fcitx.Fcitx5` owner is `1663`.
Debug information from dbus:
Input Context without group
IC [8a7183ccf4774da2b2d2ba49176b1997] program:plasmashell frontend:dbus focus:0
IC [fa997cdbe44145b39ff4781785369e16] program:firefox frontend:dbus focus:0
IC [ad10e2b0d77947ac987e6b0353c4e3ca] program:firefox frontend:dbus focus:0
IC [ab869c5b39b04c5ca44e7d60c3ef2d6c] program:firefox frontend:dbus focus:0
IC [b443b795c2aa4a11b0010c32f8c8fe3a] program:firefox frontend:dbus focus:0
IC [d646ddee090840d994a21b16125d805c] program:krunner frontend:dbus focus:0
IC [111d1be0268842a48bb443b4dc6c11b6] program:kate frontend:dbus focus:0
IC [d8f2717cedd54bf0acb1112ba49e362f] program:kate frontend:dbus focus:0
IC [6dd0473aef3a4f948e0aab54c2df0eaf] program:firefox frontend:dbus focus:0
IC [3ed8ef9d68f24eaf97278d14768aaeaa] program:firefox frontend:dbus focus:0
IC [4021bffe158048cebd4f9f61630c5a01] program:firefox frontend:dbus focus:0
IC [a82f3d6337c74178b14584c5c8b389fb] program:firefox frontend:dbus focus:0
IC [4f5d05aa693049559cb83462002e001e] program:plasmashell frontend:dbus focus:0
IC [f228e00b106c45b59bb50d86cf448488] program:plasmashell frontend:dbus focus:0
IC [988d9b59cc0b4ad680420f98d8363276] program:kate frontend:dbus focus:0
IC [6c0f0d3323e3499b8e701ba1aecc1633] program:konsole frontend:dbus focus:1
# Fcitx Configure UI:
1. Config Tool Wrapper:
Found fcitx5-configtool at `/usr/bin/fcitx5-configtool`.
2. Config GUI for qt:
**Config GUI for qt not found.**
3. Config GUI for kde:
Found fcitx5 kcm module.
kcm_fcitx5 - Configure Input Method
# Frontends setup:
## Xim:
1. `${XMODIFIERS}`:
Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.
2. XIM_SERVERS on root window:
**Cannot find xim_server on root window.**
## Qt:
1. qt4 - `${QT4_IM_MODULE}`:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
2. qt5 - `${QT_IM_MODULE}`:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
3. Qt IM module files:
Found fcitx5 im module for qt5: `/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
Found unknown fcitx qt module: `/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_fcitx5.so`.
Found fcitx5 qt5 module: `/lib/x86_64-linux-gnu/fcitx5/qt5/libfcitx-quickphrase-editor5.so`.
**Cannot find fcitx5 input method module for Qt4.**
## Gtk:
1. gtk - `${GTK_IM_MODULE}`:
Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
2. `gtk-query-immodules`:
1. gtk 2:
**Cannot find `gtk-query-immodules` for gtk 2**
**Cannot find fcitx5 im module for gtk 2.**
2. gtk 3:
**Cannot find `gtk-query-immodules` for gtk 3**
**Cannot find fcitx5 im module for gtk 3.**
3. Gtk IM module cache:
1. gtk 2:
Found immodules cache for gtk `2.24.33` at `/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`.
Version Line:
# Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.33
**Failed to find fcitx5 in immodule cache at `/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`**
**Cannot find fcitx5 im module for gtk 2 in cache.**
2. gtk 3:
Found immodules cache for gtk `3.24.34` at `/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.
Version Line:
# Created by /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.24.34
Found fcitx5 im modules for gtk `3.24.34`.
"/usr/lib/x86_64-linux-gnu/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:*"
3. gtk 4:
**Cannot find immodules cache for gtk 4**
**Cannot find fcitx5 im module for gtk 4 in cache.**
4. Gtk IM module files:
1. gtk 2:
All found Gtk 2 immodule files exist.
2. gtk 3:
All found Gtk 3 immodule files exist.
3. 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`.
2. Addon List:
1. Found 19 enabled addons:
Classic User Interface 5.0.18
Clipboard 5.0.18
DBus 5.0.18
DBus Frontend 5.0.18
Fcitx4 Frontend 5.0.18
Hangul 5.0.10
IBus Frontend 5.0.18
Input method selector 5.0.18
Keyboard 5.0.18
Mozc
Status Notifier 5.0.18
Notification 5.0.18
Rime 5.0.14
Spell 5.0.18
Unicode 5.0.18
Wayland 5.0.18
Wayland Input method frontend 5.0.18
XCB 5.0.18
X Input Method Frontend 5.0.18
2. Found 1 disabled addons:
KDE Input Method Panel 5.0.18
3. Addon Libraries:
All libraries for all addons are found.
4. User Interface:
Found 1 enabled user interface addons:
Classic User Interface
## Input Methods:
1. `/home/home/.config/fcitx5/profile`:
[Groups/0]
# Group Name
Name=Q
# Layout
Default Layout=us
# Default Input Method
DefaultIM=keyboard-us
[Groups/0/Items/0]
# Name
Name=keyboard-us
# Layout
Layout=
[Groups/1]
# Group Name
Name=K
# Layout
Default Layout=us
# Default Input Method
DefaultIM=hangul
[Groups/1/Items/0]
# Name
Name=hangul
# Layout
Layout=us
[Groups/2]
# Group Name
Name=Z
# Layout
Default Layout=us
# Default Input Method
DefaultIM=rime
[Groups/2/Items/0]
# Name
Name=rime
# Layout
Layout=us
[Groups/3]
# Group Name
Name=J
# Layout
Default Layout=jp-us
# Default Input Method
DefaultIM=mozc
[Groups/3/Items/0]
# Name
Name=mozc
# Layout
Layout=jp-us
[Groups/4]
# Group Name
Name="Group 1"
# Layout
Default Layout=us-dvorak
# Default Input Method
DefaultIM=keyboard-us-dvorak
[Groups/4/Items/0]
# Name
Name=keyboard-us-dvorak
# Layout
Layout=
[GroupOrder]
0=Q
1=J
2=Z
3="Group 1"
4=K
# Log:
1. `date`:
Sun Jan 22 21:19:01 EST 2023
2. `/home/home/.config/fcitx5/crash.log`:
`/home/home/.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.**
Metadata
Metadata
Assignees
Labels
No labels