Archive 17/01/2023.

[SOLVED] Virtual keyboard’s behavior on Android

Mike

When activating the console on Android, the virtual keyboard immediately pops up, which is not always desirable.

I’d like to know how to slightly tweak this behavior from lua script, so that virtual keyboard gets activated only when the console’s lineEdit is touched.
I’ve already tried to modify lineEdit using console.lineEdit but with no success.

Currently the keyboard pops up and I press Enter to remove it.

cadaver

There is now a property (focusOnShow) in Console to control the behavior. It defaults to false on platforms that show the screen keyboard for LineEdit’s.

Mike

Awesome, console is an invaluable tool :slight_smile:
Many thanks.