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

Apple Pencil events trigger both Flickable and underlying PointHandler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.8.2, 6.8.3, 6.8.4, 6.9.3, 6.10.0
    • None
    • iOS/tvOS/watchOS

      I’m encountering an issue when handling Apple Pencil input events.

      When using a Flickable that has a PointHandler underneath it, the Apple Pencil interaction is picked up by both — meaning the event is propagated to the PointHandler as well.

      This behavior does not occur with touch or mouse events, which are handled correctly and do not propagate in this way.

      Expected Behavior:

      Apple Pencil events should behave consistently with Touch and Mouse events, being captured only by the topmost interactive item (in this case, the Flickable).

      Steps to Reproduce:

      1. Create a Flickable component with a PointHandler positioned beneath it.
      1. Interact with the Flickable using an Apple Pencil.
      1. Observe that both the Flickable and the PointHandler receive the event.

      Question:

      Is this the expected behavior?

      If not, what’s the recommended way to prevent the Apple Pencil event from reaching the underlying PointHandler?

      Example:

      A minimal example demonstrating the issue is included below.

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

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

              Created:
              Updated:

                There are no open Gerrit changes