Red Hat Bugzilla – Bug 52238
Klock does not show some screensavers
Last modified: 2007-04-18 12:36:08 EDT
Description of Problem:
For the latest kdebase-2.2-4 rpms when one chooses Bouboule
or Rock (or few others) for a screensaver then tries to lock the
screen no screensaver will show. Only the password box with
a frozen background will show instead.
For Polygon, Lines etc. everything works fine. None of the GL
savers work either.
ALL savers work/test correctly in the kscreensaver windows!!
This has been reported to KDE bugs as well by few people but
I noticed that they also used RedHat packages. Not clear whether
a packaging issue or a KDE bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Select Bouboule from the kscreensaver menu
2. Try to lock the screen
We (Red Hat) should really try to fix this before next release.
KLock actually does the right thing and calls e.g. kbouboule.kss --root.
Running kbouboule.kss --root from a konsole or xterm doesn't work either.
This is definitely not a packaging problem; looks like the screensaver can't
grab the root window for some reason.
Might be an X problem; debugging.
After some more debugging, I believe it's an X problem:
XSetForeground() , XFillRectangle() etc. don't seem to have any effect even
though they're called on the correct (root) window.
On another look, maybe it isn't after all - kdesktop seems to be showing on
top of the screensaver (running the thing from a failsafe session (twm +
(Might still be an X problem though; I'm not sure how somewhat conflicting
low-level X calls should be handled)
Submitted to KDE bug tracking system as 31663
Found it. The problem is that KDesktop is no longer drawing its background and
icons on the root window itself - the screensavers are displayed under
The screensavers need to be displayed on KDesktop's window rather than the
real root window.
Fixed in kdebase 2.2-9