Comment 1 for bug 1616868

Revision history for this message
Andrea Bernabei (faenil) wrote :

Implemented solution: since touch does not fire onEntered, when the user is dragging using touch the hover logic is not called. Hence we should not call handleHover in onReleased of the MouseArea because that also fires when touch is released.

We should instead call it in the Mouse.onReleased
The area handling the interaction with the thumb has "Mouse.ignoreSynthesizedEvents: true" so Mouse.onReleased will not fire on touch release, just mouse release, which is what we want.