Bug 423617

Summary: Keyboard layout OSD does not appear when using keyboard-specific hotkeys
Product: [Plasma] plasmashell Reporter: phrxmd <philipp.reichmuth>
Component: Keyboard Layout widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aspotashev, butirsky, nate, plasma-bugs
Priority: NOR    
Version: 5.19.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description phrxmd 2020-06-28 15:27:01 UTC
SUMMARY
The keyboard switching on-screen display (OSD) appears only when you switch between keyboards using a global shortcut, not when you switch using keyboard-specific hotkeys. 

STEPS TO REPRODUCE
1. Set up at least two keyboard layouts, with separate hotkeys for each.
2. In addition, set up a keyboard shortcut for switching between keyboards, using the "Alternative shortcut" function (where you enter the shortcut yourself, rather than choosing from a list).
3. Make sure "Display visual feedback for status changes" (under System Settings -> General behaviour) is enabled.
4. Open a text editor and toggle keyboard layouts: (a) first using the hotkeys you set up for each keyboard, (b) then using the switching shortcut.

OBSERVED RESULT
When you switch using the switching shortcut, the OSD appears.
When you switch using the hotkeys for each keyboard, no OSD appears.

Tested under X.

EXPECTED RESULT
The OSD should appear every time I switch keyboards, no matter whether it's using a global shortcut or a keyboard-specific hotkey. 

Whether the OSD appears or not should not depend on the method to toggle between keyboards, but solely on OSD-related settings, such as "Display visual feedback for status changes".

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200625
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Kernel Version: 5.7.5-1-default
OS Type: 64-bit

ADDITIONAL INFORMATION
This may or may not be the same bug as bug 423611 (where the OSD fails to appear when using a global shortcut from the list, rather than a user-defined one).
Comment 1 Nate Graham 2021-03-19 22:40:43 UTC
Works for me on Wayland. If it's broken only on X11, it could be the same as Bug 405706.
Comment 2 Andrey 2021-03-20 00:07:07 UTC
This is a known problem.
Sorry I'm personally not interesting in fixing X11-specific bugs.
Please consider switching to Wayland.
Comment 3 Nate Graham 2021-03-20 00:30:29 UTC

*** This bug has been marked as a duplicate of bug 408928 ***