[Users] [Bug 2546] Recurring event in the vcalendar plugin makes claws mail start extremely slowly

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Aug 7 13:40:18 CEST 2013


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2546

Snowman <setopast at yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |setopast at yandex.ru

--- Comment #5 from Snowman <setopast at yandex.ru> ---
this annoying freezing also occur every some minutes if you turn on alerts for
events in preferences even you are not working with vCalendar at this time, for
example when you are compose a new message or just write a reply

the reason is the nonoptimal routine vcal_get_events_list() which recreates 100
occurence-files for every recurring event at every call, also it saves backup
file for each one (by using function developed for prefs controlling)

it takes a huge amount of time at:
— the starting of the app
— the entering into calendar folder
— every time claws-mail checks if it's time to alert a close event

number of occurences of the recurring event (100) is hardcoded in sources, but
what can I do if I need more instances?

is it time to refactoring this strange code? ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list