Public bug reported:

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

** Affects: canonical-devices-system-image
     Importance: Undecided
         Status: New

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Andrea Bernabei (faenil)
         Status: New

** Affects: ubuntu-ui-toolkit (Ubuntu RTM)
     Importance: Undecided
     Assignee: Andrea Bernabei (faenil)
         Status: New

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Andrea Bernabei (faenil)

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

** Also affects: ubuntu-ui-toolkit (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
     Assignee: (unassigned) => Andrea Bernabei (faenil)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1616926

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to