[Interest] Bug on MultiPointTouchArea onRelease using a mouse?

Nuno Santos nunosantos at imaginando.pt
Fri Feb 6 13:07:10 CET 2015


Hi,

I’m wondering if this is a bug. 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


More information about the Interest mailing list