gnome-screensaver flickers every 30 seconds

Bug #44579 reported by Allison Karlitskaya
10
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-screensaver

gnome-screensaver flickers every 30 seconds. if you have a screensaver like "Swirl" this causes the entire screen to go black until it gets repainted (which takes a while).

To see:

1. Use swirl as your screensaver.
2. Lock the screen.
3. Wait 30 seconds.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

Ok. The problem is caused by the so-called "watchdog" timer. It calls gtk_window_present every 30 seconds. gtk_window_present includes a call to gdk_window_show which causes the flicker.

Revision history for this message
Allison Karlitskaya (desrt) wrote : debdiff to fix the problem

This fixes the problem by calling the gdk window focus function directly (which results in gdk_window_show not being called and therefore no flicker).

Revision history for this message
Oliver Grawert (ogra) wrote :

can you uncheck /apps/nautilus/preferences/show_desktop in gconf-editor and run /usr/lib/xscreensaver/swirl -root to make sure thats really a gnome-screensaver bug ?

Revision history for this message
Allison Karlitskaya (desrt) wrote :

I'm quite positive that it's a gnome-screensaver bug. You can see flickering with other hacks too -- the only different is that with swirl the display is very static and doesn't get updated frequently.

The attached patch actually fixes the problem (which, btw does not occur when I do what you describe above).

Revision history for this message
Allison Karlitskaya (desrt) wrote : new version to deal with new ubuntuversion number
Revision history for this message
Allison Karlitskaya (desrt) wrote :

Uploaded by ogra (thanks).

Changed in gnome-screensaver:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.