[Clock app] Time runs slower as expected

Bug #1176555 reported by David Planella
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Fix Released
Critical
Nekhelesh Ramananthan

Bug Description

Steps to reproduce:

1. Start the clock app on a mobile device
2. Select Stopwatch and start
3. Watch the seconds run sloooooow :)

Related branches

David Planella (dpm)
Changed in ubuntu-clock-app:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

David can you confirm if this is also an issue when running the clock app in the desktop? I am unable to confirm this bug since I do not have a mobile device capable of running Ubuntu Touch.

Changed in ubuntu-clock-app:
milestone: none → alpha-1
summary: - Time runs slower as expected
+ [Clock app] Time runs slower as expected
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

I can't reproduce it on desktop...

Revision history for this message
David Planella (dpm) wrote : Re: [Bug 1176555] Re: Time runs slower as expected

Al 05/05/13 17:24, En/na Nekhelesh Ramananthan ha escrit:
> David can you confirm if this is also an issue when running the clock
> app in the desktop? I am unable to confirm this bug since I do not have
> a mobile device capable of running Ubuntu Touch.
>

Hi Nekhelesh,

It's not reproducible on the desktop, only on a device. Indeed, that's
why probably no one noticed until now.

Although someone from the SDK team who had a look at the code mentioned
that it might be reproducible on the desktop if the stopwatch is left
running for a long time. I haven't looked at the timer code, but it
seems there was a timing function that was on a linear path. I'll get
them to comment on the bug on Monday.

Cheers,
David.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Confirmed on a nexus 7. less pronounced on the nexus 4, but still apparent.

Changed in ubuntu-clock-app:
milestone: coreapps-13.10-month-1 → coreapps-13.10-month-2
Revision history for this message
Zsombor Egri (zsombi) wrote :

When stopwatch hundreds timer kicks, there is too much updated in StopwatchScript.increaseDecimal() function.

Try to use several timers, one for the hundreds and one for the seconds, and update the numbers for the hundreds and seconds separately. You most probably will need to drive this from a C++ plugin, where you update the UI asynchronously. Try to minimize the UI elements updated synchronously upon each timer kick, don't forget that these are done synchronously.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Here's a video showing stopwatch comparisions.. iOS, Android and Ubuntu Touch..

http://www.youtube.com/watch?v=nuE9R81ex-Q

Changed in ubuntu-clock-app:
assignee: nobody → Nekhelesh Ramananthan (nik90)
status: Triaged → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-clock-app at revision 94, scheduled for release in ubuntu-clock-app, milestone coreapps-13.10-month-2

Changed in ubuntu-clock-app:
status: In Progress → Fix Committed
Changed in ubuntu-clock-app:
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.