User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:220.127.116.11) Gecko/2008072820 Firefox/3.0.1
Whenever I hover my mouse over the dock, the dock will flicker once. This happens everytime the mouse pointer enters the dock.
Runs ok with compiz.
Steps to Reproduce:
1. everytime the mouse pointer enter the dock
Definitely not a major issue.
The problem seems to lie in the way cairo-dock handle its window. Upon mouse enter events, cairo-dock resizes its window (to allow the icons to grow) but that resize is done toward the top-left, causing the content of the window to be displaced for a fraction of second before the window is repaint.
The problem is not related to the compositor, and shows even when disabling the compositor, or when using other window managers (tried with kwin or metacity). I have not tried with compiz, but it might be that compiz does not update the content at once, that would explain why the content is not repainted during the time the cairo doc is moved/resized.
The window itself uses a static gravity, it might be interesting to try with a south gravity instead (when cairo-dock is located on the top, the resize occurs toward the bottom left and the flicker is less noticeable).
Note that the flicker is hardly noticeable here anyway (using NVidia and the "nouveau" driver).
I have added a timed base repaint in xfwm4 compositor now, the multiples updates from cairo-dock window are now hidden as the repaint is not instantaneous and I do not see any flicker anymore (svn trunk only, I do not plan to backport this in the stable branch for now)