When xkb group switch key generates multiple presses led indicator is out of sync
Submitted by Andriy Rysin
Assigned to Xorg Project Team
Description
If I enter the command setxkbmap -layout us,ua -option -option grp:lwin_toggle,grp_led:num and try to keep left win key pressed the layout in x.org actually switches many times but the led indicator is changed only once. In the end if you release the button and see that the layout randomly chosen and if you have indicator like kxkb it'll have proper flag/label to what the input layout is, but the led indicator changes only once per press and thus may be wrong.
This does not happen with modifier-only switch like Alt or Ctrl or Ctrl+Shift, only for keys wich generate symbols when pressed (like Win).
Forwarded from https://bugs.kde.org/show_bug.cgi?id=177869
Version: 7.4 (2008.09)