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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1616868

Title:
  Scrollbar thumb shows as hovered after touch release

Status in Canonical System Image:
  New
Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  New

Bug description:
  ubuntu-ui-toolkit r2079

  The fix to bug #1608897 created another issue.

  Since MouseArea does not get the exited() signal on touch release (to
  be investigated if that's intended), dragging the thumb with
  touchscreen and releasing while the finger is still inside the area of
  the thumb will cause the thumb to show as hovered even after release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1616868/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to