Bug 361242

Summary: korganizer fires remainder event every minute when time switch to DST
Product: [Applications] korganizer Reporter: Wulf <wulf.richartz>
Component: reminder daemon (korgac) [CLOSED: Use Reminder Daemon product]Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: minor CC: b.buschinski, cfeck, envite, gjditchfield, jlp, johannes, myriam, prozac, simonandric5, steffen.klee, tcl-kde, thomas, tsujan2000, wulf.richartz
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wulf 2016-03-31 17:51:44 UTC
+++ This bug was initially created as a clone of Bug #250729 +++

Version:           4.4.5 (using KDE 4.4.5) 
OS:                Linux

I've setup a pending task, with an advanced remainder: fire 1 hour after end, repeat once each 60 minutes.
But korganizer daemon reminds me every minute.

This has been reported (with a screenshot) in Ubuntu launchpad: https://bugs.launchpad.net/bugs/488251

Reproducible: Always

Steps to Reproduce:
Create a pending task.
Configure it for a remainder with a period larger than 1 minute (for example, once each 60 minutes).
Wait for the remainder start time to come.

Actual Results:  
korgac remainds every minute

Expected Results:  
korgac remainds as desired (like once every 60 minutes)

korgac is unusable if it fires every minute. I must deactivate it.

----------------------
Lst Comments:
 Wulf 2016-03-26 02:37:11 CET
the bug is back again; started today (2016-03-26) at 02:00 UTC+1 (MET) korgac shows me reminders every minute for all birthdays for the next 12 months in future korgnizer version 5.1.3, Frameworks 5.19.0, Qt 5.5.1

[reply] [−] Comment 16 Tsu Jan 2016-03-26 12:37:26 CET
@Wulf I think this bug has never been fixed because it occurs once a year, being related to daylight saving time.

[reply] [−] Comment 17 Wulf 2016-03-26 14:30:51 CET
@Tsu Jan I think you are right, because reminders stopped at 3 am. But then there is a bug in the calculation of the beginning of DST for Europe. It's the last Sunday in march 1 am UTC, not Saturday!
Comment 1 gjditchfield 2022-05-28 17:03:59 UTC
As of version 22.04.0 (5.20.0), korgac has been replaced by a new
reminder daemon, kalendarac.  If you have upgraded to that version,
please watch for unreliable reminders and report them as bugs for
product "Reminder Daemon".

For what it's worth, I couldn't reproduce this bug with kalendarac.
- Create contacts with birthdays before, on, and after 2022-03-13
  (recent CST transition).
- Settings > Date & Time: don't set automatically
- pkill kalendarac
- mv ~/.config/kalendaracrc ~
- sudo date -s '2022-03-12 23:57:00.0'
- Log out and back in.  Reminders appeared as expected as time passed.
- sudo date -s '2022-03-13 01:57:00.0'
  No extra reminders appeared as time passed.