Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1, 5.6.3, 5.12.1
-
Ubuntu 14.04 LTS 64 Bit w/ Unity and OpenBox, Windows 10
-
e622e069c9b0928e09a8b6fef15168407a4d995a (qt/qtdeclarative/5.12)
Description
When the mouse cursor is over a MouseArea when its cursorShape is set, the cursor's appearance only changes after it is moved at least minimally.
The following code example demonstrates the problem: The mouse cursor over the fullscreen window only changes after moving the mouse slightly.
import QtQuick 2.3 import QtQuick.Window 2.0 Rectangle { width: Screen.width height: Screen.height MouseArea { anchors.fill: parent cursorShape: Qt.CrossCursor onClicked: Qt.quit() } }
Please note:
- Setting hoverEnabled to true doesn't make a difference.
- changing the cursorShape delayed (e. g. with a Timer or Component.onCompleted()) doesn't make a difference.
- This might be related to bug 38306?
I think the proper behaviour would be for the mouse cursor's shape to change immediately without user interaction.
Attachments
Issue Links
- relates to
-
QTBUG-38306 QML MouseArea cursorShape not set if the mouse cursor is on top of application when first started
- Closed
-
QTBUG-33168 Cursor does not remain the same while dragging from inside to outside a MouseArea
- Closed
For Gerrit Dashboard: QTBUG-41045 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
254135,2 | Update the cursor when the window is entered | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |