khal icon indicating copy to clipboard operation
khal copied to clipboard

100% CPU load if allday event is moved some years in ikhal

Open Bustel opened this issue 3 years ago • 0 comments

Hi,

I am running khal 0.10.3 and I noticed an odd bug. I note down birthdays in ikhal as allday events with yearly repetition. Whenever I happen to know the exact year of birth I set it as the starting date otherwise I just take the current year.

Now if I try to edit a birthday and set it from 2021 and set the start to 1989 ikhal freezes and the process and takes up 100% CPU time.

I presume this happens because some calculation on the event length is done, which for a moment becomes very long. But this happens before I can set back the end date so I cant do anything to work around this.

Bustel avatar May 19 '21 13:05 Bustel