Events trigger reminder notifications even when no reminder is set

Bug #1377882 reported by James Tait
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Medium
Mihir Soni

Bug Description

I used the calendar app to block out sessions I wanted to attend at a conference. The events were saved to my Personal calendar (which is the local one, IIUC), and did not have reminders set. However, I still got reminder notifications for each of the events.

STR:

 - Open Calendar
 - From the actions mention, select New Event
 - Fill in some basics - time/date, event name, location.
 - Save the event
 - Wait until the alotted time, and observe the reminder.

It seems I had to make the event at least a couple of minutes in the future for the reminder to trigger. I also had to take account of the reminder triggering 1h before the event.

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 3
device name: mako
channel: ubuntu-touch/ubuntu-rtm/14.09
last update: 2014-09-29 19:10:22
version version: 3
version ubuntu: 20140929
version device: 20140923
version custom: mako-0.5

phablet@ubuntu-phablet:~$ click info com.ubuntu.calendar
{
    "_directory": "/opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.calendar",
    "_removable": 1,
    "architecture": "all",
    "description": "A calendar for Ubuntu which syncs with online accounts",
    "framework": "ubuntu-sdk-14.10-qml-dev3",
    "hooks": {
        "calendar": {
            "account-application": "com.ubuntu.calendar_calendar.application",
            "apparmor": "calendar.apparmor",
            "desktop": "com.ubuntu.calendar_calendar.desktop",
            "urls": "com.ubuntu.calendar_calendar.url-dispatcher"
        }
    },
    "icon": "calendar-app@30.png",
    "installed-size": "984",
    "maintainer": "Ubuntu App Cats <email address hidden>",
    "name": "com.ubuntu.calendar",
    "title": "Calendar",
    "version": "0.4.489",
    "x-source": {
        "vcs-bzr": "lp:ubuntu-calendar-app",
        "vcs-bzr-revno": "489"
    },
    "x-test": {
        "autopilot": {
            "autopilot_module": "calendar_app",
            "depends": [
                "python3-dateutil",
                "address-book-service-dummy",
                "address-book-service-testability"
            ]
        }
    }
}

Related branches

Revision history for this message
James Tait (jamestait) wrote :

Here is the entry from ~/.local/share/evolution/calendar/system/calendar.ics:

BEGIN:VEVENT
UID:20141006T104411Z-4694-32011-1779-1@ubuntu-phablet
DTSTAMP:20141006T104631Z
DTSTART:20141006T115038
DTEND:20141006T125038
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:Can't parse as RECUR value
 in RRULE property. Removing entire property: ERROR: No Value
LOCATION:Home
SUMMARY:Test event
SEQUENCE:1
LAST-MODIFIED:20141006T104631Z
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20141006T104631Z-4694-32011-1779-10@ubuntu-phablet
ACTION:AUDIO
END:VALARM
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20141006T104631Z-4694-32011-1779-11@ubuntu-phablet
ACTION:DISPLAY
DESCRIPTION:Test event
END:VALARM
END:VEVENT
END:VCALENDAR

But the Event Details clearly say "No Reminder" in the Reminder section.

description: updated
Revision history for this message
Mihir Soni (mihirsoni) wrote :

I believe , the reminder must have triggered on event time ?

If yes , we have resolved this issue in upcoming calendar update.

Could you please confirm ?

Changed in ubuntu-calendar-app:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
James Tait (jamestait) wrote : Re: [Bug 1377882] Re: Events trigger reminder notifications even when no reminder is set

It's possible. I was trying to discount DST in my tests, but didn't
completely convince myself that it wasn't at play. I could try the same
thing in SAST (they don't do DST, clever people!) and see if I can prove it
one way or the other.

On 16 October 2014 19:11, Mihir Soni <email address hidden> wrote:

> I believe , the reminder must have triggered on event time ?
>
> If yes , we have resolved this issue in upcoming calendar update.
>
> Could you please confirm ?
>
> ** Changed in: ubuntu-calendar-app
> Status: New => Confirmed
>
> ** Changed in: ubuntu-calendar-app
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1377882
>
> Title:
> Events trigger reminder notifications even when no reminder is set
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1377882/+subscriptions
>

--
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services
Ubuntu - Linux for human beings | www.ubuntu.com

Revision history for this message
James Tait (jamestait) wrote :

OK, so setting my timezone to SAST (UTC+0200) and adding an event 5 minutes
into the future, no reminder fired. However, changing the date to 2h5m
into the future, the reminder fired 2h before the event. So it looks like
the reminder is being *stored* in UTC, but *fired* in local time.

On 17 October 2014 10:44, James Tait <email address hidden> wrote:

> It's possible. I was trying to discount DST in my tests, but didn't
> completely convince myself that it wasn't at play. I could try the same
> thing in SAST (they don't do DST, clever people!) and see if I can prove it
> one way or the other.
>
> On 16 October 2014 19:11, Mihir Soni <email address hidden> wrote:
>
>> I believe , the reminder must have triggered on event time ?
>>
>> If yes , we have resolved this issue in upcoming calendar update.
>>
>> Could you please confirm ?
>>
>> ** Changed in: ubuntu-calendar-app
>> Status: New => Confirmed
>>
>> ** Changed in: ubuntu-calendar-app
>> Importance: Undecided => Medium
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1377882
>>
>> Title:
>> Events trigger reminder notifications even when no reminder is set
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1377882/+subscriptions
>>
>
>
>
> --
> James Tait, BSc. | https://launchpad.net/~jamestait/
> Software Engineer, Canonical Online Services
> Ubuntu - Linux for human beings | www.ubuntu.com
>

--
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services
Ubuntu - Linux for human beings | www.ubuntu.com

Revision history for this message
Mihir Soni (mihirsoni) wrote :

James,
Which image and version of calendar you're testing?

Revision history for this message
James Tait (jamestait) wrote :

phablet@ubuntu-phablet:~$ click list | grep
com.ubuntu.calendarcom.ubuntu.calendar 0.4.502phablet@ubuntu-phablet:~$
system-image-cli -icurrent build number: 4device name: makochannel:
ubuntu-touch/ubuntu-rtm/14.09last update: 2014-10-08 09:47:10version
version: 4version ubuntu: 20141007version device: 20140929.1version
custom: mako-0.5

On 17 October 2014 11:45, Mihir Soni <email address hidden> wrote:

> James,
> Which image and version of calendar you're testing?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1377882
>
> Title:
> Events trigger reminder notifications even when no reminder is set
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1377882/+subscriptions
>

--
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services
Ubuntu - Linux for human beings | www.ubuntu.com

Mihir Soni (mihirsoni)
Changed in ubuntu-calendar-app:
assignee: nobody → Mihir Soni (mihirsoni)
Mihir Soni (mihirsoni)
Changed in ubuntu-calendar-app:
status: Confirmed → In Progress
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.

Other bug subscribers

Remote bug watches

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