[clock] Sometimes after re-enabling OneTime alarm, the caption is "Alarm disabled"

Bug #1530000 reported by Bartosz Kosiorek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Fix Released
Medium
Bartosz Kosiorek

Bug Description

Due to rat condition, sometimes after re-enabling OneTime alarm, the caption is "Alarm disabled"

Steps to reproduce:
0. Run Clock. It is much easier to reproduce that issue with profiler, as Clock is slower, and issue is appearing much often. You could check README file for details.
1. Set up OneTime alarm
2. Wait for alarm ringing
3. Re enable alarm.

Expected result:
Description should show time for next alarm

Actual result:
In rare cases, when alarm adding is in progress, the alarm will be set to "Alarm disabled

Proposed solution:
Time for next alarm should be showed/calculated only when alarm was set (alarm.state === Alarm.Ready)

Related branches

Changed in ubuntu-clock-app:
importance: High → Medium
milestone: none → 3.8
milestone: 3.8 → 3.7
description: updated
Revision history for this message
Bartosz Kosiorek (gang65) wrote :
Revision history for this message
Bartosz Kosiorek (gang65) wrote :
description: updated
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-clock-app at revision 435, scheduled for release in ubuntu-clock-app, milestone 3.7

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.