Bug 513991

Summary: Toggling Input Method using keyboard shortcut breaks input
Product: [Plasma] plasmashell Reporter: LÉONM <lemcgregor3>
Component: Input Method widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, duha.bugs, kde, nate
Priority: HI    
Version First Reported In: 6.4.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description LÉONM 2025-12-30 22:20:17 UTC
SUMMARY
Assigning a keyboard shortcut to enable ime, such as ibus, breaks the standard keyboard input once the shortcut is used to turn it off

STEPS TO REPRODUCE
1. Add a keyboard layout in KDE settings > keyboard, e.g. gb extended
2. Under virtual keyboard, make sure ibus wayland is installed and enabled
?. Configure ibus to use an IME for japanese, E.G. mozc
3. in the plasma system tray settings, locate "input method", and assign a keyboard shortcut, e.g. Meta+Space
4. open kate or some other editor to test
5. Type with regular input (gb extended)
6. press meta+space
7. see that the ibus icon is now visible in the tray, and typing uses the ime
8. press meta+space again to go back to normal keyboard
9. try to type something

OBSERVED RESULT
Nothing is typed

EXPECTED RESULT
The same shortcut can be used to toggle the IME on and off

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1660 Ti
Generic 105-Key usb keyboard
ibus-daemon - Version 1.5.32
ibus-mozc - 2.29.5160.102

ADDITIONAL INFORMATION