Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#3 closed defect (worksforme)

Dead keys get inserted and break typing of accented characters

Reported by: jteh Owned by:
Milestone: 2009.1 Component: Core
Keywords: Cc:
Blocked by: Blocking:


In several non-English keyboard layouts, accented characters are entered by first pressing a special accent key (a dead key), followed by pressing the character to be accented. The dead key normally produces no output. Output only occurs once the second character has been pressed and should only be a single character. pyHook breaks this behaviour. With pyHook hooking the keyboard, dead keys produce output immediately when typed and do not have any effect on the second character, thus breaking typing of these accented characters completely.

This seems to be an issue with the ToAsciiEx function which is used by pyHook. It seems that ToAsciiEx flushes the keyboard buffer when a dead key is typed. More info can be found at

pyHook needs to be fixed. We should be using ToUnicodeEx anyway, as many international characters can't be represented in ASCII, and should investigate whether it also exhibits this problem.

Change History (2)

comment:1 Changed 8 years ago by pvagner

  • Resolution set to worksforme
  • Status changed from new to closed

This no longer seems to be a problem in trunk. Should this ticked be closed then?

comment:2 Changed 7 years ago by aleksey_s

  • Milestone set to 0.6
  • version set to 0.5
Note: See TracTickets for help on using tickets.