Swipe right / left should switch between screens (clock, stoppwatch, countdown)

Bug #1544998 reported by Peter Bittner on 2016-02-12
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Medium
Eran Uzan
Ubuntu UX
Undecided
Unassigned

Bug Description

As an Ubuntu phone user
I want to switch between the clock and the stopwatch screen using a swipe gesture (e.g. on the center of the screen)
so that I don't need to locate and press the (rather tiny) icon "tabs" on top of the screen.

If there is a countdown screen one day this should also allow me to switch to the third screen, of course.

-------- Implementation Issue (Technical) ------------

Description of the problem:
The whole stopwatch and clock is placed inside a horizontal listview.
If you enable scrolling there, then when you try to swipe delete a world ity, it will swipe to the stopwatch page instead.
So the world city swipe event is being stolen by the navigation listview.

tags: added: gestures ux
Victor Thompson (vthompson) wrote :

Adding the Design team for their input.

Bartosz Kosiorek (gang65) wrote :

According to UX team, the swipe should switch between clock/stoppwatch/countdown.

Unfortunately we faced some issues during implementation.
We will check again possible solution for that issue.

Changed in ubuntu-ux:
status: New → Fix Committed
Changed in ubuntu-clock-app:
importance: Undecided → Medium
status: New → Triaged
milestone: none → 3.8
description: updated
description: updated
Peter Bittner (peter-bittner) wrote :

Just to make sure we're all on the same page: OTA-10.1 still has not fixed this. (You must tap one of the "tab" icons on top of the screen to switch between the screens/views.)

Nekhelesh Ramananthan (nik90) wrote :

Unfortunately we are unable to overcome the technical limitation as described in the bug description. It is conflicting with the listview swipe gesture.

Also if it was fixed and released, we will mark the status of the bug accordingly.

Eran Uzan (etherpulse) wrote :

I've Implemented the fix as Specified by the in the bug (simply enabling the interactive flag in the listview) and at least on the desktop and in the emulator it seems to work without any problems you can delete cities without any problem.
The only issue I noticed is that you can't swipe the pages when flicking on the cities but i think this is an expected behaviour.

Should i push the fix?

Michal Predotka (mpredotka) wrote :

Awesome news! Please push your code to Launchpad and make merge proposal request. Someone will test and review your code.

Eran Uzan (etherpulse) wrote :

Hey Thanks for the answer, I've created a merge proposal and tested on my device (Meizu PRO 5) it`s working without any issues with the cities list you can add an delete cities.

Changed in ubuntu-clock-app:
status: Triaged → In Progress
assignee: nobody → Eran Uzan (etherpulse)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers