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

QML TextInput on android spuriously adds text from auto completion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.2, 6.5.0 Beta3, 6.6.0 FF
    • None
    • Google Pixel 6 (Android 13)
    • Android

    Description

      Reproduction steps

      1. Click on a TextField or TextInput
      2. Type the string "asdf"
      3. Click on a button or something to loose focus and the keyboard
      4. Click on the TextInput again
      5. Type backspace
      6. "asd" is added to the text, so now the textfield shows "asdfasd"

      You can reproduce it using the quickcontrols2 gallery example.

      I made a video to show the bug: https://youtube.com/shorts/Xwl6DlIy4go?feature=share

      Additional information: It does work on my old old Nokia 8 (Android 9), so this behaviour likely depends on the keyboard used (I use stock android and the stock keyboard on my phones).

       

      A possible duplicate is QTBUG-60142 (though the behaviour is described differently).

      The Qt 6.6 version i tested is the snapshot one available in the maintenance tool (not official release).

      Attachments

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            adamce Adam
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: