← Back to team overview

touch-packages team mailing list archive

[Bug 1526726] [NEW] Scrollbars in TextArea don't receive mouse hover events

 

Public bug reported:

r1773

Scrollbars in TextArea currently don't receive mouse hover events, and
that prevents them from providing the expected UX (the new scrollbar
expands and shows steppers when hovered with a mouse)

By having a quick look at the code I noticed that moving the Scrollbars
below the Flickable fixes the issue.

I believe that what is happening is that Mouse.forwardTo: [main] inside
InputHandler is forcing the mouse events to skip the scrollbars and go
directly to the root item, though I'm not sure about this theory.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Medium
     Assignee: Christian Dywan (kalikiana)
         Status: Confirmed

-- 
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/1526726

Title:
  Scrollbars in TextArea don't receive mouse hover events

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  r1773

  Scrollbars in TextArea currently don't receive mouse hover events, and
  that prevents them from providing the expected UX (the new scrollbar
  expands and shows steppers when hovered with a mouse)

  By having a quick look at the code I noticed that moving the
  Scrollbars below the Flickable fixes the issue.

  I believe that what is happening is that Mouse.forwardTo: [main]
  inside InputHandler is forcing the mouse events to skip the scrollbars
  and go directly to the root item, though I'm not sure about this
  theory.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1526726/+subscriptions


Follow ups