KomodoOpenLab / tecla-framework

This repo is now deprecated, please move on to https://github.com/idrc/tecla-hud
http://komodoopenlab.com/tecla/
2 stars 9 forks source link

Input stays on IME settings upon initial trigger #382

Open k22mak opened 11 years ago

k22mak commented 11 years ago

Upon first focus of an edittext view, the onStartInputView() gets called in TeclaIME. This triggers the setup of the keyboardview variable kbv. The kbv variable is the variable to be used to determine if the switch events will be directed to the keyboard, or the HUD. On hide of the keyboard, the onFinishInputView() will clear the kbv variable and show the HUD as expected. The issue comes from the next event that happens. Any event will retrigger the onStartInputView() method, which will reinitialize the kbv and further redirect all inputs to the keyboard.

@jorgesilva Would you have any insight on this? Not quite sure if i'm not understanding the IME lifecycle for this.