[Bug 1217920] New: QT_IM_MODULE is always set on plasma 5.27.9
https://bugzilla.suse.com/show_bug.cgi?id=1217920 Bug ID: 1217920 Summary: QT_IM_MODULE is always set on plasma 5.27.9 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: i@xuzhao.net QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- According to the fcitx5 on wayland wiki page: https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland QT_IM_MODULE and GTK_IM_MODULE and SDL_IM_MODULE are not suggested to be set on fcitx5+plasma_wayland>5.27. However, after I install fcitx5 on opensuse 20231117, these environment variables are still being set by default. Is there a way that I can disable setting these environment variables on startup? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 Xu Zhao <i@xuzhao.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |i@marguerite.su -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 https://bugzilla.suse.com/show_bug.cgi?id=1217920#c1 --- Comment #1 from Xu Zhao <i@xuzhao.net> --- I have made some progress debugging this issue. According to the fcitx5 on wayland best practice, on KDE Plasma it requires to set the Virtual Keyboard to "fcitx5" in the KDE system settings. This will also make KDE to autostart fcitx5 by default upon start. However, this will conflict with /etc/xdg/autostart/org.fcitx.Fcitx5.desktop and /usr/lib/systemd/user/fcitx5.service in the fcitx5 rpm package, making them autostart to fail, because fcitx5 is already started by KDE. Second, the best practice says QT_IM_MODULE and GTK_IM_MODULE are deprecated and should not be set. However, in /usr/etc/X11/xim.d, the fcitx5 package installs a bunch of files setting up these environment variables. They should not be set if KDE plasma+Wayland is being used. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 https://bugzilla.suse.com/show_bug.cgi?id=1217920#c2 --- Comment #2 from Marguerite Su <i@marguerite.su> --- since it's the 'best' practice, you have to tolerate the existence of 'better' practice and 'plain' practice. remember openSUSE is not a KDE-only distribution. please be sure to have all the contents in chapter "support in wayland compositor" read, then talk about 'balanced' practice. in my opinion, the 'best' practice is to have all DE openSUSE support work, not to satisfy any single one. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 https://bugzilla.suse.com/show_bug.cgi?id=1217920#c3 --- Comment #3 from Xu Zhao <i@xuzhao.net> --- (In reply to Marguerite Su from comment #2)
since it's the 'best' practice, you have to tolerate the existence of 'better' practice and 'plain' practice.
remember openSUSE is not a KDE-only distribution. please be sure to have all the contents in chapter "support in wayland compositor" read, then talk about 'balanced' practice.
in my opinion, the 'best' practice is to have all DE openSUSE support work, not to satisfy any single one.
It is possible to achieve the best of both worlds? For example, I could image in the `xim.d` scripts, we first check if kwin_wayland is running or service is enabled. If true, we do not set up the the environment variables. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 https://bugzilla.suse.com/show_bug.cgi?id=1217920#c4 ulfbart <ub22@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ub22@gmx.net --- Comment #4 from ulfbart <ub22@gmx.net> --- After update to plasma 6.0.1/6.0.2 message was shown: "Fcitx should be launched by KWin under KDE Wayland in order to use Wayland input method frontend. This can improve the experience when using Fcitx on Wayland. To configure this, you need to go to "System Settings" -> "Virtual keyboard" and select "Fcitx 5" from it. You may also need to disable tools that launches input method, such as imsettings on Fedora, or im-config on Debian/Ubuntu. For more details see https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#KDE_Plasma" -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 Fuminobu Takeyama <ftake@geeko.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ftake@geeko.jp -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217920 Stuart Rogers <stuart@stella-maris.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stuart@stella-maris.org.uk -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com