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

CursorHandle does not work properly with composing string in android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.0
    • 5.8.0, 5.9.0 Beta 2
    • None
    • All of the findings above can be reproduced with TextArea qml element.
    • Android

    Description

      Qt for Android introduced a basic cursor handles for text selection and cursor positioning. However, it doesn't work as expected when suggestion mode is active. Some of the bug symptoms:

      • Cannot position cursor in a word currently being composed by clicking on the position in the word
      • Cannot position cursor in a word currently being composed by dragging cursor handle; the cursor jumps back at the end of the word
      • If cursorPosition is being set manually in the middle of the word behaviour similar to: https://bugreports.qt.io/browse/QTBUG-58013 occurs when the word is being doubled from the middle.
      • Once shown, the cursor handle cannot be hidden when clicked on another part of the text as expected in native android behaviour. (This symptom occurs even when suggestions are disabled; there is simply no way to hide the cursor handle after it's shown)

      Attachments

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

        Activity

          People

            taipan BogDan Vatra
            mannol Eniz Vukovic
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes