Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
5.12.6
-
AndroidTV: 9 ( Pie )
Kernel version: 4.9.113
Using remote on TV device.
Description
If we have for example, two QML components ( Login.qml, Profile.qml ) and they have a TextField component with a different definition of inputMethodHints then an error comes up.
Suppose our first component after app load is Login.qml and it has two TextField with different inputMethodHints.
Login.qml
TextField { id: inputFieldUsername inputMethodHints: Qt.ImhSensitiveData } TextField { id: inputFieldUsername inputMethodHints: Qt.ImhNoAutoUppercase }
After Login.qml, State is changed then shows up Profile.qml which has one TextField:
TextField { id: inputFieldUsername inputMethodHints: Qt.ImhDigitsOnly }
When user is on Profile.qml and want type only numbers an error occurs with virtual keyboard which has all chars, not only numbers.
Error:
QMetaObject::invokeMethod: No such method QQuickItem_QML_21::inputMethodQuery(Qt::InputMethodQuery,QVariant)
Notice:
Error is not displayed on Android 8 or oldest versions.