Phone notifies me of calendar events multiple times.

Bug #1470583 reported by Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„
54
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
High
Renato Araujo Oliveira Filho
indicator-datetime (Ubuntu)
Invalid
Undecided
Unassigned
qtorganizer5-eds (Ubuntu)
Invalid
High
Unassigned

Bug Description

Open calendar
Create a new event by tapping anywhere in the calendar timeline
Tap Untitled new event to modify the time
Set time to be a few moments from now
Set reminder to be "On event"

Time passes...

Notification appears, sound rings at time of alarm

2 minutes later

Notification appears, sound rings

.. and again..

I'd expect it to only go off once.

$ system-image-cli --info
current build number: 54
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-07-01 10:51:36
version version: 54
version ubuntu: 20150701
version device: 20150529-8e13c5f
version custom: 20150528-722-29-15-vivid

Tags: indicator

Related branches

Revision history for this message
Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„ (popey) wrote :

Looks like REPEAT:3 in the calendar.ics is to blame?
For "on time" event I probably only need to be told once, at the time of the event, not again, after the event has happened?

BEGIN:VEVENT
UID:20150701T163831Z-14086-32011-1972-7@ubuntu-phablet
DTSTAMP:20150701T163858Z
DTSTART:20150701T164000Z
DTEND:20150701T174000Z
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:Can't parse as RECUR value
 in RRULE property. Removing entire property: ERROR: No Value
SUMMARY:Untitled
SEQUENCE:1
LAST-MODIFIED:20150701T163858Z
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:
 20150701T163858Z-14086-32011-1972-10@ubuntu-phablet
ACTION:AUDIO
TRIGGER;VALUE=DURATION;RELATED=START:PT0S
REPEAT:3
DURATION:PT2M
END:VALARM
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:
 20150701T163858Z-14086-32011-1972-11@ubuntu-phablet
ACTION:DISPLAY
DESCRIPTION:Untitled
TRIGGER;VALUE=DURATION;RELATED=START:PT0S
REPEAT:3
DURATION:PT2M
END:VALARM
END:VEVENT
END:VCALENDAR

summary: - Phone won't stop reminding me of calendar events
+ Phone notifies me of calendar events multiple times.
description: updated
Revision history for this message
Charles Kerr (charlesk) wrote :

Fencepost warning: the repeat property defines the number of time the alarm should be repeated, after the initial trigger -- so if you want the alarm to go off once, repeat should be omitted or set to zero.

Revision history for this message
zulucloud (zulucloud) wrote :

It seems the "buggy" behaviour does NOT show up if one creates a new event and leaves the reminder time at it's default (15 min) !

It DOES (at least) show up if the reminder time is changed to 1 hour and 2 hours before (i tested just this two values).

Reproduce:

Open calendar
create new event by tapping "New Event"
set start time to something more than 2 hours from now
set reminder time to "2 hours"
wait...
Notification appears, sound rings 2 hours before event
2 minutes later
Notification appears, sound rings
.. and again..

Delete that event; notification stops.

Create new event by tapping "New Event"
set start time to something more than 15 minutes from now
leave reminder time at it's default (15 min)
wait...
Notification appears, sound rings 15 minutes before event.... just once!

My device:
BQ Aquaris E4.5 Ubuntu edition; device name: krillin / current build number: 23 / version version: 23

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

as discussed,
<popey> In my mind I shouldn't get told about something after it's happened - in the calendar
<popey> for the clock - it's different. An alarm can snooze and I can be reminded again and again
<popey> but for calendar events I feel like we should stop pinging the person once the thing starts
<popey> So when saving an event, the repeat should be zero, _if_ the alert is set as "on time"
<popey> if it's any time before that, we should repeat.
<popey> What do you guys think?
<JMulholland> Sounds logical to me

For reminder on "On Time", repeat will be zero also repeat delay is changed to 5 min.

Changed in ubuntu-calendar-app:
assignee: nobody → Kunal Parmar (pkunal-parmar)
importance: Undecided → Medium
Changed in ubuntu-calendar-app:
status: New → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calendar-app at revision 699, scheduled for release in ubuntu-calendar-app, milestone rtm14

Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Revision history for this message
Bill Filler (bfiller) wrote :

There is no setting in the UI to specify how many times you want a reminder to repeat. So for now we should make it repeat 0 times as it's very annoying. If at some point we have a frequency for notifications (which I am not advocating for) we can set the repeat time appropriately.

Changed in ubuntu-calendar-app:
status: Fix Committed → Confirmed
importance: Medium → High
assignee: Kunal Parmar (pkunal-parmar) → Renato Araujo Oliveira Filho (renatofilho)
Revision history for this message
Bill Filler (bfiller) wrote :

That is, you should be notified only once at the time you ask for and then not again after that.

Bill Filler (bfiller)
no longer affects: unity-notifications (Ubuntu RTM)
Changed in qtorganizer5-eds (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → High
status: New → Confirmed
Changed in ubuntu-calendar-app:
milestone: none → 0.5
Bill Filler (bfiller)
tags: added: indicator
Charles Kerr (charlesk)
Changed in indicator-datetime (Ubuntu):
status: New → Invalid
Changed in qtorganizer5-eds (Ubuntu):
status: Confirmed → Invalid
assignee: Renato Araujo Oliveira Filho (renatofilho) → nobody
Changed in ubuntu-calendar-app:
status: Confirmed → In Progress
Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.