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

Android: the visible property of input method is always false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.2.0 RC1
    • 5.2.0 Beta1
    • QPA
    • None
    • Android
    • b7440536c788b04861591187edd071bf2c2ec137

      Qt.inputMethod.visible is always false on Android (4.3, nexus 7)

      When the keyboard is shown, Qt.inputMethod.visible is not set to true

      import QtQuick 2.2
      import QtQuick.Layouts 1.1
      
      Rectangle {
          width: 360
          height: 360
          ColumnLayout {
              TextInput {
                  text: qsTr("Hello World")
                  Layout.preferredHeight: 200
                  Layout.fillWidth: true
      
              }
              Text {
                  text: Qt.inputMethod.visible ? "keyboard visible" : "keyboard not visible"
                  Layout.fillHeight: true
                  Layout.fillWidth: true
              }
          }
      }
      

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

            taipan BogDan Vatra
            carochao Caroline Chao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes