Describe the bug
Changes settings in Addons - UI - Classic User Interface don't work in electron based applications, includes chrome. Using fcitx5-rime.
更改主题在 electron 应用中不起作用,包括 chrome,在 Qt 应用中正常。包括字体大小、排列方向等所有设置项一概不起作用。输入、选字功能正常。此外,选字框的位置也发生了一定偏移(这个应该与我的系统缩放有关)
To Reproduce
Steps to reproduce the behavior:
I don't know how to exactly reproduce the bug. I've tried start chrome with --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime, even the ime itself don't work now.
我不太清楚如何重现该问题,使用上述启动参数后连正常输入都做不到了。
Desktop (please complete the following information):
Desktop: KDE
Display server type: Wayland
The output of fcitx5-diagnose if possible.
System Info:
uname -a:
Linux debian 6.5.7-surface-2 #2 SMP PREEMPT_DYNAMIC Sun Oct 29 12:36:11 UTC 2023 x86_64 GNU/Linux
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/orks/.config).
Fcitx5 Settings Directory:
Current fcitx5 settings directory is ~/.config/fcitx5 (/home/orks/.config/fcitx5).
Current user:
The script is run as orks (1000).
Fcitx State:
executable:
Found fcitx5 at /usr/bin/fcitx5.
version:
Fcitx version: 5.0.21
process:
Found 1 fcitx5 process:
18440 fcitx5
fcitx5-remote:
fcitx5-remote works properly.
DBus interface:
Using dbus-send to check dbus.
Owner of DBus name org.fcitx.Fcitx5 is :1.519.
PID of DBus name org.fcitx.Fcitx5 owner is 18440.
Debug information from dbus:
Group [x11::1] has 2 InputContext(s)
IC [a506f999046a42c7ac5d896defe5d16f] program:obsidian frontend:dbus cap:6000000012 focus:0
IC [6a36e0bf85ab4457987af394931d83cd] program:google-chrome-stable frontend:dbus cap:6000000012 focus:0
Group [wayland:] has 13 InputContext(s)
IC [a3488871284a449599415a5253279f8f] program:plasmashell frontend:dbus cap:1e001800072 focus:0
IC [5fd96b077c3e444bb77ce7bb70f9b1fc] program:konsole frontend:dbus cap:e001800072 focus:1
IC [717f0e71e1874a75ab494afe7004b391] program:plasmashell frontend:dbus cap:0 focus:0
IC [100824c025534aa69421541657a20aaa] program:plasmashell frontend:dbus cap:0 focus:0
IC [621d8b02ef414810b54f17f7bb9d3e1e] program:konsole frontend:dbus cap:0 focus:0
IC [e8b391fa727d4628b0992439fae73d01] program:plasmashell frontend:dbus cap:0 focus:0
IC [09c87dd16abd40bd82e6bd83a12ab0e8] program:plasmashell frontend:dbus cap:1e001800072 focus:0
IC [62e94e329160439592c394adf7cac49d] program:kate frontend:dbus cap:0 focus:0
IC [255b25002f324a16bfbe6b56d8c99e6a] program:plasmashell frontend:dbus cap:0 focus:0
IC [55c926f4a72043e0bf7de6be5309c7b2] program:plasmashell frontend:dbus cap:1e001800072 focus:0
IC [00c7820370e04355908ed3b4015d0cd4] program:kate frontend:dbus cap:1e001800072 focus:0
IC [206be45cb6574dda9bd896cd3f42487b] program:konsole frontend:dbus cap:0 focus:0
IC [4b19bc454e064aa2a1389c8524a00549] program:kate frontend:dbus cap:0 focus:0
Input Context without group
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:
Frontends setup:
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}:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
qt5 - ${QT_IM_MODULE}:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Qt IM module files:
Found fcitx5 qt5 module: /usr/lib/x86_64-linux-gnu/fcitx5/qt5/libfcitx-quickphrase-editor5.so.
Found fcitx5 im module for qt6: /usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found fcitx5 im module for qt5: /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.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.
gtk-query-immodules:
gtk 2:
Cannot find gtk-query-immodules for gtk 2
Cannot find fcitx5 im module for gtk 2.
gtk 3:
Cannot find gtk-query-immodules for gtk 3
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/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 /usr/lib/x86_64-linux-gnu/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.38 at /usr/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.38
Describe the bug Changes settings in Addons - UI - Classic User Interface don't work in electron based applications, includes chrome. Using fcitx5-rime.
更改主题在 electron 应用中不起作用,包括 chrome,在 Qt 应用中正常。包括字体大小、排列方向等所有设置项一概不起作用。输入、选字功能正常。此外,选字框的位置也发生了一定偏移(这个应该与我的系统缩放有关)
To Reproduce Steps to reproduce the behavior: I don't know how to exactly reproduce the bug. I've tried start chrome with
--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
, even the ime itself don't work now.我不太清楚如何重现该问题,使用上述启动参数后连正常输入都做不到了。
Desktop (please complete the following information):
System Info:
uname -a
:lsb_release -a
:lsb_release -d
:/etc/lsb-release
:/etc/lsb-release
not found./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/orks/.config
).Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/orks/.config/fcitx5
).Current user:
The script is run as orks (1000).
Fcitx State:
executable:
Found fcitx5 at
/usr/bin/fcitx5
.version:
Fcitx version:
5.0.21
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.519
.PID of DBus name
org.fcitx.Fcitx5
owner is18440
.Debug information from dbus:
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:
Frontends setup:
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}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
qt5 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Qt IM module files:
Found fcitx5 qt5 module:
/usr/lib/x86_64-linux-gnu/fcitx5/qt5/libfcitx-quickphrase-editor5.so
. Found fcitx5 im module for qt6:/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
. Found fcitx5 im module for qt5:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.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.
gtk-query-immodules
:gtk 2:
Cannot find
gtk-query-immodules
for gtk 2Cannot find fcitx5 im module for gtk 2.
gtk 3:
Cannot find
gtk-query-immodules
for gtk 3Cannot find fcitx5 im module for gtk 3.
Gtk IM module cache:
gtk 2:
Found immodules cache for gtk
2.24.33
at/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache
. Version Line:Failed to find fcitx5 in immodule cache at
/usr/lib/x86_64-linux-gnu/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.38
at/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
. Version Line:Found fcitx5 im modules for gtk
3.24.38
.gtk 4:
Cannot find immodules cache for gtk 4
Cannot find fcitx5 im module for gtk 4 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 19 enabled addons:
Found 1 disabled addons:
Addon Libraries:
All libraries for all addons are found.
User Interface:
Found 2 enabled user interface addons:
Kimpanel process:
Input Methods:
/home/orks/.config/fcitx5/profile
:Log:
date
:/home/orks/.config/fcitx5/crash.log
:/home/orks/.config/fcitx5/crash.log
not found.Additional context Add any other context about the problem here.