Bug 458022

Summary: ibus only changes keyboard layout when focus is given to a text input
Product: [Applications] systemsettings Reporter: foormea
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: butirsky, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description foormea 2022-08-18 09:27:14 UTC
SUMMARY
Ibus only changes keyboard layout after focus is given to a text input.
If I switch layouts and focus is currently not on a text input, the change is not reflected in the systray icon, and the change will actually happen next time focus is on a text input.

This is annoying because the layout indicator doesn't always reflect what is actually selected, because it makes using shortcuts awkward (I have to make sure that my "base" keymap is selected and activated for shortcuts to work).
Also it is impossible to switch layouts in Plasma's log-on screen.

STEPS TO REPRODUCE
1. I configured 3 layouts in ibus: EN US qwerty, FR FR azerty, EN dvorak int'l dead keys.
2. I switch layouts using super-space.
3. The problem that I described happens.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

Thank you.
Comment 1 Nate Graham 2022-08-23 05:49:19 UTC
This is going to be a bug in IBus itself; please report it to the IBus developers.