STEPS TO REPRODUCE 1. Run im-chooser in the terminal. (On Plasma 6.) 2. Select an input method that activates the "Log Out" button in the dialog. 3. Click the "Log Out" button in the dialog.
im-chooser
OBSERVED RESULT
A simple error dialog appears (no decorations, rounded corners, looks like a GTK dialog), saying "Could not connect to the session manager", with an "OK" button.
If the Input Method Selector dialog was launched from a terminal, in the terminal a couple of errors will appear:
EXPECTED RESULT
"Log Out" button should log out after selecting the new input method. I was trying to enable ibus but I don't think that has anything to do with the basic problem with the dialog on Plasma 6.
ibus
SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Linux 40 (pre-release) (available in About System) KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2
Metadata Update from @tagoh: - Issue assigned to tagoh
Thank you for reporting. You're right. this way seems not supported anymore. I'll add another way to support this feature.
FWIW im-chooser no longer support desktops on Wayland session. For correct steps to enable ibus on Plasma Wayland, you may want to enable Ibus Wayland through kdesettings->Keyboard->Virtual Keyboard.
I did find that and it seemed to work. If that’s true then im-chooser should be modified to detect Wayland and/or the lack of a necessary X11 session, and immediately declare when opened that the detected Wayland session is not supported. The appropriate XDG environment variable seems pretty reliable on all the common distros that I’ve tested. I believe it’s XDG_SESSION_TYPE, and values are “x11” or “wayland” (but apparently Mir is still alive somewhere out there, so it might be possible to see “mir”).
Right. the necessary feature is actually already implemented in imsettings but im-chooser is simply missing a feature to inform it on the dialog or so.
Metadata Update from @tagoh: - Issue status updated to: Closed (was: Open)
This should be fixed in https://pagure.io/im-chooser/c/82667198ac74da192fec7eacaafe011afceff85e?branch=main and will release new version soon. Thanks.
Log in to comment on this ticket.