Bug 18320 - 'us' secondary layout incompatible with (among others) compose:caps option
Summary: 'us' secondary layout incompatible with (among others) compose:caps option
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-10-30 23:23 UTC by Lionel Elie Mamane
Modified: 2008-12-28 17:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Remove CAPS setting from US; rely on default (328 bytes, patch)
2008-10-30 23:24 UTC, Lionel Elie Mamane
Details | Splinter Review

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.