Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.1, 6.3.1, 6.4.0 Beta4
-
None
Description
containsMouse property of the first mouse area is not change after release pressed mouse on second overlapped mouse area.
MouseArea { anchors.top: parent.top anchors.left: parent.left width: parent.width * 0.75 height: parent.height * 0.75 hoverEnabled: true onContainsMouseChanged: console.log("contains mouse changed", containsMouse) Rectangle { anchors.fill: parent color: "yellow" } } MouseArea { anchors.centerIn: parent width: parent.width * 0.75 height: parent.height * 0.75 hoverEnabled: true onPressed: { mouse.accepted = false } Rectangle { anchors.fill: parent color: "green" } }
Attachments
Issue Links
- relates to
-
QTBUG-36930 containsMouse property not updated correctly for overlapping mouse areas during dragging
-
- Open
-