diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-08-29 10:34:23 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2017-08-29 09:53:52 +0000 |
commit | 213a7054b563fc7374d328bc458739f8b8afa863 (patch) | |
tree | fba265d82e1f4de1b67b8c1c5764d1e96081c166 /tests | |
parent | 18052d17999c2e95cb666508e6e571594163562a (diff) |
failsafe: never allow touch or mouse grab to persist after release
If a PointerHandler acquires a passive grab and we fail to remove it,
then next time the mouse moves, a filtering parent Flickable will have
a chance to see the mouse hover movement in the course of delivery
to that handler, and will grab. Thus you are stuck in flicking state
even though no mouse button is held. Passive grabs must therefore
always be cleared on release.
Change-Id: Ibaf46de32d7855e7b5f377c2d4fdae1312601c4f
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions