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

MouseArea onRelease event is not triggered after second finger touch'n'release

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      73094e598f (qt/tqtc-qtdeclarative/6.2)

      Description

       

      With the following simple MouseArea example:

      import QtQuick
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          MouseArea{
              anchors.fill: parent
              onClicked: (mouse) => { console.log("onClicked") }
              onPressed: (mouse) => { console.log("onPressed"); }
              onPressAndHold: (mouse) => { console.log("onPressAndHold") }
              onReleased: (mouse) => { console.log("onReleased"); }
              onPositionChanged: (mouse) => { console.log("onPositionChanged"); }
          }
      }
      

      When

      1. Touch first finger
      2. Touch and release second finger
      3. Release first finger

      ...and there will be no 'release' event.

      Output is only:

      D qml     : : onPressed
      D qml     : : onPositionChanged
      D qml     : : onPositionChanged
      D qml     : : onPositionChanged
      D qml     : : onPositionChanged

       

      But when releasing left first (while holding down the second) it works.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              kiibimees Lauri Laanmets
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews