Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297464 - x11-misc/xkeyboard-config-1.7: Spanish layout AltGr+4 (tilde) is now a dead key
Summary: x11-misc/xkeyboard-config-1.7: Spanish layout AltGr+4 (tilde) is now a dead key
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 21:27 UTC by Hector Martin
Modified: 2009-12-23 22:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Revert upstream change (no-es-dead-tilde.patch,695 bytes, patch)
2009-12-18 21:29 UTC, Hector Martin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2009-12-18 21:27:43 UTC
The Xorg keyboard layout for Spanish has used AltGr+4 (tilde) as a regular dead key for ages. Apparently this was changed to a dead key, even though Spanish has no use for this since we don't have any characters such as ã or õ (save for ñ, but that's a separate alphabet letter and gets its own key). This change is disruptive enough to cause data loss in common shell usage scenarios.

A long and overwhelmingly negative response to this change can be read at the Debian bug tracker: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477197

The change was added and then reverted upstream years ago. For some reason, it just got readded: http://cgit.freedesktop.org/xkeyboard-config/commit/?id=d99fded6663ff2e13dbac287ea0de52130ef93eb. This made it into 1.7, which just hit stable in Gentoo.

I understand the reasoning that AltGr+4 is dead on Windows and also that AltGr+ñ produces non-dead ~, but this is a disruptive change that goes against many years of established tradition under Linux and requires end users to relearn their layout. This is particularly damaging when typing things like 'rm *~`, which instead results in 'rm *'. I almost got bit by this the first time I noticed.

Older freedesktop bug report:
http://bugs.freedesktop.org/show_bug.cgi?id=9763
New freedesktop bug report:
http://bugs.freedesktop.org/show_bug.cgi?id=23876
Due to potential end-user frustration and even data loss (rm *~ is pretty common), I suggest this be patched out in Gentoo stable until upstream undoes it again. Keeping the old behavior certainly isn't going to make anyone mad for the time being, so I don't see a downside.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to x11-misc/xkeyboard-config-1.7
2. dispatch-conf etc.
3. Configure Xorg for the Spanish keyboard layout and restart
4. Type AltGr+4

Actual Results:  
Instant ascii tilde.

Expected Results:  
Dead key, tilde appears only after pressing the spacebar.
Comment 1 Hector Martin 2009-12-18 21:29:45 UTC
Created attachment 213425 [details, diff]
Revert upstream change

This reverts the offending change
Comment 2 Hector Martin 2009-12-23 22:40:54 UTC
Okay, I just did a --noconfmem reemerge and this is not reproducible. Sorry about that. I have no clue how the original issue happened but clearly I pointed my finger at the wrong change.