[Remoting Android] Most input methods are not working |
|||||
Issue descriptionVersion: ToT Android Client OS: 7.0 NRD90M What steps will reproduce the problem? (1) Connect to a remote host (2) Press the keyboard button on the action bar (3) Choose Chinese Pinyin, Cantonese, Korean, Indic as the input method What is the expected output? The keyboard for the correct language will show up. What do you see instead? The default English keyboard shows up. Only letters can be typed. These input methods work correctly in other apps. However it looks like Japanese IM and Google voice work correctly, which don't use a qwerty-like keyboard layout.
,
Aug 29 2016
This may not be a regression. Tried M49 and it still doesn't work. Didn't have a chance to try it on Android 6 or earlier OS though.
,
Aug 29 2016
Looks like we configured the keyboard to work in direct key input mode (outAttrs.inputType = InputType.TYPE_NULL) but input methods like Pinyin and Korean only work in rich input mode and will fallback to the English keyboard if direct key mode is requested. Looks like switching to rich input mode will basically fix this problem but we will lose the number row on the top of the keyboard and currently I still have trouble making the backspace key work correctly...
,
Aug 31 2016
Does everything actually work correctly when you enable rich input methods? I believe there is still work required to handle them correctly and that's why it's disabled right now. Changing input mode to TEXT would also enable word prediction and swipe for all languages and AFAIK these are not handled correctly (e.g. tapping a word suggestion and then backspace should erase the whole word, but that doesn't work correctly in CRD) Still it would be great to fix this, maybe as a special keyboard mode, e.g. similar to touch/mouse modes?
,
Aug 31 2016
> Does everything actually work correctly when you enable rich input methods? Looks like it basically works. Just that the backspace key needs to be handled explicitly. Haven't tested typing non-English words yet since it seems the Linux host doesn't handle non-ASCII characters for some reason. I will test this on Windows when I get home. You can take a look at this unsent CL if you like: https://codereview.chromium.org/2293693002/ > I believe there is still work required to handle them correctly and that's why it's disabled right now. Changing input mode to TEXT would also enable word prediction and swipe for all languages and AFAIK these are not handled correctly (e.g. tapping a word suggestion and then backspace should erase the whole word, but that doesn't work correctly in CRD) There is a special InputType bit named `TYPE_TEXT_FLAG_NO_SUGGESTIONS`, which can turn off word prediction on TEXT mode.
,
Aug 31 2016
On Linux text events are injected by emulating key events, so it works only for characters present on the current keyboard layout.
,
Aug 31 2016
Since it's a virtual keyboard, I think we can just add another key to it whenever we need to generate a character that doesn't already exist.
,
Aug 31 2016
Yes, it's possible to make text events work correctly with X11 by modifying keyboard layout, it's just not implemented right now.
,
Sep 1 2016
Tried rich input mode on Windows and Pinyin works correctly. Not sure whether this is a good time to turn on rich input...
,
Oct 10 2016
,
Jan 4 2017
,
Jan 27 2017
,
Aug 23
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dah...@chromium.org
, Aug 25 2016Owner: yuweih@chromium.org
Status: Assigned (was: Untriaged)