[Interest] Bug on MultiPointTouchArea onRelease using a mouse?

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


Shawn,

I have also created this bug report as I think this is also an unexpected behaviour. Test project attached on bug report.

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

Regards,

Nuno

> On 09 Feb 2015, at 09:10, Nuno Santos <nunosantos at imaginando.pt> wrote:
> 
> 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 <mailto:Shawn.Rutledge at theqtcompany.com>> wrote:
>> 
>> 
>> On 6 Feb 2015, at 13:07, Nuno Santos <nunosantos at imaginando.pt <mailto: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.
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

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


More information about the Interest mailing list