Version: 1.6.0 (using KDE 3.5.2, Gentoo) Compiler: gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) OS: Linux (i686) release 2.6.17-gentoo-r4 i started working on a task on saturday and forgot to stop the session when i left off. as expected, the dialog box asking me whether to reset the timer came up, by which i corrected the problem. however, my calendar still shows the erroneously overlong session. saving the karm calendar and reloading it in korganizer does not help.
Created attachment 17987 [details] screenshot showing karm and korganizer the task at issue here is "ringextensions". the second to last entry in the calendar list shows several days of activity, while karm itself effectively only logged about three hours.
I cannot reproduce. The idletimedetector-question resets the timing at me correctly. Which distribution and version are you using ?
Is the time correctly displayed in karm and overlong in your calendar ? Which calendar are you using ? Can you paste your .ics file ?
Björn Gohla writes: yes, it shows correctly in karm. i use korganizer.
The reason is, because karm stores a negative X-KDE-karm-duration in case a timing is rolled back. If possible, I would correct the latest VEVENT instead.
For all active tasks, we have to do a setRunning(false) and then a setDtEnd as in http://developer.kde.org/documentation/library/3.5-api/kdepim-apidocs/libkcal/html/classKCal_1_1Event.html#a6 in case the timing shall be rolled back.
Created attachment 18399 [details] this patch seems to bring the solution needs to be tested and improved
Created attachment 18403 [details] after doing some infrastructure work, I think, this is the solution please test
Created attachment 18408 [details] works for me
Committed revision 602294.
Fixed with revision 620137