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

Tap handlers are broken on Android.

XMLWordPrintable

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

      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       
          }
      }
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes