Bug 518 - constant disk access every 1s
Status:
RESOLVED FIXED
Component:
Core :: Win32
Version:
1.8.2
Hardware:
PC Windows
Importance:
P2 normal
Target Milestone:
---
Assignee:
Raymond Penners
URL:
Depends on:
Blocks:
Reported:
Mar 16 2006 14:21:43 UTC
by:
Radoslaw Stachowiak
Modified:
Nov 8 2006 12:29:27 UTC
IdWhoWhenSizeType
51disk usage screenshot
disk usage screenshot
Radoslaw StachowiakMar 16 2006 14:22:20 UTC24818image/png
WhoWhenWhatRemovedAdded
Rob CaelersApr 23 2006 01:11:38 UTCresolutionWONTFIX
summaryconstant disk access every 1sconstant disk access every 1s
statusNEWRESOLVED
Rob CaelersApr 24 2006 21:32:03 UTCstatusRESOLVEDREOPENED
resolutionWONTFIX
Rob CaelersNov 7 2006 22:24:43 UTCresolutionFIXED
statusREOPENEDRESOLVED
Description
Radoslaw Stachowiak  Mar 16 2006 14:21:43 UTC
Running workrave 1.8.2 (although not sure about previous versions) on windows xp sp2 resulting in disk access being done every 1s.

Attached screenshot presents info from File monitor.
Comment 1
Radoslaw Stachowiak  Mar 16 2006 14:22:20 UTC
Created attachment 51
disk usage screenshot
Comment 2
Rob Caelers  Apr 23 2006 01:11:38 UTC
Same here. I have no idea why explorer.exe is examining workrave.exe every second...

google did not show me any answers.  Anyways, I'm not going to fix this. 
Comment 3
Radoslaw Stachowiak  Apr 24 2006 14:52:45 UTC
Maybe it's related to tray area icon and its management?
Pity about WONTFIX, because this makes wokrave unusable on laptop environments.
Comment 4
Rob Caelers  Apr 24 2006 21:32:03 UTC
Brilliant! Workrave updates the systray tray icon tooltip text every second. When I disable this, the disk access is gone!

Still, I doubt it will have any effect on laptop battery lifetime. 
The periodic disk access should only access your cache, not the physical disk. Besides Workrave performs some processing every second (updating timers, updating window), check for break, daily limit, updating statistics etc). I think this disk access is negligible.

Reopening bug. To fix (i.e. remove updating tooltip every second) or not to fix? Raymond?
Comment 5
Raymond Penners  Apr 24 2006 23:38:44 UTC
Is it now 100% certain that updating the systray tooltip causes this problem? Or is it that the way in which this is done currently is the cause of the problem.

In case of the former, options:
- only update the tooltip when a WM_MOUSEMOVE or something like that is detected over the systray icon
- drop the accuracy for the updates, only updating once every minute
Comment 6
Radoslaw Stachowiak  Sep 4 2006 12:18:22 UTC
Any chances on fixing it?
It's very annoying and I'd be very greatful if this can be removed or changed to 1/minute.
Comment 7
Rob Caelers  Nov 7 2006 22:24:43 UTC
It seems that the new statusicon solves this problem :-)
Comment 8
Radoslaw Stachowiak  Nov 8 2006 12:29:27 UTC
Thank You kindly. Which version includes the fix?