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

word by word selection selects spaces on wrong end of word and becomes broken

    XMLWordPrintable

Details

    Description

      using 344b4ab658a03d81bbdb7bb5f74b2b5c8bd517e8 from main Qt repository on 4.7
      branch.

      1. use a qml file with a plain TextInput element
      2. tap to focus and tap in 'WWW XXX YYY ' - note extra space on the end
      3. tap and drag left on the middle 'Y'

      note that the selection includes the space on the right of the 'YYY' when it should
      not - ie it should be 'YYY' and not 'YYY ' (or sometimes ' YYY ')

      4. in some circumstances, selection is non-functional after the above. ie with
      ' YYY ' all selected, the user is unable to select further words/characters to
      the left.

      It seems that if you start the selection by clicking on the right side of the middle 'Y' then you get 'YYY ' select, and if you start by clicking on the left side of the middle 'Y', you first get 'YYY' (correct) but then ' YYY ' - in both cases the selection then stops.

      Attachments

        Issue Links

          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)
              davidmaxwaterman Max Waterman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes