diff options
| author | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2023-07-27 17:26:26 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-08-03 08:13:34 +0000 |
| commit | 85633bb9fed5244f66fbbb58d4be9ae0790cc4b0 (patch) | |
| tree | 05900d5093d577a9fd2f79187cba59e2036e41bf /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | e80921b01f225021d1936a8ac0079553a2a186b6 (diff) | |
Fix mouse event delivery issue for items within SwipeDelegate
Swipe items that are direct visual child of SwipeDelegate control can
consume mouse events. But, if its configured within non-visual item
(such as row or column layout), the mouse events are not being
propagated.
This patch set fixes this issue by identifying visual child that can
consume mouse events at the event position through
QQuickSwipeDelegatePrivate::getPressedItem() and propagate it
accordingly.
Fixes: QTBUG-104904
Pick-to: 6.6 6.5
Change-Id: Ie7458db26d0d5fe1dd767326bb84605d06ba2ae8
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
