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

DragHandler can affect Button's onClick event

    XMLWordPrintable

Details

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

    Description

      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.

      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
            blumia Gary Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes