Bug 52238

Summary: Klock does not show some screensavers
Product: [Retired] Red Hat Public Beta Reporter: Sammy <umar>
Component: kdebaseAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: roswell   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-27 13:57:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sammy 2001-08-21 20:47:26 UTC
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):

kdebase-2.2-4

How Reproducible:

Always


Steps to Reproduce:
1. Select Bouboule from the kscreensaver menu
2. Try to lock the screen
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Glen Foster 2001-08-22 22:12:16 UTC
We (Red Hat) should really try to fix this before next release.

Comment 2 Bernhard Rosenkraenzer 2001-08-27 11:33:38 UTC
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.


Comment 3 Bernhard Rosenkraenzer 2001-08-27 11:57:57 UTC
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.



Comment 4 Bernhard Rosenkraenzer 2001-08-27 12:00:55 UTC
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 + 
xterm) works).

(Might still be an X problem though; I'm not sure how somewhat conflicting 
low-level X calls should be handled)


Comment 5 Bernhard Rosenkraenzer 2001-08-27 12:25:03 UTC
Submitted to KDE bug tracking system as 31663


Comment 6 Bernhard Rosenkraenzer 2001-08-27 13:57:43 UTC
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 
KDesktop.
The screensavers need to be displayed on KDesktop's window rather than the 
real root window.



Comment 7 Bernhard Rosenkraenzer 2001-08-29 14:38:35 UTC
Fixed in kdebase 2.2-9