xpra icon
Bug tracker and wiki

Opened 2 weeks ago

Last modified 2 weeks ago

#2946 assigned defect

Alt_R key is sending ISO_Level3_Shift

Reported by: atoddcci Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: keyboard Version: 4.0.x
Keywords: Cc:

Description

I am using Ubuntu 20.04 inside WSL2 on Windows 10.
On Windows 10, I'm running Xpra 4.0.4.
In Ubuntu, I'm running v4.0.4-r27557.

I'm new to Xpra but I'm really impressed by how good it looks relative to some of the other options out there for WSL, and I think that the Xpra approach is probably more secure as well. Thanks for this project.

I have a standard US keyboard, which has Alt keys on the left and right. The left one works fine, however, the right one is not sending Alt_R, it's sending ISO_Level3_Shift. The problem happens both with and without keyboard sync.

When I run keyboard-test on the Windows side, it reports Alt_R. However, when I run it on the WSL side, it reports ISO_Level3_Shift.

I'm attaching some initial debugging files and can provide more later; I'm hoping that since this is such a common setup I'm missing something obvious. Thank you.

I see the same in xev:

KeyPress event, serial 33, synthetic NO, window 0x800001,
root 0x388, subw 0x0, time 16631071, (151,0), root:(288,166),
state 0x0, keycode 92 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False 

Keymap looks normal:

xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwerty)" };
xkb_types     { include "complete"      };
xkb_compat    { include "complete"      };
xkb_symbols   { include "pc+us+inet(evdev)"     };
xkb_geometry  { include "pc(pc104)"     };
}; 
rules:      evdev
model:      evdev
layout:     us

Attachments (3)

bugreport.txt.zip (51.4 KB) - added by atoddcci 2 weeks ago.
Output from the bug report UI
xmodmap-pm.txt (448 bytes) - added by atoddcci 2 weeks ago.
xmodmap -pm output
xmodmap-pke.txt (9.9 KB) - added by atoddcci 2 weeks ago.
xmodmap -pke output

Download all attachments as: .zip

Change History (4)

Changed 2 weeks ago by atoddcci

Attachment: bugreport.txt.zip added

Output from the bug report UI

Changed 2 weeks ago by atoddcci

Attachment: xmodmap-pm.txt added

xmodmap -pm output

Changed 2 weeks ago by atoddcci

Attachment: xmodmap-pke.txt added

xmodmap -pke output

comment:1 Changed 2 weeks ago by Antoine Martin

Status: newassigned
Note: See TracTickets for help on using tickets.