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

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

      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.

        For Gerrit Dashboard: QTBUG-107264
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: