Bug 229 - Wr can't cope with changing system time
Status:
RESOLVED FIXED
Component:
Core
Version:
1.0.0
Hardware:
PC Linux
Importance:
P3 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Apr 3 2003 10:12:02 UTC
by:
Kees-Jan Dijkzeul
Modified:
Apr 8 2003 12:41:09 UTC
WhoWhenWhatRemovedAdded
Rob CaelersApr 3 2003 10:37:44 UTCstatusNEWASSIGNED
Rob CaelersApr 8 2003 12:41:09 UTCstatusASSIGNEDRESOLVED
resolutionFIXED
Description
Kees-Jan Dijkzeul  Apr 3 2003 10:12:02 UTC
Testcase:
Set a daily limit of two hours. Now start working. Now advance the system time
with two hours.

Expected result:
You are still allowed to work for a little under two hours

Actual result
The daily limit prelude and window are shown.

maybe this is related to bug 221 ???
Comment 1
Rob Caelers  Apr 3 2003 10:37:45 UTC
I guess they are related, but not the same. Workrave must detect jumps in time.
If a jump is detected, the activity monitor must be forced to idle (if the time
is frozen for more than 5s, this should solve bug 221) and the timers have to be
notified of the delta.
Comment 2
Rob Caelers  Apr 8 2003 12:41:09 UTC
When a jump in time is detected, the timers are corrected and the activity
monitor is forced to idle.