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

DragHandler can affect Button's onClick event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8.0, 6.8.1
    • None
    • Windows and Linux(x11 and wayland)
    • Linux/Wayland, Linux/X11, Windows

      See the attached `draghandlerbug.qml` file for example. In that example, there are three controls, the only difference between 1st one and 2nd one is the DragHandler.enabled, and difference between 1st and 3rd is the DragHandler's parent.

      When clicking the colored rectangle, we expect getting "Button clicked" log from console, but the red one will get "TapHandler tapped" instead, other two are working as intended.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            blumia Gary Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes