[Kde-pim] KOrganizer4 Is Sooo Slow

Reinhold Kainhofer reinhold at kainhofer.com
Mon Nov 5 14:02:31 GMT 2007


Am Montag, 5. November 2007 schrieb Cornelius Schumacher:
> On Monday 05 November 2007 02:38:33 Allen Winter wrote:
> > Finally we know why KOrganizer is so slow.
> >
> > In CalendarLocal::rawEventsForDate:
> >       if ( event->dtStart() <= kdt ) {
> >         KDateTime end( event->dtEnd().toTimeSpec( event->dtStart() ) );
>
> The toTimeSpec call looks like it could spend a lot of time. Is this
> actually the case?
>
> Why don't we convert the datetimes to UTC when saving the event?

Because that's wrong with recurrences. In particular, our implementation has 
been violating the RFC for years in this regard (and the iCalendar files have 
been imported wrongly into other applications!).
A weekly recurrence each monday at 0:00 in Europe/Vienna, is a weekly 
recurrence each sunday at 23:00 in UTC!

Cheers,
Reinhold


-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list