Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
None
-
Windows 8, with touch screen : Lenovo ThinkPad Tablet 2
Description
I have a MouseArea whith a right click event
import QtQuick 2.0 Rectangle { id:rect width: 360 height: 360 MouseArea { anchors.fill: parent acceptedButtons: Qt.RightButton | Qt.LeftButton onClicked: { if(mouse.button == Qt.RightButton) { console.log("Right") } } } }
"Enable press and hold for right-clicking" in the Pen and Touch settings is enabled
I dont receive the onClicked event, is it normal ?
Attachments
Issue Links
- relates to
-
QTBUG-84179 Decide what to do about long-press events and maybe right-click emulation in Qt 6
- Reported
For Gerrit Dashboard: QTBUG-36162 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
249276,6 | Windows QPA: Support "press and hold for right-clicking" | 5.12.1 | qt/qtbase | Status: MERGED | +2 | 0 |