codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
https://www.codenameone.com/
Other
1.72k stars 409 forks source link

[BUG] AutoCompleteTextField stopped at all to work in some Forms #2908

Closed jsfan3 closed 5 years ago

jsfan3 commented 5 years ago

Probably this is my less precise bug report, without test case (because I didin't find it): my AutoCompleteTextComponents stopped at all to work in some Forms (on Android only, they are fine on iOS), while they continue to work in other Forms. The fact is that I didn't touched that code, because in the last two weeks I worked to other code.

So, in few words: I'm having a lot of odd issues with TextAreas and AutoCompleteTextFields, as I reported in other bug reports (https://github.com/codenameone/CodenameOne/issues/2905, https://github.com/codenameone/CodenameOne/issues/2906, https://github.com/codenameone/CodenameOne/issues/2907).

The common aspects of these bugs are that:

So I suppose that you modified something that impacts on TextAreas and on the VKB on Android.

jsfan3 commented 5 years ago

SOLVED! (After days of trials...) I'm sorry, the cause of this issue on Android only was not in the AutoCompleteTextField class, but in my override of some methods of that class, that, for some reason, it was ok in the past but it's not ok now. I removed my code and now the AutoCompleteTextField works fine also on Android.