AltGr+Shift not the same as Shift+AltGR

Bug #54724 reported by Adrian Fita
2
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Invalid
Low
Unassigned

Bug Description

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...

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for your bug report. Do you still have this issue with the latest stable release of Ubuntu ?

Changed in xkeyboard-config:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Ryan Kavanagh (ryanakca) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in xkeyboard-config:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.