Opened 13 years ago

Closed 12 years ago

#2097 closed defect (fixed)

handle compositionStart/End within onkey psuedo events

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 0.9
Component: General Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description

When inputting characters using an input method, such as Asian languages, onCompositionStart/End events are sent instead of (or in addition to) onKeyDown events.

Change History (2)

comment:1 Changed 12 years ago by liucougar

In Firefox, when typing CJK (and other languages which require an input method), compositionStart/End will be fired

you can see these events in firebug: in html tab, find the input element you are interested, right click it and select "log events", and you will see events generated for this element in the firebug console (firebug 1.0 beta)

have a look at the combobox code, it has compositionStart/End support implemented

comment:2 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [7106]) Fixes #2097. compositionStart/End are not key events and thus shouldn't be caught for all widgets. ComboBox? uses compositionEnd to initiate a search. The key value was undefined so I'm using this defect to fix that.

Note: See TracTickets for help on using tickets.