rules: setxkbmap deals with empty component differently #497
Labels
bug
Indicates an unexpected problem or unintended behavior
X11 legacy: compatibility
Indicate a need to ensure compatibility with X11
Milestone
Consider the following dummy rules file
~/.config/xkb/rules/dummy
:setxkbmap
andxkbcli compile-keymap
give different result with layout =a,b
:So we somehow match on empty variant
--layout x,y --variant ,
, but not when variant is missing--layout x,y
(or--layout x,y --variant ""
).This neither consistent nor behaves as
setxkbmap
, so this is a bug. Agreed, this does not trigger yet because the current rules ofxkeyboard-config
have cover missing variant, but I did encounter this bug while working onxkeyboard-config#478
.Actions to take:
The text was updated successfully, but these errors were encountered: