Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.11
-
Samsung Galaxy S5 with Android 6.0
Description
Attached is a slightly modified "Qt Quick Application - Empty", with a TextInput and a listener to
onVisibleChanged on Qt.inputMethod.
As it can be seen from the annotated logfile, what happens when tapping the TextInput to bring up the on-screen keyboard, is that Qt.inputMethod.visible changes to true, as it should be, but then immediately afterwards changes back to false again.
The following debug from the ViewRootImpl does show the keyboard being dismissed however. It just seems to go missing inside Qt.
D ViewRootImpl: The input has been finished in ImeInputStage.
D ViewRootImpl: The input has been finished in ImeInputStage.
D ViewRootImpl: MSG_RESIZED: ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1
This makes it nigh on impossible to figure out from inside a QtQuick application, "when" a user has dismissed the on-screen keyboard, which is necessary in order to know when to remove highlights etc. from input fields.
This doesn't seem to happen on a newer device with Android 8. (See attached sonyxperiaz5compact.log)