Public bug reported:

Binary package hint: xkeyboard-config

I using Ubuntu 6.06 and I have this problem that's really annoying. When
I press AltGr+Shift (AltGr then Shift) is not the same as when I press
Shift+AltGr (Shift then AltGr).

I have configured two layouts: gb (I have a UK keyboard) and ro (as I'm
romanian). Changing between the two layouts works fine, no problem here.
I can even use AltGr+whatever to obtain the characters that are
configured. What I don't manage to obtain is the characters that are
configured for using with AltGr+Shift.

Here is what my "InputDevice" section in xorg.conf looks like:

Section "InputDevice"
            Identifier "Generic Keyboard"
            Driver "kbd"
            Option "CoreKeyboard"
            Option "XkbRules" "xorg"
            Option "XkbModel" "pc104"
            Option "XkbLayout" "gb,ro"
            Option "XkbVariant" ",std"
            Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"           
   
            Option "AutoRepeat" "250 30"
EndSection


Regardless of the layout that's currently active, when I press AltGr then Right 
Shift (AltGr+Shift) I get the characters that I get when I press only AltGr 
(this is incorrect). When I press Right Shift then AltGr (Shift+AltGr) I obtain 
the characters that are configured for the forth level in the keymap (this is 
correct).

For example, in the romanian layout, when I press AltGr+[, I obtain [;
when I press AltGr+Shift (AltGr then Shift), I obtain the same [, as if
I only pressed AltGr (I should have obtained {); when I press
Shift+AltGr (Shift then Altgr) I obtain { like it supposed to be.

I have run xev to view what symbols are produced when I press
AltGr+Shift and Shift+AltGr. Here is what I found (don't know what to
make of it though...):

when I press Shift then AltGr:

KeyPress event, serial 26, synthetic NO, window 0x3800001, 
root 0x4c, subw 0x0, time 2776635468, (551,473), root:(561,533),
state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x3800001,
 root 0x4c, subw 0x0, time 2776636395, (551,472), 
 root:(561,532),
 state 0x1, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
 XLookupString gives 0 bytes:
 XmbLookupString gives 0 bytes:
 XFilterEvent returns: False


when I press AltGr then Shift:

KeyPress event, serial 29, synthetic NO, window 0x3800001, 
root 0x4c, subw 0x0, time 2776640728, (551,470), 
root:(561,530),
 state 0x0,
 keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
 same_screen YES,
 XLookupString gives 0 bytes:
 XmbLookupString gives 0 bytes:
 XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x3800001, 
 root 0x4c, subw 0x0, time 2776641687, (551,470), 
 root:(561,530), 
 state 0x80, keycode 62 (keysym 0x0, NoSymbol), 
 same_screen YES, 
 XLookupString gives 0 bytes: 
 XmbLookupString gives 0 bytes: 
 XFilterEvent returns: False


The "keysym 0x0, NoSymbol" part really puzzles me... It should have been 
ISO_Level3_Shift, like when I press Shift+AltGr, isn't it?

I'm wondering why AltGr+Shift (AltGr then Shift) is not the same thing
as Shift+AltGR (Shift then AltGr). This is really annoying.

I found a bug in the freedesktop.org bugzilla
(https://bugs.freedesktop.org/show_bug.cgi?id=2871) that is quite old:
is opened on 2005-03-31. Nobody seems to know the answer...

** Affects: xkeyboard-config (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
AltGr+Shift not the same as Shift+AltGR
https://launchpad.net/bugs/54724

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to