Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.2, 6.5.2, 6.6.0 Beta2
-
None
-
-
7211543ec (dev), b0aad6fa4 (6.6)
Description
Placing a HoverHandler on a Button makes it respond to a mouse right-click.
Code sample:
import QtQuick import QtQuick.Window import QtQuick.Controls Window { id: wnd width: 640 height: 480 visible: true Button { anchors.centerIn: parent text: 'Push me!' onClicked: wnd.color = Qt.rgba(Math.random(1), Math.random(1), Math.random(1), 1) HoverHandler { cursorShape: Qt.PointingHandCursor } } }
Actual result: the button responds to the mouse right-click.
Expected result: the button must not respond the mouse right-click.
Attachments
Issue Links
- relates to
-
QTBUG-116290 Quick Control: please add 'cursorShape' property
- Reported
- resulted in
-
QTBUG-124645 QQuickAbstractButton does not respect `acceptedMouseButtons` property
- Closed