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

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

XMLWordPrintable

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

      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}

      }

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

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            arantone Aleksi Rantonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes