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

cursorDelegate in TextInput and TextEdit doesn't take the preedit in to account

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.4
    • 4.7.3
    • None
    • An environment with vkb and preedit is required to reproduce

    Description

      Cursor delegate is positioned based on the TextInput::cursorPosition and it doesn't take the cursor position in the preedit word in to account. So when a word is in preedit mode, the cursor is always at the beginning of the word.

      Try with the following:
      TextInput {
      id: textInput
      anchors.left: parent.left
      anchors.right: parent.right
      cursorDelegate: Rectangle

      {width: 2; height: height; color: "black"; visible: parent.activeFocus}

      }

      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)
            arantone Aleksi Rantonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes