Bug 325645 - Duplicate invisible calendar entries (Reminders can't be dismissed/suspended)
Summary: Duplicate invisible calendar entries (Reminders can't be dismissed/suspended)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: incidence editors (other bugs)
Version First Reported In: 4.10.5
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 21:22 UTC by Volker Kuhlmann
Modified: 2017-01-07 22:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Kuhlmann 2013-10-04 21:22:33 UTC
I've had it several times now that reminders can't be dismissed or suspended. Every minute, the popup shows up again with a "ding" in the sound system.

Reproducible: Always

Steps to Reproduce:
1. Set a todo, with annual repeat and a reminder 42 days before the todo is due.
2. Wait for the reminder.
3. Select the entry, dismiss the reminder.
4. Next time, select the entry, suspend the reminder.
Actual Results:  
The reminder keeps on popping up forever.

Expected Results:  
1. The reminder to be repeated when the selected suspend duration is over.
2. The reminder to be permanently dealt with when dismissed.

I had to quit kmail and korganiser to be able to stop akonadi and the whole PIM shebang.
Only korgac was still running, KDE PIM stopped being n unusable PITA only after killing korgac.
When restarting kmail and korganizer, korgac was started automatically and the whole problem returns.

I had synchronised the calendars in akonadiconsole before quitting the PIM stuff, no difference.
Comment 1 Volker Kuhlmann 2013-10-04 21:27:16 UTC
This is the entry from the calendar.ics.
I checked that there is only a single entry in the .ics (yes I've had double entries that don't show in the GUI and make PIM go crazy).

BEGIN:VTODO
ORGANIZER;CN=...
DTSTAMP:20130925T015152Z
COMMENT:NoStartDate
CREATED:20130805T081818Z
UID:libkcal-203114456.576
SEQUENCE:4
LAST-MODIFIED:20130925T015152Z
SUMMARY:...
PRIORITY:5
RELATED-TO:libkcal-1115333444.395
RECURRENCE-ID:20131116T000000
RRULE:FREQ=YEARLY;BYMONTHDAY=16;BYMONTH=11
DUE;VALUE=DATE:20131116
PERCENT-COMPLETE:0
X-KDE-LIBKCAL-DTRECURRENCE;VALUE=DATE:20131116
BEGIN:VALARM
DESCRIPTION:... 42 days\n(Due 16 Nov)
ACTION:DISPLAY
TRIGGER;VALUE=DURATION;RELATED=END:-P6W
X-KDE-KCALCORE-ENABLED:TRUE
END:VALARM
END:VTODO
Comment 2 Volker Kuhlmann 2013-10-04 21:55:35 UTC
OK when I edit the todo and change the reminder period from 42 to 41 days, a second(!!) entry shows up in calendar.ics.
When I synchronise the calendar (Kontact: update calendar folder, or with akondaiconsole) the entry disappears again.

Can you please explain how this can happen?

It looks like this whole .ics file database akonadi "construction" is one big mess, and it's unusable.
Comment 3 Volker Kuhlmann 2014-02-17 23:00:06 UTC
This happens when there are entries in the calendar.ics file that are not shown by kontact, but are acted on by korgac (which I guess does its own query on the database).
Invisible entries like these happen after copy/paste operations (which are extremely buggy, especially between different calendars).
It seems that it is possible to end up with duplicate entries in the same calendar or in different calendars. Kontact then only shows one entry, giving the impression all is well, but akonadiconsole or a text editor know better.
The only way to fix this problem is to delete the duplicates with akonadiconsole.

This kind of bug makes the calendar/reminder system unusable for serious deployment.
Comment 4 Volker Kuhlmann 2014-02-17 23:05:49 UTC
Changed title, and component, as the bug seems not to be in korgac.
Comment 5 Kishore 2014-05-06 18:56:16 UTC
I have the same issue and it seems that the repeated popup issue only happens between 0000hrs and 0100hrs. I only have birthday reminders that popup at midnight. When i dismiss a reminder when i see it in the morning, it truly is dismissed.
Comment 6 Volker Kuhlmann 2014-05-12 08:02:34 UTC
The reminder can not be dismissed for me at all, midnight or morning. Looking at the akonadi database with akonadiconsole shows why this is so (double entries, only one being dismissable, but both being reminded for).
Comment 7 Denis Kurz 2016-09-24 18:47:02 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 22:25:32 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.