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

Selecting multiple lines on TextEdit inside flickable is not possible

    XMLWordPrintable

Details

    Description

      Flickable is stealing the mouse from text selection so it's not possible to select the text by mouse.

      To reproduce, launch below QML app and try to select the text by mouse.

      import Qt 4.7
      
      Flickable {
          width: 300
          height: 500
          contentWidth: childrenRect.width
          contentHeight: childrenRect.height
          TextEdit {
              width: 300
              height:250
              text: "this is a\nmultiline\ntext edit\nI bet you can't\nselect all of the text\n(by mouse)'"
              selectByMouse: true
          }
      }
      

      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)
            arantone Aleksi Rantonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes