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

TapHandler.singleTapped is emitted immediately before we know whether a double-tap will occur

    XMLWordPrintable

Details

    • d3f2c6ac42 (qt/qtdeclarative/dev) d3f2c6ac42 (qt/tqtc-qtdeclarative/dev), 9677fcf9a (dev), b3c04bfc2 (6.5)

    Description

      Unfortunately, to detect an unambiguous single-tap, we need to wait for styleHints()->mouseDoubleClickInterval(), rather than emitting immediately. We'll see if anybody complains about this delay, I guess; but the implementation in https://codereview.qt-project.org/c/qt/qtdeclarative/+/219615 kept it simple, to avoid needing an extra timer, even though I was thinking about this already when I wrote QTBUG-65088.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: