Bug 18320

Summary: 'us' secondary layout incompatible with (among others) compose:caps option
Product: xkeyboard-config Reporter: Lionel Elie Mamane <lionel>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: lionel
Version: unspecifiedKeywords: patch
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Remove CAPS setting from US; rely on default

Description Lionel Elie Mamane 2008-10-30 23:23:39 UTC
With these settings for XKB:

	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"pl,us"
	Option		"XkbVariant"	""
	Option		"XkbOptions"	"compose:caps"

The "compose:caps" option does not work properly: The Caps Lock key
both switches caps lock and serves as compose instead of only compose
key.

The same happens with any secondary layout that includes 'us', such as
'ro'.

The attached patch fixes the problem, and does not break caps lock in
a pure us layout (no variant, no options).
Comment 1 Lionel Elie Mamane 2008-10-30 23:24:15 UTC
Created attachment 19974 [details] [review]
Remove CAPS setting from US; rely on default
Comment 2 Sergey V. Udaltsov 2008-12-28 17:24:54 UTC
Well spotted! Thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.