xpra icon
Bug tracker and wiki

Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#2574 closed defect (fixed)

html5 oninput does not map well to a keymap

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: html5 Version: 3.0.x
Keywords: Cc:


The first problem, solved for "spacebar" in r25130, is that we don't get the keyname we expect so we have to map the character to its (X11) keyname.

The second problem is that the keyname may map to a keycode that requires modifiers to be accessed.
ie: "&" shows up as "7"

Change History (1)

comment:1 Changed 10 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

This is fixed in r25174 (+r25175) by adjusting the "shift" and "mode" modifiers to match the level of the matching keycode we found.
This change can potentially cause problems, so it won't be backported to v3 just yet.

Last edited 10 months ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.