gnome-screensaver locks after approx 10 minutes even if user settings are specify longer

Bug #859396 reported by Andrew Betts
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
Fix Released
Low
Marc Deslauriers
Oneiric
Won't Fix
Low
Unassigned
Precise
Fix Released
Low
Marc Deslauriers

Bug Description

After setting a screen lock timeout of, for example, 1 hour the screen still locks after approx 10 minutes.

Looking at the code it appears gnome-screensaver puts an upper bound on the lock timeout of 480 seconds (8 minutes), so user preferences of 1 hour will not function as expected.

I see no reason for an upper bound of 8 minutes, and this contradicts the available options anyway.

I have built a fixed version in my PPA: https://launchpad.net/~andrew-betts/+archive/misc

Tags: patch
Revision history for this message
Andrew Betts (andrew-betts) wrote :
William Grant (wgrant)
affects: launchpad → gnome-screensaver (Ubuntu)
Revision history for this message
Andrew Betts (andrew-betts) wrote :

Thanks William. I goofed up and put the report in the wrong place.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debian style patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what Ubuntu version do you use? That issue seems similar to the one fixed with that upload:

gnome-desktop3 (3.2.0-0ubuntu3) oneiric; urgency=low

  * debian/patches/00git_disable_dpms_timeouts.patch:
    - Disable DPMS timeouts (LP: #863038)

Do you still get the issue?

Changed in gnome-screensaver (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Andrew Betts (andrew-betts) wrote :

I am using Oneiric Ocelot.

The bug you mention seems to be not related to gnome-screensaver. This bug is in gnome-screensaver.

I have had to peg my version as subsequent updates still contain the bug. I have looked at 3.2.0-0ubuntu1 and I see nothing patched that would fix this bug. (see my patch)

Incidentally.. It is trivially easy to demonstrate this bug if you have 10+ minutes available to not use your computer.
1) Set Screen Saver 'Turn Off After' to 1 minute.
2) Set Screen Saver Lock On, Lock Screen After 1 hour.
3) Leave computer for 10 minutes. (Or any duration less than 1 hour but greater than 60 + 480 seconds. )
4) Return to computer.
5) Note screen is locked.

Revision history for this message
Andrew Betts (andrew-betts) wrote :

Why is this bug marked as incomplete?

Changed in gnome-screensaver (Ubuntu Oneiric):
importance: Undecided → Low
status: New → Confirmed
Changed in gnome-screensaver (Ubuntu Precise):
status: Incomplete → Confirmed
assignee: nobody → Marc Deslauriers (mdeslaur)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screensaver - 3.2.0-1ubuntu5

---------------
gnome-screensaver (3.2.0-1ubuntu5) precise; urgency=low

  * debian/patches/20_remove_wrong_timeout.patch: remove old upper timeout
    limit that was incorrectly calculating minutes instead of seconds. This
    was causing the screen blanking to come up after 8 minutes, even if the
    preference was set to longer. (LP: #859396)
 -- Marc Deslauriers <email address hidden> Sat, 28 Jan 2012 19:04:29 -0500

Changed in gnome-screensaver (Ubuntu Precise):
status: Confirmed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in gnome-screensaver (Ubuntu Oneiric):
status: Confirmed → Won't Fix
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.