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

TextInput positionToRectangle doesn't return correct coordinates for the cursor in pre-edit mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.3
    • GUI: Text handling
    • None
    • VKB + Pre-edit
    • 708e090aef81c59904c483a2ea46b275ef21c7e4

    Description

      Run the attached QML application

      1. Set cursor to end of the textInput "preedittext2". Red box indicates the position returned by positionToRectangle.
      2. (bug no.1) press backspace. Indicator jumps to beginning of the pre-edit text, excepted outcome in this situation would be the cursor position.
      3. (bug no.2) press space. Indicator isn't updated to cursor position. This is because the text input has to scroll the text after pressing space.

      Attachments

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

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            jounimiikki Jouni Miikki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes