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

Mouse Double Click triggers Tag and Hold Gesture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.0.1
    • None
    • Kubuntu Linux and Windows

    Description

      I have a widget that accepts mouse double clicks and also the Tap and Hold Gesture. When I double click with the mouse it generates a Tap and Hold Gesture event.

      Here's the code I use to verify that it is indeed a Tap and Hold Gesture...

      if(e->type() == QEvent::Gesture)
      {
      QGestureEvent event = static_cast<QGestureEvent>(e);
      if(QGesture *gest = event->gesture(Qt::TapAndHoldGesture))
      {
      if(gest->state()==1)

      Attachments

        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
            jgrauman Joshua Grauman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes