https://bugzilla.redhat.com/show_bug.cgi?id=2023222
Bug ID: 2023222 Summary: ibus cannot open display via imsettings in Plasma Wayland Product: Fedora Version: 35 Status: NEW Component: imsettings Assignee: tagoh@redhat.com Reporter: tfujiwar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, tagoh@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: im-chooser can launch imsettings-daemon and ibus-daemon and imsettings-daemon launches ibus-daemon again when user log into the Plasma Wayland session but ibus-ui-gtk3 fails to be launched because ibus-ui-gtk3 fails to open Display with XOpenDisplay(NULL) via imsettings-daemon while I confirmed ibus-ui-gtk3 got DISPLAY=:0 environment variable.
If I invoke ibus-daemon by manual ibus-daemon can launch ibus-ui-gtk3 successfully so this issue would be imsettings in Plasma Wayland.
Version-Release number of selected component (if applicable): imsettings-1.8.2-4.fc35.x86_64 ibus-1.5.25-4.fc35.x86_64 plasma-workspace-wayland-5.22.5-2.fc35.x86_64
How reproducible:
Steps to Reproduce: 1. Log into Plasma Wayland session 2. Run im-chooser and select IBus and ibus-daemon runs 3. Log out the session and imsettings-daemon is still running 4. Log into Plasma Wayland session again
or
5. Run im-chooser again and select IBus -> No input method -> IBus
Actual results: ibus-ui-gtk3 and ibus-x11 are not running and no IBus panel icon in the Plasma desktop
Expected results: ibus-ui-gtk3 and ibus-x11 are running and users can switch IBus engines from IBus panel icon in the Plasma desktop
Additional info: I'm thinking to launch imsettings-daemon from /usr/libexec/plasma-dbus-run-session-if-needed until Plasma Wayland can manage IBus input contexts with D-Bus likes GNOME Wayland so I'm fine to terminate imsettings-daemon by logging out the desktop session.
--- /usr/libexec/plasma-dbus-run-session-if-needed.orig07:11:14.936606871 +0900 +++ /usr/libexec/plasma-dbus-run-session-if-needed @@ -2,6 +2,10 @@ # Usage: plasma-dbus-run-session-if-needed PROGRAM [ARGUMENTS] # If the session bus is not available it is spawned and wrapper round our program # Otherwise we spawn our program directly +if [ -x /usr/libexec/xinput-run-in-session ] ; then + nohup /usr/libexec/xinput-run-in-session & +fi + drs= if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ] then
# cat /usr/libexec/xinput-run-in-session #!/bin/sh
# Wait for running a desktop session with D-Bus sleep 180
if [ -x /etc/X11/xinit/xinitrc.d/50-xinput.sh ] ; then /etc/X11/xinit/xinitrc.d/50-xinput.sh ibus exit imsettings-switch -n -q -x fi
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2020514
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2020514 [Bug 2020514] IBus got installed on upgrading to Fedora 35 but it doesn't work with KDE/Qt apps
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|2020514 |
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2020514 [Bug 2020514] IBus got installed on upgrading to Fedora 35 but it doesn't work with KDE/Qt apps
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #1 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-1ea8aa849a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ea8aa849a
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Fixed In Version| |imsettings-1.8.3-1.fc36 Status|MODIFIED |CLOSED Last Closed| |2021-11-30 06:11:39
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-1ea8aa849a has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-4b6ac2051d has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4b6ac2051d
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-4b6ac2051d has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4b6ac2051d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4b6ac2051d
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-4b6ac2051d has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4b6ac2051d
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-4b6ac2051d has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4b6ac2051d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4b6ac2051d
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2023222
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|imsettings-1.8.3-1.fc36 |imsettings-1.8.3-1.fc36 | |imsettings-1.8.3-1.fc35
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-2021-4b6ac2051d has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
i18n-bugs@lists.fedoraproject.org