Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0, 6.5.2
-
Tested on:
- Windows 11 on Acer Spin 13 tablet with a Wacom stylus
- Fedora 38 with a Wacom CTL-472 graphics tablet
-
-
5a762ba09 (dev), 688bd00cc (6.7), 56c0a6f66 (6.6), a4346dda0 (tqtc/lts-6.5)
Description
The following example doesn't work as intended. The HoverHandler always reports hovered=true when using a stylus even though the pointer is hovering outside the rectangle. The hovered property remains true until the stylus leaves proximity.
When using a mouse, things work as expected.
import QtQuick import QtQuick.Window Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { color: hoverHandler.hovered ? "red" : "blue" width: 300; height: 300 anchors.centerIn: parent HoverHandler { id: hoverHandler } } }
Attachments
Issue Links
- relates to
-
QTBUG-101932 two HoverHandlers with different acceptedDevices/acceptedPointerTypes: cursorShape doesn't change accordingly
- Closed
-
QTBUG-79660 XCB: Tablet events doesn't work with QtQuick
- Closed
-
QTBUG-122579 Cannot use a Stylus with Windows Ink turned on to use the Qt Quick UI controls
- Reported