[Bug 1084804] New: Plasma + Wayland: input method does not start
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 Bug ID: 1084804 Summary: Plasma + Wayland: input method does not start Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: ftake@geeko.jp QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- On Plasma + Wayland session, input method like IBus, Fcitx does not start anymore. This is simply because /etc/X11/xim, which has been a script to launch one of input methods, is not executed on a Wayland session. So we need to update our input method launcher script to support Wayland. How can we do that? What is the right way to set environment variables such as GTK_IM_MODULE and QT_IM_MODULE according to the current selected input method under on Wayland session? Workaround: Set GTK_IM_MODULE and QT_IM_MODULE in ~/.i18n and start ibus-daemon -xd or fcitx by using KDE auto start settings. However, both IBus and Fcitx will not work correctly due to other bugs and limitations related to Wayland. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c1 Yunhe Guo <i@guoyunhe.me> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |i@guoyunhe.me --- Comment #1 from Yunhe Guo <i@guoyunhe.me> --- Here is a solution https://en.opensuse.org/SDB:Enable_input_method_in_Wayland -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c2 Tranter Madi <trmdi@yandex.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trmdi@yandex.com --- Comment #2 from Tranter Madi <trmdi@yandex.com> --- 1, I've just found that we can use systemd's /etc/environment.d/30-fcitx.conf to set the variables.
#30-fcitx.conf key=value ...
2, do we still need xim files? Can we remove them? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c3 --- Comment #3 from Fuminobu Takeyama <ftake@geeko.jp> ---
2, do we still need xim files? Can we remove them?
We still need some more things for a system where multiple input methods are installed. The scripts under /etc/X11/xim* provide feature to switch input method dynamically according to the current language setting when multiple input methods are install on a system. But also, I'm wondering we do not need such dynamic switching anymore. Ideas: - Writing systemd environment variable generator similar to /etc/X11/xim - Statically switch content of /etc/environment.d/xx-input-method.conf by using update-alternative -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c4 --- Comment #4 from Tranter Madi <trmdi@yandex.com> --- Can anyone help me to test this on different environments besides Plasma? https://build.opensuse.org/package/show/home:trmdi/fcitx I think autostart code inside xim files is not needed because according to this https://wiki.archlinux.org/title/Autostarting, most of DE and WM implement XDG Autostart. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c5 --- Comment #5 from Fuminobu Takeyama <ftake@geeko.jp> --- As far as I tested on my environment, /etc/environment.d does not work with Plasma X11, but with GNOME session (X11 & Wayland) it works. Plasma Wayland session hangs up on my laptop now. So I cannot test it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c7 --- Comment #7 from Fuminobu Takeyama <ftake@geeko.jp> ---
Plasma imports those variables explicitly:
It seems that the fix is for Plasma 5.22 but Leap 15.3 provides 5.18. I will try Tumbleweed later. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c8 --- Comment #8 from Tranter Madi <trmdi@yandex.com> --- Hi, can someone test this? https://build.opensuse.org/request/show/919392 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c9 --- Comment #9 from Tranter Madi <trmdi@yandex.com> --- (In reply to Tranter Madi from comment #8)
Hi, can someone test this? https://build.opensuse.org/request/show/919392
This request has been superseded by https://build.opensuse.org/request/show/919613 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084804 http://bugzilla.opensuse.org/show_bug.cgi?id=1084804#c10 --- Comment #10 from Tranter Madi <trmdi@yandex.com> --- It seems be fixed for fcitx5: https://build.opensuse.org/request/show/946559 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com