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

TapHandler remains in pressed state when tapping and dragging of multiple handlers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.13, 5.12.4, 5.13.0
    • None
    • Dell XPS 15 9560, Windows 10
    • Windows

    Description

      Example code:

      import QtQuick 2.12
      import QtQuick.Controls 2.5
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          Grid {
              columns: 5
              spacing: 10
      
              Repeater {
                  model: 20
      
                  Rectangle {
                      x: 100
                      y: 100
                      width: 100
                      height: 100
                      color: tapHandler.pressed ? "yellow" : (dragHandler.active ? "red" : "green")
      
                      TapHandler {
                          id: tapHandler
                      }
                      DragHandler {
                          id: dragHandler
                      }
                  }
              }
          }
      }
      

      To reproduce of the error: randomly, tap and drag rectangles with multiple fingers (on the touch screen). 

      Result: Some TapHandlers stay in pressed state

      It happens randomly but occurs quite often. Perhaps this is related to the following warnings: QQuickTapHandler ... pointId ... is missing from current event, but was neither canceled nor released

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              permotion88 Karol Polak
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes