| Summary: | [activity] fix task activity timing discrepancies | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Robert Elves <robert.elves> | ||||||
| Component: | Mylyn | Assignee: | Robert Elves <robert.elves> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.0 M3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Robert Elves
Timing appears to work throughout the day but upon startup times are off. This indicates that parsing of the activity meta context has a serious bug. I'm starting to get the suspicion that the problem is a result of the computer going into sleep. How are we currently detecting that? It seems that to avoid problems with sleep/hibernate/crash this needs to be "heartbeat" based, i.e., if the user activity monitor does not issue a heartbeat, time should not have elapsed. Fixed multiple problems related to task timing. Leaving open as I still have some refactoring I'd like to do under this report. Scheduling additional refactoring for early M3. Timing is working way better for me. I've had cycles of sleep, hibernate, and VM crash and all looks consistent so far so lowering priority. Refactoring completed. Created attachment 62850 [details]
mylar/context/zip
Some bug remains as I had timing jump for an active task. Task had been active for two days. Laptop was in suspend mode over night. Workbench cycled once on second day. Should the timer be monitoring all activity external in Windows? (I'm not sure mine is incrementing as it should). Monitoring activity outside of the Eclipse workbench is outside the scope of the Mylar project. However the Mylar framework can be extended to include additional monitoring facilities. Fixed. Bug in collapse of activity events after returning from sleep mode resolved. Created attachment 63746 [details]
mylar/context/zip
|