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

Tap handlers are broken on Android.

    XMLWordPrintable

Details

    • Android
    • 31a5ecf3a (dev), 88817908e (6.5)

    Description

      TapHandlers and MouseArea on android seems broken.

      If user tries to make many fast taps in MouseArea it just blocks without any error, and any input is not acceptable.

      If user tries to make many fast taps in TapHandler it gives errors on every tap: pointId (how much taps were made) is missing from current event, but was neither canceled nor released and blocks until user made same tap input again.

      On Linux same code works well, without any errors.

      Code examples:

      import QtQuick
      
      Window {
          visible: true
      
          TapHandler {
          }
      }
      
      import QtQuick
      
      Window {
          visible: true
          
          TapHandler {
              id: additionalGestureMouseArea
                      
              dragThreshold: 0
              
              exclusiveSignals: TapHandler.SingleTap | TapHandler.DoubleTap
              gesturePolicy: TapHandler.WithinBounds
              grabPermissions: PointHandler.ApprovesCancellation | PointerHandler.ApprovesTakeOverByItems | PointerHandler.ApprovesTakeOverByAnything       
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              brutalwizard BrutalWizard
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes