Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.9.9, 5.15
-
fb6baf03faf1ffdda5917b9daa9e9ed0f821fa8a (qt/qtquickcontrols2/dev)
Description
import QtQuick 2.0 import QtQuick.Controls 2.0 ApplicationWindow { id: window width: 400 height: 400 visible: true Button { anchors.left: parent.left anchors.right: parent.right height: 100 text: "Click me" onPressed: print('pressed') onReleased: print('released') onClicked: { console.log("Single Click"); } onDoubleClicked: console.log("Double click") } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-91159 Button onDoubleClick is not triggered
- Closed
- relates to
-
QTBUG-82032 Double click on QML Button is considered as two single clicks
- Closed
For Gerrit Dashboard: QTBUG-82146 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
309320,10 | AbstractButton: emit doubleClicked() for touch events | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |