Bug 91732

Summary: complete task still get timing
Product: [Applications] ktimetracker Reporter: Qing Zhang <gimbiri>
Component: generalAssignee: Thorsten Staerk <dev>
Status: RESOLVED FIXED    
Severity: normal CC: airbaggins, dan.falconer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Patch to prevent completed tasks from starting.

Description Qing Zhang 2004-10-20 04:11:15 UTC
Version:           1.4.1 (using KDE 3.3.1, compiled sources)
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-2)
OS:                Linux (i686) release 2.4.26-general

When associate Karm auto timing with the desktop. Completed task still gets timing when switched to the corresponding desktop.
Example:
  Associate a task with desktop 2. Then mark this task as completed. However, when switch the task to desktop 2, the task auto starts timing. Since the completed task is a grey bar, I can not even stop or delete it.
Comment 1 Mark Bucciarelli 2004-10-20 14:40:55 UTC
Hi Qing,

Thank you for your report!  I have marked this one as a very high priority.
Comment 2 Bill Robinson 2005-06-05 19:33:58 UTC
Created attachment 11343 [details]
Patch to prevent completed tasks from starting.

Very simple little patch that will not start a new task if it has been marked
as complete.
Comment 3 Thorsten Staerk 2005-06-25 15:03:51 UTC
William, thanks for your patch. The idea is really simple thus beautiful. This code is now in the subversion repository.
Comment 4 Thorsten Staerk 2007-12-04 19:28:19 UTC
*** Bug 153427 has been marked as a duplicate of this bug. ***
Comment 5 Thorsten Staerk 2007-12-04 19:31:53 UTC
Bug still (or again) exists.

Reproduce: add a task, complete it, then add another, with both tracking time for a certain desktop.  The completed task will continue to be updated. 
Comment 6 Thorsten Staerk 2007-12-04 20:09:50 UTC
SVN commit 744871 by tstaerk:

Do not append completed tasks to active list
CCBUGS:91732


 M  +1 -1      task.cpp  
 M  +9 -6      taskview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=744871
Comment 7 Thorsten Staerk 2007-12-05 22:41:50 UTC
SVN commit 745286 by tstaerk:

Do not append completed tasks to active list
BUGS:91732 


 M  +1 -1      task.cpp  
 M  +12 -9     taskview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=745286
Comment 8 Thorsten Staerk 2007-12-05 22:47:12 UTC
The prio is not very high because it does not affect every user.
The prio is not high because it does not affect most users. 
This bug only affects users who do desktop tracking (I do not like this).