Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82810

[Android] Deadlock for dynamically loading webview

XMLWordPrintable

    • Android
    • 26c2569b7 (dev), 3e7d903f4 (6.5), 9a8f29832 (6.4), 76a9b10dc (tqtc/lts-6.2), 0c6d4d574 (tqtc/lts-5.15)
    • 2023wk06FOQtforAndroid, 2023wk08FOQtforAndroid

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bartlomiejmoskal Bartlomiej Moskal
            Yordan.Bonev Yordan.Bonev
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes