diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-02 09:34:05 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-03 04:54:36 +0000 |
commit | 3bdb3c1d8a581906f49cd4dc89d55c04d9159f40 (patch) | |
tree | 6181f462a4c47fc0e7631dad7d52a3c28efe4f4a /src/quick/items | |
parent | 934d93b9151134116d0fe23234ee9d0519a969ba (diff) |
Amend TouchMouse::buttonOnDelayedPressFlickable to test delayed tap
This test is for Flickable with pressDelay set to a testable timeout
value. For some reason it only checked trying to flick before the
press delay is over, or holding and waiting for the press delay to expire.
But if the user taps a child MouseArea before the press delay expires
(neither moving nor waiting), at the moment of release it's supposed to
send the delayed press and then the release, so that the MouseArea
gets "clicked" almost as if there was no delay. Lack of test coverage
allowed a regression in this functionality for 2 minor versions:
5.10 and 5.11.
Task-number: QTBUG-61144
Task-number: QTBUG-69059
Change-Id: I0d8867587e6877359c41ec5fc3a5cdd17447d0b8
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/items')
0 files changed, 0 insertions, 0 deletions