Tray icon flickering

Will Stephenson wstephenson at kde.org
Sun Jul 9 10:25:29 CEST 2006


On Friday 07 July 2006 13:48, Valentine Sinitsyn wrote:
> When KNetworkManage connects to a wireless network, it shows rotating
> gears with a small progress bar as a tray icon. This is pretty good,
> but sometimes the gear flickers. Am I the only who seeing this? Any

No - it's because the draw to the widget is not double buffered.  

> ideas why this may happen? BTW, what's wrong with tray->setMovie()? I
> see the commented code that uses that method but it seems that
> afterwards everything was moved to QTimer/setPixmap animation.

With QMovie the transparent areas of the frame are not cleared before the next 
frame is drawn, so you get a smearing overdraw effect.  It would work fine if 
the animation did not have any transparent areas.  

Will	

-- 
Will Stephenson
IRC: Bille


More information about the kde-networkmanager mailing list