Bug 177929 - korganizer reminders sometimes do not fire
Summary: korganizer reminders sometimes do not fire
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-16 21:27 UTC by doc.evans
Modified: 2009-06-30 21:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doc.evans 2008-12-16 21:27:18 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

There's a bug (144683) against KOrganizer in KDE 3.x, but since I'm running 4.1, I thought I'd better file a new bug report, since I assume that a lot of the code has changed.

Reminders are simply not reliable. Sometimes they don't fire at all.

I had a reminder set for an event this morning, and I was late because the reminder didn't fire.

Here is the entry in the calendar file:

----
BEGIN:VEVENT
DTSTAMP:20081215T181327Z
ORGANIZER;CN=D. R. Evans:MAILTO:
CREATED:20081215T181226Z
UID:libkcal-1622856547.168
LAST-MODIFIED:20081215T181226Z
SUMMARY:Lunch with Lucent people
LOCATION:Woody's
CATEGORIES:Appointment
DTSTART;TZID=America/Denver:20081216T110000
DTEND;TZID=America/Denver:20081216T130000
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT30M
END:VALARM

END:VEVENT
----

Notes:

1. The KOrganizer reminder daemon was running (and still is, and the alarm has still not fired);
2. I am still logged into the same session as the one in which the event was created.
Comment 1 doc.evans 2009-01-10 18:36:11 UTC
The following seems to consistently demonstrate the bug:

1. start kontact/korganizer
2. subscribe to a remote calendar
3. add an event in the near future (say 15 minutes from now)
4. add a reminder set to fire 5 minutes before the event
5. save the information to the remote calendar
6. close kontact/korganizer

The event does not fire.

I'm actually rather confused as to how there aren't a bzillion bug reports on this. korganizer is essentially useless as a PIM here, since one can't rely on reminders to fire (the only way to force them to fire seems to be to log out and back in). Maybe it's just me that's experiencing this, although I can't think why that would be true.

Comment 2 Sergio Martins 2009-02-27 13:48:11 UTC
SVN commit 932770 by smartins:

Alarm interval was converted to minutes when read, but not converted back to seconds when written.
Thanks to Lars who spotted this.

BUG:177196
CCBUG:140551
CCBUG:141283
CCBUG:144683
CCBUG:177929


 M  +2 -2      koeditoralarms.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=932770
Comment 3 Sergio Martins 2009-06-15 00:15:58 UTC
Can you reproduce it only with remote calendars, or also with local calendars?
Comment 4 doc.evans 2009-06-24 00:00:29 UTC
I don't have any local calendars. 

I'll set one up and experiment.
Comment 5 doc.evans 2009-06-30 17:11:26 UTC
It seems fine with local calendars (or maybe it's just because I think I'm now probably running with the patch from comment #2 [I'm running KDE 4.2.2 now], so it seems to be FIXED for all calendars).
Comment 6 Sergio Martins 2009-06-30 21:15:09 UTC
great.

If you see this problem again reopen or search for similar bugs.