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

Android: Text input cursor position is WRONG in single line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.6, 5.15.4, 5.15.5
    • QPA
    • None

    Description

      I think the patch introduced to fix QTBUG-91073 completely broke TextInput cursor positioning for single line TextInput. At least in our app, since Qt5.15.4, panning is not applied to force the input to stay on top of the keyboard when required.

      A quick review of the commit shows that QAndroidInputContext::cursorRect() returns a null QRect, in a few cases which impact the 4 first parameters of QtAndroidInput::showSoftwareKeyboard

      Attachments

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

        Activity

          People

            piotrm Piotr Mikolajczyk
            vrouille Vincent Rouillé
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes