I use ATOK12 on Solaris for converting Japanese character.But it does not work
on tcl/tk 8.4.4 and 8.4.13.
When I convert Japanese character to KANJI on a text area, input server(ATOK12)
makes an auxiliary area(an auxiliary window) for selecting from some KANJI. But
nothing can be input on the text area after selecting a KANJI .
When ATOK12 makes an auxiliary-window, tck/tk receives a FocusOut event.
After selecting a KANJI on the auxiliary-window, tck/tk receives A KeyPress
event with a KeyCode of zero and then receives a FocusIn event.
In this case I thought event order should be a FocusOut event, a FocusIn event and then
a KeyPress event according to Xlib specifications. So I asked Sun Microsystems
which order is correct.
(A) a FocusOut event -> a FocusIn event -> KeyPress event with a KeyCode of zero
(B) a FocusOut event -> a KeyPress event with a KeyCode of zero -> FocusIn event
Their answer was "Both are OK.". This means Tcl/tk could have same problem not only
ATOK12 but also other input servers.