ueno/ibus-fep — Issue #2: Quick-pressing multiple keys confuses ibus-fep?
Author: tamo
Created: 2012-03-06 11:20:09+00:00
State: open

Maybe this occurs only on slow machines, but...

When I try to input "とても" by typing "totemo", ibus-fep (with ibus-skk) sometimes outputs "とoても" or "とmても".
Even in latin-mode, "tomo", "memo", "toeo" or anything wrong is output when I input "temo".

You can place your left-index-finger on the key "T" and your left-middle-finger on "E" at the same time,
also your right-index-finger on "M" and your right-third-finger on "O",
so you can type "temo" very quickly.

Here is a log from "fep -l feplog -- /usr/local/libexec/ibus-fep/fep.wrapper"

Note that the first "temo" (pressed quickly) is interpreted as "tomo",
while the second "temo" (pressed slowly) is not misinterpreted.

```plaintext
1331030289.932177 DEBUG pty read "~ [0] 19:38$ "
1331030291.723519 DEBUG write KEY_EVENT 74000000 00000000
1331030291.765415 DEBUG read RESPONSE 05 01000000
1331030291.767087 DEBUG read SEND_TEXT 7400
1331030291.768163 DEBUG pty read "t"
1331030291.812120 DEBUG write KEY_EVENT 65000000 00000000
1331030291.857958 DEBUG read RESPONSE 05 01000000
1331030291.858300 DEBUG write KEY_EVENT 6D000000 00000000
1331030291.924630 DEBUG read RESPONSE 05 01000000
1331030291.924975 DEBUG write KEY_EVENT 6F000000 00000000
1331030291.926083 DEBUG read SEND_TEXT 6500
1331030291.926175 WARNING not a control response 3
1331030291.926525 DEBUG pty read "o"
1331030291.992195 DEBUG read RESPONSE 05 01000000
1331030291.992326 WARNING no handler defined for 7
1331030291.993529 DEBUG read SEND_TEXT 6D00
1331030291.993830 DEBUG pty read "m"
1331030291.996248 DEBUG read SEND_TEXT 6F00
1331030291.996551 DEBUG pty read "o"
1331030298.582330 DEBUG write KEY_EVENT 74000000 00000000
1331030298.632757 DEBUG read RESPONSE 05 01000000
1331030298.634057 DEBUG read SEND_TEXT 7400
1331030298.634873 DEBUG pty read "t"
1331030298.716853 DEBUG write KEY_EVENT 65000000 00000000
1331030298.758060 DEBUG read RESPONSE 05 01000000
1331030298.759362 DEBUG read SEND_TEXT 6500
1331030298.760785 DEBUG pty read "e"
1331030299.44091 DEBUG write KEY_EVENT 6D000000 00000000
1331030299.85204 DEBUG read RESPONSE 05 01000000
1331030299.86507 DEBUG read SEND_TEXT 6D00
1331030299.87340 DEBUG pty read "m"
1331030299.162993 DEBUG write KEY_EVENT 6F000000 00000000
1331030299.204286 DEBUG read RESPONSE 05 01000000
1331030299.205598 DEBUG read SEND_TEXT 6F00
1331030299.206430 DEBUG pty read "o"
```

Over a ssh connection (on putty), the result varies:

