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

MouseArea in a Flickable gets broke after flick with Samsung pen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.0
    • None
    • Samsung Galaxy Tab Active3 & Samsung Galaxy Tab Active Pro
      Both tablets with the s Pen
      Android 11 or newer
    • Android

    Description

      I used the 'Samsung Galaxy Tab Active3' and 'Samsung Galaxy Tab Active Pro' for testing. 

       

      After using the pen to flick an 'Item' in a 'Flickable', the onClicked of the 'MouseArea' does not work anymore. You can therefore no longer click on the 'MouseArea' of the 'Item'. Neither with the pen or with your finger. Before flicking with the pen, the touch input with the pen and the finger worked just fine.

       

       

      import QtQuick.Window
      import QtQuick
      Window {    
          width: 1280    
          height: 800
          title: "Test"    
          visible: true
          
          Flickable {        
              anchors.fill: parent
              contentHeight: parent.height * 2
              
              Rectangle {
                  width: 100
                  height: 100
                  color: "blue"
      
                  MouseArea {
                      anchors.fill: parent
                      onClicked: print("CLICK")            
                  }
              }
          }
      }
       

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            huaba_11 Michael Huber
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes