Bug 2054719 - KDE Plasma(wayland): Switching ibus-input method with Super+Space does not work
Summary: KDE Plasma(wayland): Switching ibus-input method with Super+Space does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-15 15:06 UTC by Mike FABIAN
Modified: 2023-09-14 10:33 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-09-14 10:33:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Video showing the problem (771.22 KB, video/mp4)
2022-02-15 15:06 UTC, Mike FABIAN
no flags Details

Description Mike FABIAN 2022-02-15 15:06:19 UTC
Created attachment 1861275 [details]
Video showing the problem

- I installed Fedora-Workstation-Live-x86_64-35-1.2.iso in qemu-kvm

- after the installation added the KDE desktop with

    sudo dnf groupinstall kde-desktop-environment

- then updated everything to the most current version with 

    sudo dnf update

- reboot.

- logged into Plasma(Wayland).

- open a konsole

- use ibus-setup to configure 3 input sources:
  - ibus-anthy
  - ibus-typing-booster
  - English (US, euro on 5) keyboard layout

- log out and log in again

- open konsole

- Type Super+Space which should switch to another input method. But it doesn’t.

  - When ibus-anthy is selected while Super+Space is typed over the konsole, only a Space is inserted into konsole
  
  - When English (US, euro on 5) or ibus-typing-booster is selected while typing Super+Space over the konsole, some
    weird stuff appears in konsole which looks like this:

    [mfabian@fedora ~]$
    ::1                    localhost.localdomain    localhost4.localdomain4    localhost6.localdomain6
    localhost              localhost4               localhost6
    [mfabian@fedora ~]$

    but the input method switcher doesn’t appear and the input method is not switched.

- Now I start the X11 program “xev” and place the focus on xev and type Super+Space: This works!

- When typing Super+Space on top of an Xorg program like “xev” or “xterm”, it works! (probably any Xorg program will do)

See attached video.

Comment 1 fujiwara 2022-03-04 14:12:20 UTC
Unfortunately Super-space cannot work in Plasma Wayland because ibus panel cannot get the global shortcut key due to the Wayland specification.

Probably the best way is to integrate IBusInputContext from /usr/lib64/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so to Plasma Wayland compositor but I'm not familiar with KDE Wayland APIs.

Comment 2 Mike FABIAN 2022-03-04 18:32:04 UTC
I can still produce this in the same way on Fedora 36 
(Fedora-Workstation-Live-x86_64-36-20220216.n.0.iso installed in qemu-kvm with all current updates)

Comment 3 fujiwara 2022-03-07 07:17:43 UTC
*** Bug 2060988 has been marked as a duplicate of this bug. ***

Comment 4 Harish Karumuthil 2022-07-06 08:35:48 UTC
Hello all,
I just want to share a quick & dirty fix for this problem. 
This is an external python script https://github.com/harish2704/dotFiles/blob/master/home/.local/Apps/daily-utils/bin/ibus-next-engine.py .
It can switch to next input method if executed. 

Add a custom global shortcut ( for eg: Super+Space ) entry in settings menu and put the above script as target command for the shortcut.
We will get a minimal working Ibus in KDE plasma ( wayland )

Comment 5 Ben Cotton 2022-11-29 17:53:51 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Ben Cotton 2022-12-13 16:40:20 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 7 fujiwara 2023-09-14 10:33:22 UTC
Now Super-space is integrated on the active input context in Plasma Wayland in Fedora 39.
https://fedoraproject.org/wiki/Changes/IBus_1.5.29#Setup


Note You need to log in before you can comment on or make changes to this bug.