Closed QiangF closed 4 months ago
Can you run fcitx5 with
fcitx5 --verbose=classicui=5
You should find log like:
D2024-07-31 14:51:21.661564 xcbui.cpp:290] Xft.dpi: 96
D2024-07-31 14:51:21.661755 xcbui.cpp:447] Screen rects are: [(Rect(0,0+1536x864), 132)] Primary DPI: 132 XScreen DPI: 95
and paste it here.
Can you provide your screen setup with:
xrandr
And can you explain whether your issue happens with only some applications or all applications. If not all, which application you're having problem with. And please also include any information if the application is not installed from your distribution (e.g. it's from flatpak).
I am on travel, but the problem seems to caused by the negative number in the position specification.
xrandr --output "eDP-1" --mode "1600x900" --pos "0x0" --primary --output "DP-1-0" --mode "1600x1200" --pos "-1600x0"
I moved the external display to the right side and seems the issue is gone.
@QiangF you can still use the same layout without using negative number. Though I think I can try to reproduce with a setup similar like yours.
I believe the desktop (gnome/kde) generated layout never uses a negative number and thats probably why I never see such an issue.
Summary
Look exactly like this issue here
https://github.com/fcitx/fcitx/issues/476
Steps to Reproduce
Unplug and replug the external monitor
Expected Behavior
pop up follow input point
Output of fcitx5-diagnose command
System Info:
uname -a
:lsb_release -a
:lsb_release -d
:/etc/lsb-release
:/etc/os-release
:Desktop Environment:
Cannot determine desktop environment.
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 set to/home/q/.config
.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/q/.config
).Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/q/.config/fcitx5
).Current user:
The script is run as q (1000).
Fcitx State:
executable:
Found fcitx5 at
/usr/bin/fcitx5
.version:
Fcitx version:
5.1.10
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.27
.PID of DBus name
org.fcitx.Fcitx5
owner is1790
.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:
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.
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:
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 IM module files:
Found fcitx5 im module for qt:
/usr/lib/qt/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 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 unknown fcitx qt module:/usr/lib/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.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:
Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
gtk-query-immodules
:gtk 2:
Found
gtk-query-immodules
for gtk2.24.33
at/usr/bin/gtk-query-immodules-2.0
. Version Line:Found fcitx5 im modules for gtk
2.24.33
.gtk 3:
Found
gtk-query-immodules
for gtk3.24.42
at/usr/bin/gtk-query-immodules-3.0
. Version Line:Found fcitx5 im modules for gtk
3.24.42
.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:Found fcitx5 im modules for gtk
2.24.33
.gtk 3:
Found immodules cache for gtk
3.24.42
at/usr/lib/gtk-3.0/3.0.0/immodules.cache
. Version Line:Found fcitx5 im modules for gtk
3.24.42
.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 29 enabled addons:
Found 1 disabled addons:
Addon Libraries:
All libraries for all addons are found.
User Interface:
Found 3 enabled user interface addons:
Input Methods:
/home/q/.config/fcitx5/profile
:Log:
date
:/home/q/.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.