AbstractButton doesn't have a minimum size for the touch area

Bug #1508114 reported by Andrea Bernabei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Zoltan Balogh
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
High
Zsombor Egri

Bug Description

AbstractButton should have a minimum touch area of 4x4GU, as reported in the UI Toolkit spec (currently only in the ListItem layouts section, it has to be moved to a generic section)

That means

AbstractButton {
    width: units.gu(6)
    height: units.gu(6)
}

has a touch region of 6x6GUs, while

AbstractButton {
   width: units.gu(2)
   height: units.gu(2)
}

must have a touch region of 4x4GU.

UI Toolkit spec:
https://docs.google.com/document/d/1nFm8xiYhKXXuEO_IvMXoD0lASbYzYXva1BWMVanU3iw

Related branches

Revision history for this message
Zsombor Egri (zsombi) wrote :

This can be achieved only if the AbstractButton is not having clip set, as otherwise the clipping will restrict the sensing area too.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Zsombor Egri (zsombi)
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → In Progress
Zoltan Balogh (bzoltan)
affects: ubuntu-ui-toolkit (Ubuntu) → ubuntu-ui-toolkit (Ubuntu RTM)
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: New → Fix Committed
assignee: nobody → Zoltan Balogh (bzoltan)
milestone: none → ww08-2016
Changed in canonical-devices-system-image:
importance: Undecided → High
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.