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

[Android] No such method QQuickRootItem::inputMethodQuery and app stucks

    XMLWordPrintable

    Details

    • Platform/s:
      Android
    • Sprint:
      Someone's on it

      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

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

          Activity

            People

            Assignee:
            qtandroidteam Qt Android Team
            Reporter:
            Yordan.Bonev Yordan.Bonev
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes