[Interest] Bug on MultiPointTouchArea onRelease using a mouse?

Nuno Santos nunosantos at imaginando.pt
Mon Feb 9 10:10:50 CET 2015


Hi,

I have just created a bug report:

https://bugreports.qt.io/browse/QTBUG-44370 <https://bugreports.qt.io/browse/QTBUG-44370>

Thanks,

Regards,

Nuno

> On 06 Feb 2015, at 15:26, Rutledge Shawn <Shawn.Rutledge at theqtcompany.com> wrote:
> 
> 
> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150209/4dfaf30e/attachment.html>


More information about the Interest mailing list