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

TapHandler doubleTapped incorrectly emitted from the mouse or touchpad

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.12.0 RC
    • 5.12.0 Beta 3
    • None
    • Dell XPS 15 9560
      Microsoft Windows 10 Pro (Version 10.0.17134 Build 17134)
    • Windows
    • c0538857358e57c1551f7d10c07a9bb80d848cd7

    Description

      With the following code:

      Rectangle {
          id: rectangle
      
          implicitWidth: 200
          implicitHeight: 200
          color: "#FFE082"
      
          TapHandler {
              id: tapHandler
      
              onTapped: console.debug("onTapped")
              onSingleTapped: console.debug("onSingleTapped")
              onDoubleTapped: console.debug("onDoubleTapped")
              onLongPressed: console.debug("onLongPressed")
              onCanceled: console.debug("onCanceled")
          }
      }
      

      doubleTapped will be correctly emitted only with touch screen.

      With the mouse doubleTapped is emitted after 3 clicks.

      It does not work with touchpad (with normal clicks or light touch taps) too.

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes