Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.12.6, 5.12.7, 6.2, 6.4, 6.5.0 Beta3
-
-
26c2569b7 (dev), 3e7d903f4 (6.5), 9a8f29832 (6.4), 76a9b10dc (tqtc/lts-6.2), 0c6d4d574 (tqtc/lts-5.15)
-
2023wk06FOQtforAndroid, 2023wk08FOQtforAndroid
Description
On android device, when you have any type of TextField and keyboard is shown once, after that if you force change the orientation of the device, you receive:
QMetaObject::invokeMethod: No such method QQuickRootItem::inputMethodQuery(Qt::InputMethodQuery,QVariant)
Same warning is received on every orientation change, forced from the device itself, but without problems.
The result is that main thread stucks, and app crashes. Any call of Qt.inputMethod.hide() or anything else from Qt.inputMethod is not helping at all.
If keyboard is not shown at all, app works just fine. If keyboard is shown through browser inside the app, again everything works fine.
100% reproducible on Android 8.0(Huawei Honor 8) - Microsoft Swift Keyboard
Attachments
For Gerrit Dashboard: QTBUG-82810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
462561,8 | Android: Fix for possible thread deadlock | dev | qt/qtwebview | Status: MERGED | +2 | 0 |
464461,2 | Android: Fix for possible thread deadlock | 6.5 | qt/qtwebview | Status: MERGED | +2 | 0 |
464462,2 | Android: Fix for possible thread deadlock | 6.4 | qt/qtwebview | Status: MERGED | +2 | 0 |
464469,2 | Android: Fix for possible thread deadlock | tqtc/lts-6.2 | qt/tqtc-qtwebview | Status: MERGED | +2 | 0 |
464470,5 | Android: Fix for possible thread deadlock | tqtc/lts-5.15 | qt/tqtc-qtwebview | Status: MERGED | +2 | 0 |