[Clock] Add world city is often triggered accidentally when swiping up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
High
|
Nekhelesh Ramananthan | ||
Ubuntu UX |
Fix Released
|
High
|
Unassigned |
Bug Description
The main clock page shows at most 2 world cities after which the cities are hidden. To see the rest of the world cities, the user will have to scroll up. After viewing the world cities, when scrolling down quickly, the add world city button is often triggered accidentally. This should be avoided by stopping at the app edge.
There are 2 actions associated to this bug,
Flick: Action where the user swipes up/down and lets go. At the moment when the user lets go, the page is already scrolling
Drag: Action where the user drags the page up/down without letting go.
We want the add world city action to be shown only when the user is dragging the page down and not when flicking it down. That's the distinction that needs to be made.
Note: When there are less than 3 cities, a flick is equivalent to a drag since when the user flicks the page long enough, he is already at the app edge. In these cases, nothing can be done.
Related branches
- Nekhelesh Ramananthan: Disapprove
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 30 lines (+13/-0)1 file modifiedapp/clock/ClockPage.qml (+13/-0)
- Nekhelesh Ramananthan: Disapprove
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Victor Thompson: Needs Information
-
Diff: 41 lines (+12/-1)2 files modifiedapp/clock/ClockPage.qml (+11/-1)
debian/changelog (+1/-0)
- PS Jenkins bot: Approve (continuous-integration)
- Riccardo Padovani: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 257 lines (+87/-121)4 files modifiedapp/clock/ClockPage.qml (+14/-31)
app/components/PullToAdd.qml (+0/-90)
app/worldclock/AddWorldCityButton.qml (+71/-0)
debian/changelog (+2/-0)
Changed in ubuntu-clock-app: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Nekhelesh Ramananthan (nik90) |
milestone: | none → rtm |
status: | Triaged → In Progress |
Changed in ubuntu-ux: | |
assignee: | nobody → Giorgio Venturi (giorgio-venturi) |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- Add world city is often triggered accidentally when swiping up + [Clock] Add world city is often triggered accidentally when swiping up |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Released |
Saviq's comment that could help resolve the issue, "It should probably have a maximum velocity threshold on release that will check that the user actually stopped moving"