PDA

View Full Version : [all variants] KDE (compiz) shadows and cairo glx dock



x-shaney-x
August 18th, 2009, 12:24 PM
Although I'm using gnome I do use a fair few KDE apps also.
I recently installed cairo dock and have found that when running it as glx-dock I lose all the menu shadows (compiz) on KDE apps, when I revert to the no OpenGL cairo dock the shadows come back.

Anything I can do about it as I would prefer to use the OpenGL version.

fabounet
August 18th, 2009, 03:06 PM
I think it is relative to the Qt/opengl bug.
it affects Qt-based application, like VLC of Smplayer.
it's a know bug for 6 months now, and Qt guys don't care ...
but there is a workaround for that, you can find it easily I guess.

x-shaney-x
August 18th, 2009, 03:25 PM
Not that easily (for me), since I can't find any workarounds.
Most of the info I can find relating to QT/OpenGL bugs is related to compiz crashing.
It never crashes for me, just doesn't show the shadows on kde menus (transperency is normal).

fabounet
August 19th, 2009, 03:41 PM
it's not a crash, it's a visual bug inside Qt.
search for "export XLIB_SKIP_ARGB_VISUALS=1 "

x-shaney-x
August 19th, 2009, 03:58 PM
Ahh that old workaround (seem to remember using it to fix flash problems some while ago).

So I can easily add the line to bashrc or something but is it likely to have any negative effects on anything else?

fabounet
August 20th, 2009, 03:06 PM
you can add it to your .bashrc, but then think of modifying the launcher of Compiz and Cairo-Dock, which both need OpenGL.
you can write :
unset XLIB_SKIP_ARGB_VISUALS && cairo-dock
for instance

x-shaney-x
August 20th, 2009, 03:21 PM
Thanks, most helpful :)