Bug 418495

Summary: Wrong idle delection
Product: [Applications] ktimetracker Reporter: Alexander <slex.bi>
Component: generalAssignee: Alexander Potashev <aspotashev>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version: 5.0.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander 2020-03-05 12:27:11 UTC
SUMMARY


STEPS TO REPRODUCE
1. Set some task as active
2. Leave laptop inactive at 11:30 (time is given for instance)
3. Touch mouse or keyboard at 14:00 (time is given for instance)
4. KTimeTracker asks what to do with idling from 11:30. I answer "Revert time"


OBSERVED RESULT
Right after that KTimeTracker asks what to do with idling from 14:00. I answer "Revert time".
As a result I have task was working from 11:30 till 14:00.

EXPECTED RESULT
I have task not working from 11:30

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2021-09-25 20:42:44 UTC
Cannot reproduce this. Could you please share what StartTime/EndTime is being recorded in the event history dialog (click "File -> Edit History" to open it) after you click "Revert timing"?

In terms of your example, would EndTime be set to 11:30 or to 14:00? (It should be set to 11:30, and this is exactly how it works on my laptop.)