Bug 283025 - task starts running when subtracting time
Summary: task starts running when subtracting time
Status: REOPENED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Zoltan Gyarmati
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 11:14 UTC by Thorsten Staerk
Modified: 2019-11-17 22:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.