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

TextInput element does not select on double or triple-click / tap

XMLWordPrintable

      When double or triple-clicking in TextInput, a selection is normally created. Double-clicking or tapping should select on a word boundary, while three click/taps should select a line / paragraph.

      TextEdit works as expected.

      import Qt 4.6
      
      Rectangle {
          Column {
              anchors.fill: parent
              TextInput {
                  id: input
                  width: parent.width
                  Rectangle {
                      color:"red"
                      z: -1
                      anchors.fill: parent
                  }
              }
              TextEdit {
                  width: parent.width
                  anchors.top: input.bottom
                  anchors.bottom: parent.bottom
                  color: "white"
                  Rectangle {
                      color:"blue"
                      z: -1
                      anchors.fill: parent
                  }
              }
          }
      }
      

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

            wallison Warwick Allison (closed Nokia identity) (Inactive)
            hhartz Henrik Hartz (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes