Optimize system tray
-
1. Reduce tray icon update frequency
For a zip with 10000 files the icon is updated 10000 times (+1 maybe). Also for large files the tray gets updated frequently.
Better: Update tray only if the icon/text does really change.
Note: For each tray icon a WM_COPYDATA is syncronously sent to the desktop. Therefore changing the icon would greatly improve performance on a large number of small files.There should only be up to a max. of 101 updates (0% to 100%, one for each percent).
2. Bug - percent not updated for large file
The tray icon shows as text <filename>, 0% all the time for large single file extraction.
Should be in sync with progress bar (total%).3. Bug - left click on the tray and it disappears
… but it reappears after a moment.
It should not disappear or never reappear (unless 'container’ed).4. Icon design
The icon is almost unidentifiable if percent number is low.
I think it’s better to use the normal icon and a little progess bar (one or two pixel) on it’s right or bottom.
BTW: I ever wondered why the tray icon looks that bad, and I just found out that it shows the progress.</filename> -
4. Icon design
The icon is almost unidentifiable if percent number is low.
I think it’s better to use the normal icon and a little progess bar (one or two pixel) on it’s right or bottom.
BTW: I ever wondered why the tray icon looks that bad, and I just found out that it shows the progress.I prefer the way it is now, the icon filling up is “cute” :p