Bug 7674 - UK Keyboard driver dropped compose support
Summary: UK Keyboard driver dropped compose support
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 07:00 UTC by Alan Cox
Modified: 2006-09-05 12:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add lv3:ralt_switch_multikey (1.63 KB, patch)
2006-09-04 05:46 UTC, Denis Barbier
Details | Splinter Review

Description Alan Cox 2006-07-28 07:00:43 UTC
Prior to Fedora Core 5 it was possible to use X.org in a UK environment. Various
symbols needed in the UK for real practical use (i + ", a+e, etc) plus those
needed for anyone dealing with names or foreign language names (notably western
european and eastern european accented symbols) could be typed using the
shift-altgr compose sequence. Not all are available without shift-altgr.

In FC5 this feature only works outside of X11 and it makes it very unusable for
serious work. en_GB (properly en_UK but thats another story) does actually
require shift-altgr compose support and it should be restored. This is a revert
from FC4 where it all just worked.

(Note; Mike Harris asked me to file this upstream so if its Fedora specific ... 8))

Linux 2.6.x, compose working correctly in console modes not X
Duplicatable in both xterm and gnome
Comment 1 Adam Jackson 2006-08-22 07:59:33 UTC
http://bugzilla.redhat.com/bugzilla/attachment.cgi?id=134203

Is claimed to fix it.
Comment 2 Daniel Stone 2006-08-22 08:30:17 UTC
NACK.  this stomps RALT level1 regardless of whether it's Alt_R or
ISO_Level3_Shift.  there was a better fix for this, which is in
xkeyboard-config, that has a different compose if you're using ralt as l3.
Comment 3 Sergey V. Udaltsov 2006-08-30 16:59:38 UTC
I'd tend to agree with Daniel and close this one. Feel free to reopen if you
think current code is not good enough.
Comment 4 Alan Cox 2006-08-31 01:59:56 UTC
"I'd tend to agree with Daniel and close this one. Feel free to reopen if you
think current code is not good enough."

Re-opened.

This is a regression from X.org 6.8 or so and earlier (back into the mists of
time when Xkb first appeared). Please restore the older correct default
behavioiur (eg Fedora Core up to FC4) so that the UK keyboard is by default
actually usable in the UK and works in the manner that people (particularly
non-English users) expect and have documented.

I've no idea who decided to break the UK keyboard this way but please revert
their changeset.
Comment 5 Sergey V. Udaltsov 2006-09-01 17:16:56 UTC
Alan, the funny thing that level3(ralt_switch) has not been changed for a long
time. Well, anyway, I understand that it is not the only component in the system. 
There is more important question. You want "shift+ralt" work as Compose, don't
you? But what about 4th shift level, which is also available using "shift+ralt"?
In symbols/gb, I see:

    key <AE02>  { [         2,   quotedbl,  twosuperior,    oneeighth ] };
    key <AE03>  { [         3,   sterling, threesuperior,    sterling ] };
    key <AE04>  { [         4,     dollar,     EuroSign,   onequarter ] };

    key <AC11>  { [apostrophe,         at, dead_circumflex, dead_caron] };
    key <TLDE>  { [     grave,    notsign,          bar,          bar ] };

    key <BKSL>  { [numbersign, asciitilde,   dead_grave,   dead_breve ] };
    key <LSGT>  { [ backslash,        bar,          bar,    brokenbar ] };

So if we set ralt+shift as Compose, the 4th shift level (oneeighth, sterlin, ..
brokenbar) would be inaccessible.

What is the correct expected behavior?
Comment 6 Alan Cox 2006-09-04 03:02:48 UTC
As I understand it shift-rightalt [remove paws from keyboard] char1 char2  is
not the same as
shift-rightalt-key.

The version in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193922
appears to get us back to where it was prior to Fedora Core 5/Xorg changes and
it is now possible to type all the additional characters needed for UK work.
Comment 7 Denis Barbier 2006-09-04 05:46:20 UTC
Created attachment 6807 [details] [review]
Add lv3:ralt_switch_multikey

Here is a patch to add an lv3:ralt_switch_multikey option.
IIRC this option did exist at some point in the past but
has been dropped.
Comment 8 Sergey V. Udaltsov 2006-09-04 10:34:11 UTC
I am quite happy with this XkbOption. Alan, would it be ok for you just to have
this option - or would you insist on inserting it into UK layout by default?
Comment 9 Sergey V. Udaltsov 2006-09-04 10:39:22 UTC
Anyway, the option is added.
Comment 10 Alan Cox 2006-09-04 12:01:11 UTC
With a Red Hat on, if it isn't in by default it's a regression from RHEL4. It's
also documented so losing it breaks all the docs.
Comment 11 Sergey V. Udaltsov 2006-09-05 12:39:21 UTC
OK, committed. Seems to be working ok. Should I also change gb(intl)?
Comment 12 Alan Cox 2006-09-05 12:50:08 UTC
Unknown - I don't know what the old behaviour of gb(intl) was.
Comment 13 Sergey V. Udaltsov 2006-09-05 12:53:15 UTC
Ok, for a moment I'll close this one. If people complain, I update gb(intl) as well.

(In reply to comment #12)
> Unknown - I don't know what the old behaviour of gb(intl) was.
> 



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.