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

TextEdit's cursor position does not follow selection when cursorDelegate is used

    XMLWordPrintable

Details

    Description

      When text is being selected, cursor position does not follow selection, but stays located after some word.

      Try with following:
      TextEdit {
      id: textEdit
      cursorDelegate: Rectangle

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

      mouseSelectionMode: TextInput.SelectWords
      }

      mouseSelectionMode binding is optional.

      See test QML file: Test.qml

      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)
            sakauppi Sauli Kauppi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes