DreymaR/BigBagKbdTrixXKB

equal symbol is not working

Opened this issue · 3 comments

I'm using the extend layer option, after installing the xkb files on my system. All seems to work well on most applications, but the extend layer appears to break my "equal" symbol. The key doesn't produce any output on any of my applications. Strangely, the second level of the key, "+" works fine.
Looking at the output of xev I see that the key press event is not triggered, instead something else called KeymapNotify:

KeymapNotify event, serial 28, synthetic NO, window 0x0,
    keys:  4294967172 0   32  0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 28, synthetic NO, window 0x5800001,
    root 0x784, subw 0x0, time 1107135, (490,431), root:(490,460),
    state 0x0, keycode 21 (keysym 0x3d, equal), same_screen YES,
    XLookupString gives 1 bytes: (3d) "="
    XFilterEvent returns: False

And here is the output of xev for the shifted version, that produces a + without problem:

KeyPress event, serial 25, synthetic NO, window 0x5800001,
    root 0x784, subw 0x0, time 5845125, (399,579), root:(399,608),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x5800001,
    root 0x784, subw 0x0, time 5845311, (399,579), root:(399,608),
    state 0x1, keycode 21 (keysym 0x2b, plus), same_screen YES,
    XLookupString gives 1 bytes: (2b) "+"
    XmbLookupString gives 1 bytes: (2b) "+"
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x5800001,
    root 0x784, subw 0x0, time 5845389, (399,579), root:(399,608),
    state 0x1, keycode 21 (keysym 0x2b, plus), same_screen YES,
    XLookupString gives 1 bytes: (2b) "+"
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x5800001,
    root 0x784, subw 0x0, time 5845735, (399,579), root:(399,608),
    state 0x1, keycode 50 (keysym 0xffe5, Caps_Lock), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

update, I tried unchecking all the layout options in the GUI, and revert to the most vanilla us standard keyboard. Then proceed to activate the extend option, and this alone produces the bug above. This should rule out any complicated iteraction of layout and option as source of the problem.

Any suggestion on how I could proceed to debug this issue? The extend file looks fine, nothing special in the definition of the = key. Yet this option alone on top of the most basic us keyboard layout produces the error above.

As you say, there's nothing strange about the Extend entry for the equals key (key ) that I can see. If you comment out the lines in that entry alone, the problem appears?

How about if you swap key codes between that line and another that's currently working for you? Could you try that out please?

Bear in mind that to reset the xkb options you should open with an empty option string, like this:
setxkbmap -option "" -option "misc:extend"