wrong caps lock state indicator

Bug #925919 reported by 3demax@ukr.net
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
indicator-keylock
Confirmed
Medium
Thea Barnes

Bug Description

I have the folowing config:

Part of /etc/X11/xorg.conf:
Section "InputClass"
        Identifier "keyboard-layout"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us, ru"
        Option "XkbOptions" "grp_led:caps"
EndSection

On session start this string is executed:
setxkbmap -layout "us, ru" -option "grp:caps_toggle,grp_led:caps"&

That means I set CapsLock key to switch between keyboard layouts, so pressing CapsLock toggles layouts and CapsLock led simultaneously . And to actually toggle caps you need to press Shift+CapsLock.

To reproduce the bug:
make sure indicator-keylock is running
Toggling CapsLock on and off switches layouts but not making able to type actual "caps", but indicator-keylock is showing that CapsLock state changes
And when Shift+CapsLock pressed, actual "caps" state changed and one can write with caps symbols, but indicator-keylock is not reacting to it.

Expected behavior:
CapsLock toggles layouts and indicator-keylock ignores that
Shift+CapsLock toggles caps and therefore indicator-keylock reacts and turn indicator on and off in respond.

Tags: capstoggle xkb
Revision history for this message
3demax@ukr.net (3demax) wrote :
Thea Barnes (tsbarnes)
Changed in indicator-keylock:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → T. Scott Barnes (tsbarnes)
Revision history for this message
Thea Barnes (tsbarnes) wrote :

I'll need to look into alternative methods of determining the lock state, as right now it simply displays the state according to the keyboard itself, which in your setup is not what it needs to be displaying. I can't give an ETA on a fix, but I'm looking into it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.