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

[REG 5.15 -> 6.0] Double click event does not fire when using DragHandler as a child of Window in Qt6

    XMLWordPrintable

Details

    • Windows
    • 72651a50f8 (qt/qtdeclarative/dev) 72651a50f8 (qt/tqtc-qtdeclarative/dev) 72651a50f8 (qt/qtdeclarative/6.4) 72651a50f8 (qt/tqtc-qtdeclarative/6.4) dc71fcd46e (qt/qtdeclarative/6.3) dc71fcd46e (qt/tqtc-qtdeclarative/6.3)

    Description

      I am testing the window resizing function with DragHandler, and if I put DragHandler as a child of window, double click event does not occur on buttons, tables, ...etc.
      After running the sample(main.qml) attached, you can check it by clicking the "test" button.
      This bug does not occur in 5.15.2 (double click event occurs normally)
      It's happening in 6.2.3 and 6.3.0.

       ---

      With the taphandler.qml the problem can be reproduced by attempting to double click / tap on the 3 rightmost rectangles. Double tap seems to occur correctly only when there are no overlapping handlers => the TapHandler in the background needs to be removed. Otherwise three taps are required for the double tap signals to be emitted.

       

      Attachments

        1. main.qml
          9 kB
        2. taphandler.qml
          3 kB

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              youme youme jung
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes