← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1616926] Re: Scrollbar thumb shows as hovered after mouse is released outside the thumb

 

** Changed in: canonical-devices-system-image
       Status: Fix Committed => Fix Released

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

Title:
  Scrollbar thumb shows as hovered after mouse is released outside the
  thumb

Status in Canonical System Image:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  Fix Released

Bug description:
  ubuntu-ui-toolkit r2079

  The fix to bug #1608897 created another issue.

  The code that checks if the thumb is being hovered currently only
  checks the y position of the input event, an optimization that worked
  well with the previous assumption that releasing mouse would always
  reset the hover state (but that was causing bug #1608897).

  There were, in fact, 2 cases before:
  - input device moves away (no pressed buttons) -> onExited is fired -> hover is reset
  - input device moves away while press-hold is in progress --> onRelease will reset hover

  Now that the behaviour changed and release does not reset the hover
  state, we obviously need to check both x and y position

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


References