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

Android: user input items filling the screen height won't show well when keyboard is shown

    XMLWordPrintable

Details

    • Android

    Description

      On Android, when a input item fills the height, the keyboard pushes the item out of the screen instead of opening on top of it and keeping the cursor visible.

      Test case:

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      import QtQuick.Layouts 1.1
      
      ApplicationWindow {
          title: qsTr("Hello World")
          width: 640
          height: 480
      
          ColumnLayout {
              anchors.fill: parent
              TextEdit {
                  Layout.fillHeight: true
                  Layout.fillWidth: true
                  text: qsTr("This is a TextArea")
              }
              Label {
                  Layout.minimumHeight: 80
                  Layout.alignment: Layout.Center
                  text: "Type some text in the text area above"
              }
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              samuelnevala Samuel Nevala
              carochao Caroline Chao (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes