- 
    
Bug
 - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    5.0.1
 - 
    None
 - 
    Qt 5.0.1, QtCreator 2.7 beta, Windows 8, Acer w501 (x86 tablet)
 
- 
        Windows giving hint about OS synthesizing touch: 9b7c66ac7f0ed3c240ccbabe2b460d7ad4171749, Enable Qt synthesizing correctly: e9760f1559361c39f269fb89f1ebd01f6ee8378d , Widgets: 8c81b282f8e18897257b93cb3fc149d74441c40e
 
I made button in QML with MouseArea, mouse clicks are working well, but when i press button with touch screen MouseArea send onClicked event twice. So there are two same MouseEvents, sometimes with little different x/y. Can't find anything about this problem, and can't resolve it by myself (i am, probably, newbie).
upd: with touchscreen click 
first onClicked with mouse.buttons==1 (this is Qt.LeftButton)
second onClicked with mouse.buttons==0
with mouse click
only one onClicked with mouse.buttons==0
so, workaround is
onClicked: {
    if(!mouse.buttons) {
       //do something
upd2: QtWidgets have same problem. But standart win8 and any other apps haven't this trouble. So, it's probably Qt bug.
upd3: QtGui widgets in Qt 4.8.4 works well, only one pressed/realesed/clicked event.
upd4: It's windows 8 feature, Qt5 needs special mechanics to prevent events doubling.
- relates to
 - 
                    
QTBUG-31386 Windows/Touch: QtQuick2 MouseArea receives clicked twice for each touch
-         
 - Closed
 
 -         
 
- replaces
 - 
                    
QTBUG-30713 MouseArea click signals emitted twice on touch screen
-         
 - Closed
 
 -