- 
    Bug 
- 
    Resolution: Duplicate
- 
    P3: Somewhat important 
- 
    None
- 
    5.14.2, 5.15.2, 6.0.0
- 
    None
Consider:
import QtQuick 2.12 import QtQuick.Window 2.0 import QtQuick.Controls 2.5 Window { visible: true ScrollView { anchors.fill: parent ScrollBar.horizontal.onPressedChanged: console.log("pressed") Flickable { id: flickable contentHeight: flamegraph.height contentWidth: flamegraph.width Rectangle { id: flamegraph width: flickable.width height: flickable.height color: "blue" Component.onCompleted: console.log("completed", width, height) MouseArea { anchors.fill: parent hoverEnabled: true onClicked: function(mouse) { console.log("clicked", width - mouse.x, height - mouse.y) } } } } } }
Now click within ~10 pixels from the lower border of the window.
Expected output: "clicked, <x>, <y>"
Observed output: "pressed"
In other words, even though the scrollbar is invisible, it still receives clicks, and blocks those same clicks from being delivered to the MouseArea below.
- duplicates
- 
                    QTBUG-83901 ScrollBar steals mouse events if hidden -         
- Open
 
-