Bug 225254 - Filtering tasks by priority or title and summing their times
Summary: Filtering tasks by priority or title and summing their times
Status: RESOLVED INTENTIONAL
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Thorsten Staerk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 12:13 UTC by Christoph Lange
Modified: 2011-09-28 16:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Lange 2010-02-02 12:13:37 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Gentoo Packages

Here is a use case that I would like ktimetracker to support, without manual workarounds (e.g. using the script I posted for bug 196133):

1. Filter tasks by priority (or, alternatively, by title, using the existing search bar – I used to encode the priority into the task title, e.g. using “+”)
2. Show the sum of the times (total, or in the current session) spent on the selected tasks (including or not including subtasks)

I do that at the end of each session = week, i.e. figuring out how much of my time I have spent on important tasks.

Choosing whether or not to include subtasks into the sum may not be trivial.  In my case, I had normal, important and very important tasks, and assumed that whenever a supertask was important or very important, its subtasks also were.  In any case, attention has to be paid to the special case when both a supertask and some of its subtasks are in the filtered set – i.e. that the subtask is not forgotten or not counted doubly.
Comment 1 Thorsten Staerk 2011-09-28 16:01:27 UTC
Thanks for your report. First, there is already a priority column in ktimetracker. Right-click in the header row, e.g. on "Total Time", then choose "Priority". You can then sort by priority.

As you describe, as long as your subtasks have the same priority as their parents, this works fine.

For the rest of your bug report I accept patches, but am not willing to write them - reopen this bug and set it on your name to provide a patch.