brunyuriy / crystalvc

Automatically exported from code.google.com/p/crystalvc
Other
6 stars 5 forks source link

The system tray icon blinks every time the relationship is recalculated. #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This has been verified on Linux and Windows.  It is very evident when the 
refresh rate is set to be frequent (e.g., 1 second).  

Make sure that the icon never changes to something else (e.g., the clock) 
during the calculation.  

Original issue reported on code.google.com by yuriy.b...@gmail.com on 28 Aug 2011 at 4:28

GoogleCodeExporter commented 9 years ago
Fixed in commit c30470167622.  

The problem was that we were calling icon.flush() to make sure the image got 
pushed to the screen.  The flush was causing a flicker, even if the icon was 
exactly the same.

Original comment by yuriy.b...@gmail.com on 28 Aug 2011 at 4:53