- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    5.15.0 Beta1, 5.15.0
 - 
    None
 - 
    Windows 10 Pro, Version 10.0.18362 , QtCreator 4.12.2, Qt 5.15.0
 
- 
        
 - 
        2acb31641fc9c34d24ac29232cdfec2673834629
 
When using DragHandler in ListView.header (in conjunction with RowLayout, Repeater, delegate) then DragHandler doesn't emit any signals (e.g. onActiveChanged).
Under normal circumstances (not using in delegate) the DragHandler seems to work.
In the following part an example snippet demonstrates it. This example is based on the example from Qt docs (https://doc-snapshots.qt.io/qt5-5.15/qml-qtquick-draghandler.html).
Update: The dragging works correctly when clipping=false.
Whereas in 5.14.1 the example works correctly.
ListView {
    id: root
    clip: true
    headerPositioning: ListView.OverlayHeader
    ListModel {
        id: listModel
        ListElement {
            name: "Bill Smith"
            number: "555 3264"
        }
        ListElement {
            name: "John Brown"
            number: "555 8426"
        }
        ListElement {
            name: "Sam Wise"
            number: "555 0473"
        }
    }
    header: Item {
        width: parent.width
        height: 200
        RowLayout {
            width: parent.width
            height: parent.height
            Repeater {
                model: listModel
                delegate: Item {
                    width: 200
                    height: 200
                    DragHandler {
                        id: handler
                        target: null
                    }
                    Text {
                        color: handler.active ? "darkgreen" : "black"
                        text: handler.centroid.position.x.toFixed(1) + "," + handler.centroid.position.y.toFixed(1)
                        x: 30 + handler.centroid.position.x - width / 2
                        y: 30 + handler.centroid.position.y - height
                    }
                }
            }
        }
    }
}
- is duplicated by
 - 
                    
QTBUG-85302 Mouse-click catch in QML Listview's header with clip = true
-         
 - Closed
 
 -