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

TapHandler goes in invalid state after 3 taps with touchpad

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.12.0 Beta 4
    • 5.12.0 Beta 3
    • None
    • Dell XPS 15 9560
      Microsoft Windows 10 Pro (Version 10.0.17134 Build 17134)
    • Windows
    • 35069301f048eed21a27f89b6495d56c44f2b55d (qt/qtbase/5.12.0)

      With the following code:

      Rectangle {
          id: rectangle
      
          implicitWidth: 200
          implicitHeight: 200
          color: "#FFE082"
      
          Text {
              anchors.centerIn: parent
              text: "Pressed: %1, Time held: %2".arg(tapHandler.pressed).arg(tapHandler.timeHeld)
          }
      
          TapHandler {
              id: tapHandler
      
              onTapped: console.debug("onTapped")
              onSingleTapped: console.debug("onSingleTapped")
              onDoubleTapped: console.debug("onDoubleTapped")
              onLongPressed: console.debug("onLongPressed")
              onCanceled: console.debug("onCanceled")
          }
      }
      

      after 3 light fast taps (without really pressing of the touchpad) signal longPressed will be emitted. TapHandler stays in this state for some time and does not respond to clicks with mouse, touchpad or touch with touch screen

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

            anrocha André De La Rocha (Inactive)
            permotion88 Karol Polak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes