Alarm or Timer doesn't stop when "Stop All Alarms" is used and "Repeat Sound" is unchecked.

Bug #682999 reported by Troy R. on 2010-11-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alarm Clock
Fix Released
Medium
Johannes H. Jensen

Bug Description

When I use "Stop all alarms" from the notification area icon's menu, the main interface of the application doesn't show that the alarm has actually stopped. Then, when selecting an alarm and clicking "Stop" in the main UI, the tray icon begins to blink. Using "Stop all alarms" again finally causes the tray icon to cease blinking. Interestingly, this only occurs when "Repeat Sound" is unchecked in the alarm- or timer-specific options.

Steps to reproduce:

1) Kill and restart applet.
2) Create a timer named "test2", with a delay of 5 seconds, playing the sound sonar.ogg, and uncheck "repeat sound".
3) Start the timer from the main UI.
4) Wait 5 seconds.
5) Right-click the notification icon, and select "Stop all alarms".
6) Observe that while the icon stops blinking, the alarm "test2" is still enabled and blinking in the main UI.
7) Disable "test2" by selecting it and using the Stop button.
8) Observe that the notification icon begins blinking again.
9) Finally, access the "Stop all alarms" notification icon menu function again to stop the tray icon blinking.

10) Repeat the process with "Repeat Sound" enabled in the timer or alarm's options dialog, and observe the bug does not occur.

Debug output from the applet is attached.

Related branches

Troy R. (dsm-iv-tr) wrote :
Johannes H. Jensen (joh) wrote :

Wow, you're right. That's a weird bug, thanks for reporting it.

Changed in alarm-clock:
assignee: nobody → Johannes H. Jensen (joh)
importance: Undecided → Medium
milestone: none → 0.3.2
status: New → Confirmed
Johannes H. Jensen (joh) wrote :

Fixed in rev 194.

Changed in alarm-clock:
status: Confirmed → Fix Committed
Johannes H. Jensen (joh) on 2011-03-20
Changed in alarm-clock:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments