[Interest] Bug on MultiPointTouchArea onRelease using a mouse?

Rutledge Shawn Shawn.Rutledge at theqtcompany.com
Fri Feb 6 16:26:37 CET 2015


On 6 Feb 2015, at 13:07, Nuno Santos <nunosantos at imaginando.pt> wrote:

> 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.

Yes I think that’s a bug.


More information about the Interest mailing list