Tapping button in toolbar closes toolbar
Bug #1203531 reported by
Sam Bull
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu UX |
Fix Released
|
Undecided
|
Vesa Rautiainen | ||
ubuntu-keyboard |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-keyboard (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Frequently when tapping a button in the toolbar, it is interpreted as a swipe and closes the toolbar.
This could be solved by moving the swipe area a little higher, so you can only close the toolbar when swiping from just above the toolbar. This would make it consistent with the behaviour of the osk.
Desired solution:
Add a 0.5 gu vertical threshold value to toolbar dragging. If the value is passed toolbar dragging can start. If not, event is interpreted as a click (if the gesture was a click)
to toolbar buttons.
Changed in ubuntu-ux: | |
assignee: | nobody → Vesa Rautiainen (vesar) |
affects: | touch-preview-images → ubuntu-ui-toolkit |
Changed in ubuntu-ux: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I don't like the idea of moving the swipe area a little higher because moving it a little doesn't really solve the problem. Currently the swipe area covers the whole toolbar. So it should be moved all the way above the toolbar buttons which makes toolbar dismissal very awkward. You would need in that case be very precise where to grab the toolbar and in addition there is no visual cue where the grab area is. Of course one option is to increase toolbar size and add the grab area. But visually it's not very appealing.
The current solution is quite nice but obviously has its own issues now when it misinterprets some of the user's gestures. But there is room for improvement I think. A threshold value. Toolbar shouldn't start dragging until certain threshold value is passed. Clearly simple click of a button doesn't pass the value and the buttons would get their click event properly.