After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695916 - Timer shows invalid seconds
Timer shows invalid seconds
Status: RESOLVED FIXED
Product: gnome-clocks
Classification: Applications
Component: general
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: Clocks maintainer(s)
Clocks maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-03-15 15:19 UTC by Jiro Matsuzawa
Modified: 2013-03-15 17:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the bug (141.52 KB, image/png)
2013-03-15 15:19 UTC, Jiro Matsuzawa
  Details
Do not show 60 seconds remaining (1.28 KB, patch)
2013-03-15 15:46 UTC, Paolo Borelli
none Details | Review

Description Jiro Matsuzawa 2013-03-15 15:19:21 UTC
Created attachment 238982 [details]
Screenshot of the bug

The timer tool shows "00:04:60". But it is expected to show "00:05:00".
I've attached a screenshot of this problem.

[How to Reproduce]
1. Launch gnome-clocks
2. Open the Timer tab
3. Press the Start button

[Program and Setting Info]
$ gnome-clocks -v
gnome-clocks 3.7.91
$ gsettings get org.gnome.clocks timer
uint32 300
Comment 1 Paolo Borelli 2013-03-15 15:46:38 UTC
Created attachment 238985 [details] [review]
Do not show 60 seconds remaining

We should show 1 minute, instead so we need to round up before
calculating h, m, s.
Comment 2 Paolo Borelli 2013-03-15 15:47:53 UTC
Nice catch! could you try this untested patch? I'll also try it out myself this evening or in the weekend
Comment 3 Jiro Matsuzawa 2013-03-15 16:04:48 UTC
I applied the patch. It works well.
Thanks!
Comment 4 Paolo Borelli 2013-03-15 17:08:50 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.