Bug 2290842 - Unable to switch input method using Super+Space in KDE Plasma 6 Wayland
Summary: Unable to switch input method using Super+Space in KDE Plasma 6 Wayland
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-07 07:58 UTC by Rajeesh
Modified: 2024-06-25 02:26 UTC (History)
2 users (show)

Fixed In Version: ibus-1.5.30-5.fc40
Clone Of:
Environment:
Last Closed: 2024-06-25 02:26:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rajeesh 2024-06-07 07:58:49 UTC
Configured ibus on KDE Plasma Wayland correctly, no IM env vars set and everything is working fine on `ibus-1.5.30-1.fc40.x86_64`. I have two input methods configured (English & ml-mozhi), and switch between them using Super+Space keys in both Qt & GTK apps.

Since updating to `ibus-1.5.30-2.fc40.x86_64`, unable to switch input method using Super+Space. No popup appears, and input method remains in English. It is still possible to switch input method by clicking on the system tray icon; but it is not convenient. Tested with `ibus-1.5.30-3.fc40.x86_64`, issue remains.

Reproducible: Always

Steps to Reproduce:
1. Open a new file using KWrite and focus on it
2. Press Super+Space keys
Actual Results:  
Notice that input method is not switched, literal 'space' is entered

Expected Results:  
Input method switched to next configured method (ml-mozhi in my case).

See upstream discussions at https://github.com/ibus/ibus/issues/2644

Comment 1 Fedora Update System 2024-06-08 03:54:13 UTC
FEDORA-2024-afdec1e5e5 (ibus-1.5.30-5.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-afdec1e5e5

Comment 2 Rajeesh 2024-06-08 04:47:53 UTC
Confirmed that 1.5.30-5 fixes input method switching using Super+Space in Plasma Wayland. Thanks for the quick fix!

Though, I notice that there was a regression with 1.5.30-2 that ignores the Compose key. I have set Right-Ctrl as compose key and it was working fine with 1.5.30-1. It is not working now (from 1.5.30-2 till 1.5.30-5).

Comment 3 Fedora Update System 2024-06-08 06:51:43 UTC
FEDORA-2024-afdec1e5e5 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-afdec1e5e5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-afdec1e5e5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 fujiwara 2024-06-10 08:19:47 UTC
Thank you for the report. I could reproduce your issue and hope the update resolve the issue.


(In reply to Rajeesh from comment #2)
> Confirmed that 1.5.30-5 fixes input method switching using Super+Space in
> Though, I notice that there was a regression with 1.5.30-2 that ignores the
> Compose key. I have set Right-Ctrl as compose key and it was working fine
> with 1.5.30-1. It is not working now (from 1.5.30-2 till 1.5.30-5).

I don't think The Right-Ctrl worked in ibus 1.5.30-1 but I guess you disabled ibus instead.

Currently IBus does not support compose keys in Plasma Wayland and it's a known issue:
https://github.com/ibus/ibus/issues/2579
You saved the compose key in the desktop setting and IBus needs to read the configuration in Wayland.
IBus can run `setxkbmap -query` for Xorg compose keys but that way does not work in Wayland.

Comment 5 Rajeesh 2024-06-11 03:54:16 UTC
(In reply to fujiwara from comment #4)
> Thank you for the report. I could reproduce your issue and hope the update
> resolve the issue.

Yes, resolved. Thank you very much for the quick fix!
 
> I don't think The Right-Ctrl worked in ibus 1.5.30-1 but I guess you
> disabled ibus instead.
> 
> Currently IBus does not support compose keys in Plasma Wayland and it's a
> known issue:
> https://github.com/ibus/ibus/issues/2579
> You saved the compose key in the desktop setting and IBus needs to read the
> configuration in Wayland.
> IBus can run `setxkbmap -query` for Xorg compose keys but that way does not
> work in Wayland.

Thanks for the clarification, I'll keep an eye on the upstream bug report for further progress.

Comment 6 Fedora Update System 2024-06-25 02:26:18 UTC
FEDORA-2024-afdec1e5e5 (ibus-1.5.30-5.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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