Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.2, 6.5
-
None
Description
When dragging inside the popup, the DragHandler catches the events.
But when clicking the button doesn't catch the event which seems normal.
When you're in a popup, you shouldn't be able to drag the elements behind it.
// code placeholder import QtQuick 2.12 import QtQuick.Controls 2.12 Item { Rectangle { height: 300 width: 300 color: "red" DragHandler { } } Button { text: "Open popup" onClicked: popupTest.open() } Button { anchors.centerIn: parent text: "Click" onClicked: console.log("click") } Popup { id: popupTest height: 200 width: 200 anchors.centerIn: parent // The rectangle can be moved here but the button can't be clicked } }
Attachments
Issue Links
- blocks
-
QTBUG-106953 Advanced Asset import Editor
- Open
- relates to
-
QTBUG-107239 DragHandler propagates tap event through Flickable to underlying TapHandler
- Reported
-
QTBUG-100104 Using TapHandler in a QML Dialog incorrectly propagates mouse events to DragHandler
- Open
-
QTBUG-103518 QML WebView scrolling events are picked up by DragHandler and Flickables behind it
- Closed
-
QTBUG-122009 A DragHandler in an Item which opens a popup enables Flickable to steal mouse events from a Slider in said popup
- Reported
-
QTBUG-123727 DragHandler catches events when tumbler is dragged
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-87815 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
223138,21 | WIP Add Item modal property | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |