0

I have an issue with updating content of a TextField during writing on a nativ Android keyboard. The problem is that the input text is not displayed until the space or enter button is pressed. I observed this behaviour on Samsung S10e Android 10. I tried the same app on different device (Lenovo Android 7) and it behaves as expected - The text is updated after single button press.

I've found similar issue here but there is no solution or workaround for my case.

Is there any way to force the TextField to update?

  • What is your jfxmobile plugin version? – José Pereda May 23 '20 at 20:44
  • org.javafxports:jfxmobile-plugin:1.3.16 – Jan Švanda May 23 '20 at 20:48
  • Update to 1.3.18 and try again. There are some fixes that might help. – José Pereda May 23 '20 at 20:49
  • It's a shame but the update didn't help. – Jan Švanda May 23 '20 at 21:11
  • If I get it right, you can type any character, but you don't see anything until you press space or enter? Can you add a listener to the `textField.textProperty()` to print to the console any change. Then start typing and see if that shows up (use `adb logcat` to find out)? – José Pereda May 23 '20 at 21:24
  • Exactly, the text is shown after pressing space or enter. I've added a listener to the TextField and I saw a printout after pressing space or enter only. While I'm writing there are no printout int log. – Jan Švanda May 23 '20 at 22:13
  • Can you give it a try to the new Client plugin? See https://github.com/gluonhq/client-samples. Add a `TextField` control to HelloFX and deploy to your Android device (you need a Linux machine though). – José Pereda May 24 '20 at 12:58

0 Answers0