```plaintext
1331032222.316480 DEBUG pty read "~ [0] 20:10$
(fep:8482): IBUS-WARNING **: DISPLAY is empty! We use default DISPLAY (:0.0)
"
1331032222.651517 DEBUG read SET_STATUS_TEXT 5BE381825D2000 03000000000000000000000000000000
1331032224.627149 DEBUG write KEY_EVENT 74000000 00000000
1331032224.670204 DEBUG read RESPONSE 05 01000000
1331032224.671886 DEBUG read SEND_TEXT 7400
1331032224.673014 DEBUG pty read "t"
1331032224.696706 DEBUG write KEY_EVENT 6D000000 00000000
1331032224.740384 DEBUG read RESPONSE 05 01000000
1331032224.740730 DEBUG write KEY_EVENT 65000000 00000000
1331032224.806344 DEBUG read RESPONSE 05 01000000
1331032224.806689 DEBUG write KEY_EVENT 6F000000 00000000
1331032224.807915 DEBUG read SEND_TEXT 6D00
1331032224.808006 WARNING not a control response 3
1331032224.808355 DEBUG pty read "o"
1331032224.873406 DEBUG read RESPONSE 05 01000000
1331032224.873535 WARNING no handler defined for 7
1331032224.874687 DEBUG read SEND_TEXT 6500
1331032224.874980 DEBUG pty read "e"
1331032224.877463 DEBUG read SEND_TEXT 6F00
1331032224.877754 DEBUG pty read "o"
1331032229.797719 DEBUG write KEY_EVENT 0DFF0000 00000000
1331032229.810907 DEBUG read RESPONSE 05 00000000
1331032229.812439 DEBUG pty read "^M
"
1331032229.813432 DEBUG pty read "/bin/ksh: toeo: not found
"
1331032229.814018 DEBUG pty read "~ [127] 20:10$ "
1331032231.865202 DEBUG write KEY_EVENT 74000000 00000000
1331032231.908286 DEBUG read RESPONSE 05 01000000
1331032231.908619 DEBUG write KEY_EVENT 6D000000 00000000
1331032231.972531 DEBUG read RESPONSE 05 01000000
1331032231.972875 DEBUG write KEY_EVENT 65000000 00000000
1331032231.973981 DEBUG read SEND_TEXT 7400
1331032231.974071 WARNING not a control response 3
1331032231.978029 DEBUG write KEY_EVENT 6F000000 00000000
1331032232.39515 DEBUG read RESPONSE 05 01000000
1331032232.39678 DEBUG pty read "e"
1331032232.44700 DEBUG read SEND_TEXT 6D00
1331032232.45018 DEBUG pty read "m"
1331032232.105937 DEBUG read RESPONSE 05 01000000
1331032232.106064 WARNING no handler defined for 7
1331032232.107212 DEBUG read SEND_TEXT 6500
1331032232.109130 DEBUG pty read "e"
1331032232.109945 DEBUG read SEND_TEXT 6F00
1331032232.110209 DEBUG pty read "o"
1331032235.357802 DEBUG write KEY_EVENT 0DFF0000 00000000
1331032235.371004 DEBUG read RESPONSE 05 00000000
1331032235.372484 DEBUG pty read "^M
"
1331032235.373475 DEBUG pty read "/bin/ksh: emeo: not found
"
1331032235.374027 DEBUG pty read "~ [127] 20:10$ "
1331032236.278082 DEBUG write KEY_EVENT 74000000 00000000
1331032236.339844 DEBUG read RESPONSE 05 01000000
1331032236.341157 DEBUG read SEND_TEXT 7400
1331032236.341979 DEBUG pty read "t"
1331032236.368080 DEBUG write KEY_EVENT 65000000 00000000
1331032236.428124 DEBUG read RESPONSE 05 01000000
1331032236.428470 DEBUG write KEY_EVENT 6D000000 00000000
1331032236.491980 DEBUG read RESPONSE 05 01000000
1331032236.492322 DEBUG write KEY_EVENT 6F000000 00000000
1331032236.493463 DEBUG read SEND_TEXT 6500
1331032236.493553 WARNING not a control response 3
1331032236.515478 DEBUG pty read "o"
1331032236.558867 DEBUG read RESPONSE 05 01000000
1331032236.558998 WARNING no handler defined for 7
1331032236.560186 DEBUG read SEND_TEXT 6D00
1331032236.561923 DEBUG pty read "m"
1331032236.562730 DEBUG read SEND_TEXT 6F00
1331032236.562993 DEBUG pty read "o"
1331032238.629611 DEBUG write KEY_EVENT 0DFF0000 00000000
1331032238.642719 DEBUG read RESPONSE 05 00000000
1331032238.644196 DEBUG pty read "^M
"
1331032238.645180 DEBUG pty read "/bin/ksh: tomo: not found
"
```