aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectproto_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-01-04 08:31:07 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-01-04 14:41:58 +0000
commit9d8fe2ac121162c15be6728495be2235b728325a (patch)
tree903b7dd9dee2fcbb923e8af56d180d9cf175a501 /src/qml/jsruntime/qv4objectproto_p.h
parent5c6245b7ff7a941c0a2425f32909c0dc0982e199 (diff)
tst_qquickwindow::mouseFiltering: verify that siblings don't filter
A grandchild's parent's sibling (uncle) can be underneath the child in such a way that it will see the event during normal delivery, if neither the child nor its parent accepts the event, and yet this uncle will not get the opportunity to filter because it's not a parent. Also verify that after an item accepts a press event, subsequent mouse moves are filtered by the same parent and grandparent, even if the move has placed the cursor outside their bounds. Also rename mousePressId to mousePressCount, because the name was misleading: it's just a counter. Remove the comment about whether it's a bug that touch events are filtered: we are constrained by bincompat to use the same virtual function to filter both kinds of events, for now. Change-Id: If0fd62730883f3e4e29675580d975395c631e694 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto_p.h')
0 files changed, 0 insertions, 0 deletions