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

[Reg 5.15 ->6.x] Android: Unable to dismiss "teardrop" cursor from text inputs

    XMLWordPrintable

Details

    • Android
    • 9c8651478 (dev), 0eff6dfe9 (6.6), 2bcabf13b (tqtc/lts-6.5)
    • 2023wk42FOQtforAndroid

    Description

      Steps to reproduce

      1. Launch either the Widgets Gallery Example (https://doc.qt.io/qt-6/qtwidgets-gallery-example.html ) or the Qt Quick Controls - Gallery Example (https://doc.qt.io/qt-6/qtquickcontrols-gallery-example.html )
      2. Tap/click into a QLineEdit or TextField and start typing
      3. Launch a native Android app that accepts arbitrary text input (e.g. the SMS app)
      4. Tap/click into a native Android text field and start typing
      5. Compare the behaviours of Steps #2 and #4

       

      Expected outcomes (native Android text field or Qt 5 widgets/controls)
      The "teardrop" text cursor handle normally:

      • Does not appear when an empty text input field gains focus
      • Appears when you tap in the middle of a word/sentence in a text input field
      • Disappears when you start typing, or after ~5 seconds of inactivity

       

      Actual outcomes (Qt 6 widgets/controls)
      The "teardrop" appears as soon as a text input field gains focus (even if it's empty) and it never disappears.

      Attachments

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

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            skoh-qt Sze Howe Koh
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes