xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1119 closed defect (fixed)

altgr workaround causes spurious ctrl key events to be sent

Reported by: Antoine Martin Owned by: alas
Priority: major Milestone: 0.17
Component: keyboard Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

Related to #62, see also #923, #824, #759, #602, #425.

The workaround detects when Alt_R follows Control_L and undoes the control keypress. This causes applications to see the control key pressed briefly.
We should try to detect those spurious key events and avoid sending them.

Change History (5)

comment:1 Changed 4 years ago by Antoine Martin

Status: newassigned

Mostly implemented in r11924.

Still TODO:

  • simulate the AltGr key even instead of swallowing it all and relying on mouse or subsequent key events to set the modifiers (as some applications may rely on the state of altgr to change their UI)
  • backports for older branches - after checking for regressions (as per list of tickets in bug description)
Version 0, edited 4 years ago by Antoine Martin (next)

comment:2 Changed 4 years ago by Antoine Martin

Backport to v0.16.x in r11995 (+fixups in r11998 + r12000)

comment:3 Changed 4 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas
Status: assignednew

@afarr: just a FYI, please close. You are unlikely to trigger this code unless you use a keyboard layout using altgr on win32.

comment:4 Changed 4 years ago by alas

Resolution: fixed
Status: newclosed

Noted... and I don't, so I'll just close and presume I'll remember if it ever comes up again.

comment:5 Changed 4 years ago by Antoine Martin

Description: modified (diff)
Note: See TracTickets for help on using tickets.