moving the clock 1 h forward starts the screensaver

Bug #33331 reported by Paolo Borelli
104
Affects Status Importance Assigned to Milestone
GNOME Screensaver
Fix Released
Medium
glib2.0 (Ubuntu)
Fix Released
Low
Oliver Grawert
xscreensaver (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

- right click on the gnome clock
- open (as root) the dialog to change hour & date
- move the clock one h forward
- press ok

-> gnome-screensaver starts

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

right, that shouldnt happen

Changed in gnome-screensaver:
assignee: nobody → ogra
status: Unconfirmed → Confirmed
Revision history for this message
Vinay Sajip (vinay-sajip) wrote :

I'm not sure this bug is really in gnome-screensaver. I just switched to xscreensaver and the same thing happens, at least when ntpdate is run (see #36303).

Revision history for this message
Clinton (cjljt) wrote :

Am running Dapper 6.06 on Toshiba Tecra 8100 and found the same thing. Only the calender window has to be open when you right click to adjust time, (from pressing the clock button). If calender window is not open this bug does not occur for me. When you press OK the screensaver starts

Revision history for this message
sam tygier (samtygier) wrote :

the video players send messages to the screensaver to stop it activating. could the the adjust time panel do the same?

Revision history for this message
Chris Jones (cmsj) wrote :

Presumably they'd need to send such a message in the tiny interval between the time changing and the screensaver activating.
Far better (I would think), would be for the screensaver daemon to notice that the time just jumped an unreasonable amount of time and reset its counters; Providing that that doesn't cause problems with other expected behaviours.

Revision history for this message
Laurens Simonis (laurens.s) wrote :

I can confirm this too. I'm running the latest daily dapper available at the time of writing: 20060806.1 , so this hasn't been fixed yet.

Revision history for this message
sam tygier (samtygier) wrote :

the changelog of system-tools-backends (1.9.3-0ubuntu1) suggests that this is fixed.
i am away from broadband so i can't test this currently.

can somebody check.

Revision history for this message
William Jon McCann (mccann) wrote :
Changed in gnome-screensaver:
status: Unconfirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed upstream, thanks to Matthias Clasen.

Changed in gnome-screensaver:
status: Confirmed → Fix Committed
Revision history for this message
era (era) wrote :

In xscreensaver, this bug has existed like forever. I used to see it a lot when my laptop's CMOS battery was failing and I had to tweak the time by hand every time I rebooted. This was like a year ago, then on a Woody installation (thankfully now also running Dapper, still on xscreensaver).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

This was fixed in glib2.0:

2006-08-27 Matthias Clasen <email address hidden>

        * configure.in: Fix the pthread compiler flag detection more.

        * configure.in: Check for clock_gettime.
        * glib/gtimer.c: Use Posix monotonic clocks instead of
        gettimeofday when available. (#336114, William Jon McCann)

Changed in gnome-screensaver:
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

era: could you test if xscreensaver still has this issue?

Revision history for this message
era (era) wrote :

On Dapper you mean? I haven't seen any upgrades to libc6 or xscreensaver so why should it have gone away? OK, maybe the recent kernel or X upgrades would have been compiled with the new glibc ...?

Okay, I grabbed a VMware Dapper image which I made when I installed this system, installed all security updates, including reinstalling linux-image-386 and linux-restricted-modules-386, and started up X. I checked that xscreensaver was running, and set the clock an hour and a half into the future. And yes, it blanked the screen.

This is Dapper i386 with universe but no backports.

Revision history for this message
era (era) wrote :

Oh, that's with a reboot before starting X, just to make sure the kernel and X were indeed the newest version.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

yes, it isn't fixed for dapper, at least not yet.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 33331] Re: moving the clock 1 h forward starts the screensaver

Do we have a clear, small patch which fixes it, that has been tested in
Edgy?

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

No longer happens in Feisty. Closing bug.

Changed in xscreensaver:
status: Unconfirmed → Fix Released
Changed in gnome-screensaver:
importance: Unknown → Medium
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.