Tray icon flickering

Valentine Sinitsyn Valentine.Sinitsyn at usu.ru
Tue Jul 11 12:36:29 CEST 2006


Hi again,

>>> So you mean that the "right way" is to erase Tray "in backgorund" then
>>> drawPixmap() on it then show it?

WS>> Something like that, I haven't figured out how to double buffer by hand.
WS>> Qt 4 has double buffering for all widgets, not Qt3.

VS> Yes I remembered this after I've sent the letter. I was thinking about
VS> this double-buffering issue. The main problem seems to be how to
VS> "erase Tray contents in the background" - Qt just asks X11 to repaint
VS> an area occupied by Tray to erase it so it could hardly be done
VS> in-memory. I've posted some questions to forums so we'll see if there
VS> is a solution.
Ok, googling a little showed that I was not quite correct. Background pixmap is
available as QWidget::paletteBackgroundPixmap so it should be
relatively easy to implement double-buffering. I'll do that if the
time permits.

Valentine.





More information about the kde-networkmanager mailing list