STEPS TO REPRODUCE 1. use Wayland session 2. make sure numlock of your keyboard is on 3. open Keyboard KCM in System Settings 4. change any setting in 'Hardware' tab 5. apply the change OBSERVED RESULT numlock turns off after applying the change EXPECTED RESULT numlock state should not change when we apply changes in Keyboard KCM SOFTWARE/OS VERSION Operating System: Arch Linux KDE Plasma Version: 5.23.0 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Graphics Platform: Wayland
Do you see this in git master too, or only in Plasma 5.23?
Can reproduce on neon unstable too.
Darn, thanks.
The same maybe apply to other Locks - CapsLock etc.?
Ccaps lock is also affected, scroll lock does not work at all even on X11. Tested on Arch Linux.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1566
I appreciate if you test LEDs in the fix as I don't have ones.
Git commit be35ef6a9a812052910066bed2005a2b3bb92ec4 by Nate Graham, on behalf of Andrey Butirsky. Committed on 26/10/2021 at 15:48. Pushed by ngraham into branch 'master'. [keyboard kcm] fix lost Locks state on keymap reconfigure Fixes Num/Caps Locks (do we need Scroll also?) M +28 -11 src/xkb.cpp https://invent.kde.org/plasma/kwin/commit/be35ef6a9a812052910066bed2005a2b3bb92ec4
Git commit 451bc8dc248d9eef14af6834d3dfd52040472675 by Nate Graham, on behalf of Andrey Butirsky. Committed on 26/10/2021 at 15:49. Pushed by ngraham into branch 'Plasma/5.23'. [keyboard kcm] fix lost Locks state on keymap reconfigure Fixes Num/Caps Locks (do we need Scroll also?) (cherry picked from commit be35ef6a9a812052910066bed2005a2b3bb92ec4) M +28 -11 src/xkb.cpp https://invent.kde.org/plasma/kwin/commit/451bc8dc248d9eef14af6834d3dfd52040472675