[Bug 287565] Korganizer crashes every time at any attempt to set a timezone other than UTC for an event or a to-do, or to edit an imported event/to-do with such timezone

Andre Heinecke aheinecke at intevation.de
Tue Feb 21 11:42:43 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=287565





--- Comment #8 from Andre Heinecke <aheinecke intevation de>  2012-02-21 11:42:42 ---
To document some more infomration on this.
I did a bit debugging into this and the problem is that since revision (
http://quickgit.kde.org/index.php?p=kdelibs.git&a=commit&h=1eeaa054de00b753945c4f2c16c6324a61abbe19
) in kdelibs a combination of olson names and windows timzone names is mixed.
This causes the lookup for some timzones to fail which don't have a correct
Windows equivalent defined. So the data structure for the timezones can not be
initialized and it crashes.

This happens for a lot of timezones, but the fix is not so easy as to just add
the missing timezones to the olson/windows mapping. This will fix the crash and
the timezones are then initialized but the calculation is wrong.
Just reverting the beforementioned commit also causes wrong results.

Since the timzone names are also localized on Windows the code we have in also
appears to be only working on English systems.

So the "fix" for this crash is easy,.. but it only exposed a larger problem
that timezones are currently not handled correctly on Windows. The Unittests
also fail wrt. to actual calculations.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-windows mailing list