Bug 207047

Summary: Idle detection dialogue incorrectly assumes task has not been stopped manually.
Product: [Applications] ktimetracker Reporter: Tim Small <tim>
Component: generalAssignee: Thorsten Staerk <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 4.7

Description Tim Small 2009-09-11 10:08:23 UTC
Version:           4.2.0 (using KDE 4.2.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

1 Create and start a new task.
2 Leave the desktop idle beyond the "idle timer" setting (e.g. 15
minutes) - an idle detection dialog pops up - do not ack the
dialog.
3 Manually stop the task (e.g. with 30 minutes elapsed on the task).
4 Wait some time (e.g. 5 hours because the dialog goes unnoticed).
5 Click "revert" on the dialog.
6 Idle timer dialog now subtracts 5hours+15 minutes from the task.

Result - 

Task ends up with an incorrect total time (in this case *minus* 4 hours
and 45 minutes).

Fix -

The idle dialog should stop adding to the idle time, if the task was
manually stopped.

e.g. perhaps it should display either:

'The task "task name" has been idle for a:bc'

'ignore idle period and continue timing' or 'go back and stop'

or

'The task "task name" was idle from a:bc until d:ef' 

'subtract x:yz' or 'ignore'

?

I find that I frequently miss the idle detection diaglog e.g, because it's
on a different desktop.

As a workaround, I have used the "window behaviour" KDE system setting
to force the idle detection dialogs to appear centered, and raised on
all desktops - perhaps this should happen automatically as well?

Ta,

Tim.