Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.3
-
None
-
0c7b0a4306 (qt/qtdeclarative/dev) d4c31ec0cd (qt/qtdeclarative/6.2) 66d6c7ec01 (qt/qtdeclarative/6.3) d4c31ec0cd (qt/tqtc-qtdeclarative/6.2)
Description
ItemDelegate is blocking the hovered property of a ScrollView.
import QtQuick import QtQuick.Controls Window { width: 640 height: 480 visible: true title: qsTr("Hello World") ScrollView { id: scrollView width: 200 height: 200 clip: true background: Rectangle { anchors.fill: parent color: "yellow" } onHoveredChanged: console.log("hovered", scrollView.hovered) ListView { model: 20 delegate: ItemDelegate { text: "Item " + index background: Rectangle { anchors.fill: parent color: "red" } } } } }
Attachments
For Gerrit Dashboard: QTBUG-101394 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
399811,1 | QQuickItemDelegate: let hoverEnabled be false by default | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
400736,9 | QQuickControl: let Control reject hover events | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
403465,2 | QQuickControl: let Control reject hover events | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
403466,2 | QQuickControl: let Control reject hover events | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
404397,2 | QQuickControl: let Control reject hover events | 6.3.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |