Bug 283025

Summary: task starts running when subtracting time
Product: [Applications] ktimetracker Reporter: Thorsten Staerk <dev>
Component: generalAssignee: Zoltan Gyarmati <mr.zoltan.gyarmati>
Status: REOPENED ---    
Severity: normal CC: aspotashev
Priority: NOR    
Version First Reported In: Git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thorsten Staerk 2011-09-29 11:14:42 UTC
Version:           Git (master) (using Devel) 
OS:                Linux

When I subtract time from a task and restart ktimetracker, this task starts running.

Reproducible: Always

Steps to Reproduce:
1. select a task
2. edit it
3. under "change time" write -5
4. click on Ok
5. restart ktimetracker

Actual Results:  
the task runs at startup

Expected Results:  
the task does not run at startup

You can even choose a task so that its total time stays positive after the subtraction.
Comment 1 Thorsten Staerk 2011-10-03 04:19:47 UTC
When looking at the ical file it does not contain a dtEnd for the event set by this action. However, timetrackerstorage places and end event in line 932:
    e->setDtEnd(KDateTime(end, KDateTime::Spec::LocalZone()));
Comment 2 Andrew Crouthamel 2018-09-04 18:54:23 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.