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

Bug #1544998 reported by Peter Bittner
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
In Progress
Eran Uzan
Ubuntu UX
Fix Committed

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: gestures ux
tags: added: gestures ux
Revision history for this message
Victor Thompson (vthompson) wrote :

Adding the Design team for their input.

Revision history for this message
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
Revision history for this message
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.)

Revision history for this message
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.

Revision history for this message
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?

Revision history for this message
Michal Predotka (mpredotka) wrote :

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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