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

Wrong android cursor textarea positiion.

    XMLWordPrintable

    Details

    • Platform/s:
      Android
    • Sprint:
      2022wk08FOAndroid&Automotive, 2022wk10FOAndroid&Automotive, 2022wk12FOAndroid&Automotive, 2022wk14FOAndroid&Automotive, 2022wk16FOAndroid&Automotive, 2022wk18FOAndroid&Automotive, 2022wk20FOAndroid&Automotive, 2022wk22FOQtforAndroid, 2022wk24FOQtforAndroid, 2022wk26FOQtforAndroid, 2022wk28FOQtforAndroid, 2022wk30FOQtforAndroid, 2022wk32FOQtforAndroid, 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk38FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk50FOQtforAndroid

      Description

      Wrong cursor position in Android when editing text. Cursor seems also laggy when trying to move it around text.
      When TextField anchored to the top it seems normal, but when it in the bottom, it gives wrong cursor position, it's ok in non Qt apps.

      Tested on Samsung (Android 11. OneUI) and Asus (Android 10. Android one) devices. Also, I tried to use different keyboards Gboard and Samsung keyboard.

      In Qt 5 everything is ok.



      import
      QtQuick
      import QtQuick.Controls

      ApplicationWindow {
          visible: true 

          TextArea {
              height: 75

              anchors {
                 left: parent.left
                 right: parent.right
                 bottom: parent.bottom
              }
          }

        Attachments

        1. oneplus7t-qt5158.mp4
          2.72 MB
        2. oneplus7t-qt5151.mp4
          3.76 MB
        3. 3.jpg
          3.jpg
          44 kB
        4. 2.jpg
          2.jpg
          45 kB
        5. 1.jpg
          1.jpg
          44 kB

          Issue Links

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

            Activity

              People

              Assignee:
              rampe Rami Potinkara
              Reporter:
              brutalwizard BrutalWizard
              PM Owner:
              Ramon Sadornil Ramon Sadornil (Inactive)
              RnD Owner:
              Rami Potinkara Rami Potinkara
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h

                    Gerrit Reviews

                    There are no open Gerrit changes