Bug 476832

Summary: Layout switching OSD displayed when starting typing in an application with different layout under Wayland
Product: [Plasma] plasmashell Reporter: Silver Salonen <silver.salonen>
Component: Keyboard Layout widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: bugseforuns, butirsky
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=452759
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Silver Salonen 2023-11-11 09:59:34 UTC
SUMMARY
Layout switching OSD displayed when starting typing in an application with different layout.

STEPS TO REPRODUCE
1. Use Wayland session
2. Configure multiple (I have 2) keyboard layouts
3. Use Application Switching Policy
4. Open applications and use different keyboard layouts for them
5. Type something in an application with one keyboard layout
6. Switch to an application with another keyboard layout and type something there

OBSERVED RESULT
When starting typing in an application that has different keyboard layout than the application where typing was done before, keyboard layout OSD is displayed at the center of the screen.

EXPECTED RESULT
No OSD is displayed - maybe only when switching keyboard layout manually? I don't know what is the expected behaviour.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Comment 1 Patrick Silva 2023-11-12 12:44:45 UTC

*** This bug has been marked as a duplicate of bug 452759 ***
Comment 2 Andrey 2024-01-12 16:22:47 UTC
This is a feature, not a bug (Wayland only as we couldn't implement the same behavior for X11).
If you dislike the OSD you can disable it in the Keyboard KCM.