Bug 103724 - xrandr messes up screensaver
Summary: xrandr messes up screensaver
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: xscreensaver
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
: 100619 109277 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-04 12:57 UTC by Alexander Larsson
Modified: 2007-04-18 16:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-22 14:39:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Alexander Larsson 2003-09-04 12:57:51 UTC
I changed my resolution in gnome-display-properties to 800x600, loged out and in
again. Now gnome-session set my resolution to 800x600. Then i changed back to
the default size (1024x768), and when the screensaver turned on it was only
covering the top-left 800x600.

Comment 1 Mike A. Harris 2003-09-04 13:52:26 UTC
alex:  How did the resolution get changed?  Via the RandR extension?

Comment 2 Alexander Larsson 2003-09-04 13:55:36 UTC
Yes.


Comment 3 Bill Nottingham 2003-09-04 18:11:20 UTC
What does XF86VidModeGetViewPort return (see #81593)?

Comment 4 Alexander Larsson 2003-09-05 10:36:41 UTC
It returns "0,0", and the viewport is correctly placed at 0,0. 

This is pretty easy to reproduce:
killall xscreensaver
xrandr -s 800x600
xscreensaver&
xrandr -s 1024x768
<wait for screensaver to start, or preview it in the xscreensaver-demo app>

Notice that the screensaver is only 800x600.
Restarting xscreensave fixes the problem. I think xscreensaver needs to listen
to XRandR events so it can know when the screen changes size.

Comment 5 Bill Nottingham 2003-10-31 17:08:29 UTC
*** Bug 100619 has been marked as a duplicate of this bug. ***

Comment 6 Jef Spaleta 2004-02-27 17:48:12 UTC
*** Bug 109277 has been marked as a duplicate of this bug. ***

Comment 7 Ray Strode [halfline] 2004-06-21 16:01:34 UTC
jwz's changelog page has this for the latest version of xscreensaver:

* Added support for the RANDR (Resize and Rotate) extension to detect
when the size of the desktop has been changed while xscreensaver is
already running.

I'll roll out new rawhide rpms soon.

Comment 8 Ray Strode [halfline] 2004-06-22 14:39:40 UTC
This should be fixed in rawhide now.


Note You need to log in before you can comment on or make changes to this bug.