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

Selecting TextInput or TextField on android gives errors / warnings to console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1
    • 5.3.0
    • GUI: Text handling
    • None
    • android 4.3, Qt 5.3.0
    • Android
    • 50eaeab378ebef60305d47b2b0f2f5eb39641338

    Description

      Creationg following application

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          menuBar: MenuBar {
              Menu {
                  title: qsTr("File")
                  MenuItem {
                      text: qsTr("Exit")
                      onTriggered: Qt.quit();
                  }
              }
          }
      
          TextField {
              text: qsTr("Hello World")
              anchors.centerIn: parent
          }
      
          TextInput {
              text: "second"
          }
      }
      
      

      and selecting either of the text fields gives out following error prints.

      W/IInputConnectionWrapper(15959): getTextBeforeCursor on inactive InputConnection
      W/IInputConnectionWrapper(15959): getCursorCapsMode on inactive InputConnection
      W/IInputConnectionWrapper(15959): getCursorCapsMode on inactive InputConnection
      W/Qt (15959): kernel/qmetaobject.cpp:1458 (static bool QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)): QMetaObject::invokeMethod: No such method QQuickTextInput::inputMethodQuery(Qt::InputMethodQuery,QVariant)
      W/Qt (15959): kernel/qmetaobject.cpp:1458 (static bool QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)): QMetaObject::invokeMethod: No such method QQuickTextInput::inputMethodQuery(Qt::InputMethodQuery,QVariant)
      W/Qt (15959): kernel/qmetaobject.cpp:1458 (static bool QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)): QMetaObject::invokeMethod: No such method QQuickTextInput::inputMethodQuery(Qt::InputMethodQuery,QVariant)

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            ravila Risto Avila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes