GNOME Bugzilla – Bug 740914
Please respect allowMultipleSelection option in xkb data
Last modified: 2016-04-14 18:47:21 UTC
In the "Typing" section, XKB option settings are listed but all those options are assumed to be select-only-one style settings. But some XKB options have "allowMultipleSelection" tag so multiple choices could be selected. For example in /usr/share/X11/xkb/rules/base.xml file, <group allowMultipleSelection="true"> <configItem> <name>grp</name> <description>Switching to another layout</description> </configItem>
Rui, this would be a nice bug to look at if you need a break from mutter - it would make the tweak tool xkb support much more useful.
Created attachment 325886 [details] [review] xkb: Support multiple selection options -- I hardcoded the list of options that allow multiple selection because I don't want to add API to gnome-desktop at this point and this isn't something that's going to change any time soon anyway. I'll include this in a 3.20.1 resease.
Attachment 325886 [details] pushed as 7d1803f - xkb: Support multiple selection options
Thanks Rui! I think the ui would be less confusing if the non-multi groups would still use radio buttons and added a 'Disabled' alternative.
Created attachment 326046 [details] [review] xkb: Use radio buttons for single selection options
Created attachment 326047 [details] [review] xkb: Sort options by their description
Attachment 326046 [details] pushed as 590931b - xkb: Use radio buttons for single selection options Attachment 326047 [details] pushed as 72d6126 - xkb: Sort options by their description