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

TextEdit is not flickable with touch

    XMLWordPrintable

Details

    • a2209698d3584a7c05d0c12aa61de050fe0e78fd (qt/qtdeclarative/dev)

    Description

      If a readonly TextArea is placed inside Flickable, you cannot use touch to flick it, while mouse works correctly. Interestingly, if you first flick it with mouse, then you can also use touch events.

      import QtQuick 2.15
      import QtQuick.Window 2.15
      
      Window {
          width: 640
          height: 480
          visible: true
      
          Flickable {
              anchors.fill: parent
              contentHeight: text.height
      
              TextEdit {
                  id: text
                  enabled: false
                  text: "several\nlines\nof\ntext\n-\ntry\nto\nflick"
              }
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes