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

MultiPointTouchArea emits onReleased two times when using a mouse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: 5.6.0 RC
    • Labels:
      None
    • Environment:
      Mac OSX 10.10.2, Xcode 6.6.1
    • Commits:
      4401543fff6e32d3a35a1e0690193add42055fa8

      Description

      Please consider the following code:

      Window {
      visible: true
      width: 360
      height: 360

      MultiPointTouchArea {
      anchors.fill: parent
      onPressed:

      { console.log("pressed") }

      onReleased:

      { console.log("released") }

      }

      Text

      { text: qsTr("Hello World") anchors.centerIn: parent }

      }

      In this snippet, onReleased is called two times using a mouse. The same doesn’t happen when touch input is used.

      Regards,

      Nuno

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes