Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.5, 6.3.0
-
None
-
-
5c844a30a (dev)
Description
HoverHandler inside an Item and a Hoverhandler inside a child of the Item's parent.
In Qt6.2.4, both Hoverhandlers work; in Qt6.2.5, only the topmost Hoverhandler works.
Window { width: 640 height: 480 visible: true Row { anchors.fill: parent Rectangle { width: parent.width/2 height: parent.height color:"lightgray" Text { id: text1 anchors.top: parent.top anchors.topMargin: 20 anchors.horizontalCenter: parent.horizontalCenter text: "hover" } Rectangle { anchors.top: text1.bottom anchors.horizontalCenter: parent.horizontalCenter width: 300 height: 300 color: "green" visible: hoverhHandler.hovered Text { id: rectText anchors.centerIn: parent text: "green rectangle hovered" visible: rectHoverHandler.hovered } Item { anchors.fill: parent HoverHandler { id: rectHoverHandler } } } Item { anchors.fill: parent HoverHandler { id: hoverhHandler } } } } }
Attachments
Issue Links
- relates to
-
QTBUG-111322 HoverHandler example is broken in qtdeclarative/examples/quick/pointerhandlers
- Closed