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

Android: the visible property of input method is always false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0 Beta1
    • Fix Version/s: 5.2.0 RC1
    • Component/s: QPA
    • Labels:
      None

      Description

      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
              }
          }
      }
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes