Details
-
Bug
-
Resolution: Invalid
-
P4: Low
-
None
-
5.3.1
-
Android 4.4.2
-
-
2023wk32FOQtforAndroid
Description
Behaviour of Qt.inputMethod.show and touching TextInput are inconsistent. Qt.inputMethod.show resizes window so that keyboard fits where as TextInput keeps original window size, but moves it if it would be obscured by the virtual keyboard.
In attached application press "press first" resizes the window (uses Qt.inputMethod.show()).
Then close and run application, touching the TextInput ("press after") will keep window size the same but just moves it.
Behaviour of Qt.inputMethod.show() would be better than moving, now it makes items that were in upper parts of the page to be inaccessible.
There is also another issue, TextInput does not move the window if keyboard is already open, but just resizes it when it gains focus:
1. start application
2. press "press first" (this opens keyboard with Qt.inputMethod.show())
3. press "press after" (this resizes window to full screen size)
This makes actual TextInput to be under the keyboard.