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

        1. flickable-textarea.qml
          0.2 kB
          Shawn Rutledge
        2. qtbug88169-windows-touch-5.15.txt
          26 kB
          Mitch Curtis
        3. qtbug88169-windows-touch-5.15-v2.txt
          14 kB
          Mitch Curtis
        4. qtbug88169-windows-touch-dev.txt
          19 kB
          Mitch Curtis
        5. qtbug88169-windows-touch-dev-v2.txt
          21 kB
          Mitch Curtis

        Issue Links

          For Gerrit Dashboard: QTBUG-88169
          # Subject Branch Project Status CR V

          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