We have moved to a new Sailfish OS Forum. Please start new discussions there.
8

stopwatch cover shows incorrect elapsed time

asked 2015-11-09 14:55:54 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-11-09 14:57:26 +0300

Izzak gravatar image

using the jolla clock app, running the stopwatch now for over an hour the elapsed time is displayed correctly within the app (1 hour and 21 minutes) but is displayed incorrectly as a cover.

as a cover the total minutes are shown as well is the elapsed number of hours (1 hour and 81 minutes in this example)

stopwatch as a cover

stopwatch, app open

(using jolla clock app, version 0.3.8 on sailfishos 2.0.0.10)

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2015-11-09 19:12:00 +0300

pichlo gravatar image

Funny that. Well spotted. If you wait long enough, it will even display something like 2h 120min (just reproduced).

The fix is editing /usr/share/jolla-clock/cover/ClockCover.qml and changing line 188 from:

return qsTrId("jolla-clock-la-stopwatch_time").arg(hours).arg(minutes)

to:

return qsTrId("jolla-clock-la-stopwatch_time").arg(hours).arg(minutes % 60)

I could even make a patch but I assume (hope!) that it would become obsolete before I could say supercalifragilisticexpialidocious.

edit flag offensive delete publish link more

Comments

I managed to pronounce it the third time now, and I didn't even give my best.

lakutalo ( 2015-11-10 19:52:23 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-11-09 14:55:54 +0300

Seen: 101 times

Last updated: Nov 09 '15