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

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

    XMLWordPrintable

Details

    Description

      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
                  }
              }
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes