diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-07-24 16:15:06 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-07-26 16:32:05 +0000 |
| commit | caa45b4fe8b63f4be87b63b33595f65a0f44230e (patch) | |
| tree | f401886962d5a249de22f86f5bbb50be40b524ed /src/qml/compiler/qv4compiler.cpp | |
| parent | 315e0781b0890711b8a7def52f26e33c47c586dc (diff) | |
Flickable: never react to a QMouseEvent with no buttons pressed
If a Flickable contains an Item with a HoverHandler and a DragHandler,
and you drag it and release it, then during the next mouse move events,
since Flickable is able to filter those while they are being sent to
the HoverHandler, it would grab the mouse. Suddenly you'd be flicking
even with no mouse buttons pressed. I think I've seen similar behavior
in other scenarios too, at some point.
Change-Id: If79c8af2b62dc69f085513e0b7c8bf9b4d504572
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compiler.cpp')
0 files changed, 0 insertions, 0 deletions
