Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.5
-
None
-
f74db4579e (qt/qtdeclarative/dev) 1d1e590078 (qt/qtdeclarative/6.4) 1d1e590078 (qt/tqtc-qtdeclarative/6.4) f74db4579e (qt/tqtc-qtdeclarative/dev) 1d1e590078 (qt/qtdeclarative/6.4.1)
Description
This was working in 5.15 (draggableButton.qml an old expt on my system):
import QtQuick 2.12 import QtQuick.Controls 2.2 ApplicationWindow { visible: true width: 200; height: 200 CheckBox { id: draggableCB anchors.right: parent.right text: "draggable" checked: true } Button { text: "Drag me" onClicked: console.log("clicked") DragHandler { enabled: draggableCB.checked } } }
It's important to be able to build visual designer applications, IMO.
Attachments
Issue Links
- depends on
-
QTBUG-101398 grabPermissions cannot prevent an Item stealing grab from a handler in Qt 6
- Reported
- duplicates
-
QTBUG-100368 [Regression] DragHandler active property does not change when used in a Button
- Reported
- relates to
-
QTBUG-105609 should be able to add a TapHandler to a Button to modify behavior
- Closed
For Gerrit Dashboard: QTBUG-105610 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
426859,2 | WIP Add controls_interop test with DragHandler on Button | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: NEW | 0 | 0 |
426724,17 | Add interop test with DragHandler on Button | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
427022,5 | Allow implicit mouse grab by accepting only on press | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
428989,2 | Allow implicit mouse grab by accepting only on press | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
439818,3 | Add interop test with DragHandler on Button | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |