Bug 499135

Summary: Plasma 6.3/wayland: With "remember keyboard layout for window" option, restoring keyboard layout is not working for app that closes to System Tray
Product: [Applications] systemsettings Reporter: zorn7
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: butirsky, duha.bugs, natalie_clarius, nate
Priority: NOR Keywords: regression
Version First Reported In: 6.2.91   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zorn7 2025-01-25 15:47:39 UTC
SUMMARY
With option "remember keyboard layout for window" it resets to default if window hides to systray.

STEPS TO REPRODUCE
1. Settings -> Keyboard -> Configure switching (button below layouts) -> Only current window
2. Run some app that can close to systray (e.g. telegram desktop)
3. Type something in that app with not default keyboard layout
4. Send it to systray
5. Reopen it from systray

OBSERVED RESULT
Keyboard layout becomes default (english in my case)

EXPECTED RESULT
Layout should be same as before going to systray

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.91

ADDITIONAL INFORMATION
On plasma 6.2 all works fine
Comment 1 Nate Graham 2025-01-27 21:17:01 UTC
Does it work as expected on X11? Or broken there too?
Comment 2 zorn7 2025-01-30 04:46:05 UTC
On X11 works fine