Bug 1589008

Summary: Regression with 2.24: XKB_DEFAULT_OPTIONS not interpreted properly as with 2.23
Product: [Fedora] Fedora Reporter: Jan Pokorný [poki] <jpokorny>
Component: xkeyboard-configAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, alexl, caillon+fedoraproject, i18n-bugs, john.j5live, jpokorny, mbarnes, negativo17, peter.hutterer, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-28 12:15:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pokorný [poki] 2018-06-08 08:05:29 UTC
I am setting these environment variables:

export XKB_DEFAULT_LAYOUT=us,cz
export XKB_DEFAULT_OPTIONS=caps:swapescape,grp:shift_caps_toggle,grp_led:scroll

However, after said upgrade, this configuration doesn't work properly
in sway WM (IIRC, cannot exchange layout with SHIFT+CAPS and "CAPS - ESC swap"
doesn't work as expected, either -- ESC will work as ordinary CAPS but
not vice-versa, but at least double ESC has the effect of ordinary "ESC").

Currently, I am forced to stay at 2.23.

Comment 1 Peter Hutterer 2018-06-28 06:07:21 UTC
Is that still the case with xkeyboard-config-2.24-2 ?

There was a bug in -1 that has been fixed since, see bug 1587998

Comment 2 Jan Pokorný [poki] 2018-06-28 12:15:23 UTC
Actually, updated the package yesterday only to be tested with a full
reboot today -- and I can confirm the behaviour matches the expectations
again.

Thanks, Peter!