x/mobile: key events not fired for predictive keyboards #38179
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
On a Samsing Galaxy S10, running Android 10 (this was not an issue with the keyboard they shipped in Android 9) key events are no longer fired when the (default) predictive text is turned on.
Some other apps, such as Termux (termux/termux-app#686) report that words appear after space/enter etc - however that is not true for gomobile. Each time a word should display a single "unknown key code" event is fired and no characters.
What version of Go are you using (
go version
)?1.12, 1.13, 1.14
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?I think the environment on the Android phone is most relevant, but I don't know what to provide.
Code works fine on older keyboards, or if you turn off the predictive text
What did you do?
What did you expect to see?
I want to see characters as they are entered. There are various docs about how to disable prediction (such as https://developer.android.com/reference/android/text/InputType#TYPE_NULL) but I cannot figure out how to set those options in a default gomobile app, as the root view does not seem to be configurable in GoNativeActivity.java.
What did you see instead?
(as above)
The text was updated successfully, but these errors were encountered: