SUMMARY Attaching the Keyboard Layout widget to a panel causes the global shortcut for switching keyboard layout to defocus the current window. This upsets the flow of trying to type with multiple keyboard layouts, as you have to re-focus the window every time you switch the layout. STEPS TO REPRODUCE 1. Configure a shortcut to switch keyboard layouts (system settings -> keyboard -> advanced -> switching to another layout -> win + space) (problem occurs on any set shortcut) 2. On a second monitor, add a new default panel (right-click desktop -> enter edit mode -> add panel -> default panel) 3. Add the keyboard layout widget (add widgets -> keyboard layout) 4. Drag the keyboard layout widget to the newly created default panel 5. Open any application 6. Press the layout-switch shortcut OBSERVED RESULT Currently selected application loses focus, must re-select to continue typing. EXPECTED RESULT Don't lose window focus, and continue typing as normal. SOFTWARE/OS VERSIONS Linux: 6.7.9.arch1-1 KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2
*** This bug has been marked as a duplicate of bug 482653 ***
*** This bug has been marked as a duplicate of bug 479084 ***