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

TextField does not work with GBoard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.2.3, 6.3.2, 6.4.1, 6.4.2, 6.5.0 Beta1
    • Quick: Controls 2
    • None
    • Android 13 and Gboard
    • Android

      When using Android13 and GBoard (the Google soft keyboard pre-installed on many devices), if you tap a text field at the end of the current text, giving keyboard focus to the control, then start typing to add more text at the end, the control repeats the last word that was initially in the text field. See video.

      The problem occurs with Android13 and Gboard, and with all the Qt 6 versions I tested.

      It doesn't occur with Android 13 using other soft keyboards.

      It doesn't occur with Android 8 and GBoard.

      Sample code used for testing:

      import QtQuick
      import QtQuick.Controls

      Window {
          visible: true
          title: qsTr("Hello World")

          TextField {
              text: "Initial contents"
              x: 50
              y: 100
              width: 300
      {{    }}}

          TextField {
              text: "Another field"
              x: 50
              y: 200
              width: 300
      {{    }}}
      }

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rss Richard Stephens
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes