diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-12-01 09:27:22 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-03-23 09:21:16 +0100 |
commit | 69162120c735801905893f90bef38b49464f6bb9 (patch) | |
tree | 7c644040c40caef576334b5af7fa8b2dca731abb /tests/auto/controls/universal/dependencies.qml | |
parent | 067e61f580614c08761a59656a4b31761e4e7878 (diff) |
Handle directly-delivered mouse events in SwipeDelegate
Delivery order has changed to be the same as the z-axis stacking order
(since qtdeclarative 3ff11ceca37dcc4b6f0420332fa7f6aa007be7f3).
Since QQuickSwipeDelegate puts its children under itself by setting
negative z-values, it can now receive mouse events before those
negative-z children, directly rather than via childMouseEventFilter().
It doesn't seem to be enough to ignore() the events and let them
propagate: we now need to explicitly forward them to interactive
child items, and to child items' Attached objects, if any.
Pick-to: 6.0 6.1
Fixes: QTBUG-87018
Fixes: QTBUG-87789
Change-Id: I1e02ceddad7c3221fb09a33046941d654bfa8a4b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls/universal/dependencies.qml')
0 files changed, 0 insertions, 0 deletions