Option to "Lock screen afer screen turns off" is ignored

Bug #959184 reported by Neil Broadley
264
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Fix Released
Critical
gnome-settings-daemon (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I have set my "Brightness and Lock" settings such that it will lock the screen after "Screen turns off". Then in my "power" settings, I have the "lid closed" action to "Do Nothing", which turns the screen off when the lid is closed.

In previous versions of Ubuntu (such as 11.04, not sure about 11.10), there was an option to "Blank screen" instead of "Do Nothing", but despite the wording change, they appear to do the same thing (turn the screen off), but with one crucial difference - 12.04 doesn't lock the screen when the lid is closed. It seems to wait for that 30 minute time out I specified in "Brightness and Lock", despite the wording in the "Lock" section claiming that it will lock when the screen turns off.

As I've ticked a box to lock my encrypted-home laptop when the screen turns off, and as the screen turns off when I close the lid, I expect the lock to engage. Since it doesn't, I believe this is a security risk.

1) Release : 12.04, clean insall
2) gnome-control-center : 1:3.3.91-0ubuntu4
3) As the screen turns off when the lid is closed, I expect the lock to engage so that I'm prompted for my password when opening the lid again.
4) No lock engages and when I open the lid, instead I'm returned to my unlocked desktop.

I've confirmed this bug on two laptops - a Toshiba Portege (R700-185) and a Samsung Chronos 7 (NP700Z5A-S01UK). If it's at all relevant, both laptops were built with encrypted home directories.

Neil Broadley (scaine)
visibility: private → public
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that seems similar to https://bugzilla.gnome.org/show_bug.cgi?id=671445 which should be fixed today in the next upload

Changed in gnome-control-center (Ubuntu):
importance: Undecided → High
status: New → Confirmed
affects: gnome-control-center (Ubuntu) → gnome-settings-daemon (Ubuntu)
Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Neil Broadley (scaine) wrote :

I've just tested this on a third laptop which was built using the 32 bit version of 12.04, fully updated, but without encrypted home - same behaviour, so I suspect that the encrypted home is irrelevant in this bug.

Changed in gnome-settings-daemon:
importance: Unknown → Critical
status: Unknown → Fix Released
Revision history for this message
Neil Broadley (scaine) wrote :

Thanks Sebastian - the gnome bug tracker is a perfect replica of the issue I'm describing here. Great news and I'll test again when I do an update tomorrow.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.3.92-0ubuntu1

---------------
gnome-settings-daemon (3.3.92-0ubuntu1) precise; urgency=low

  [ Sebastien Bacher ]
  * New upstream version, should fix
    - "Option to "Lock screen afer screen turns off" is ignored"
      (lp: #959184)
    - "color-plugin-WARNING **: failed to get edid: unable to get
       EDID for output" (lp: #863359)
  * Dropped patches included in the new version
  * Refreshed the other patches

  [ Marc Deslauriers ]
    - 51_lock_screen_on_suspend.patch: refreshed for 3.3.92.
 -- Sebastien Bacher <email address hidden> Mon, 19 Mar 2012 18:57:50 +0100

Changed in gnome-settings-daemon (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Neil Broadley (scaine) wrote :

Just noting that as of gnome-settings-daemon version 3.3.92-0ubuntu2, this bug is still apparent. Lock is set, close lid, screen turns off, open lid, normal desktop appears.

Do I change the status back to confirmed?

scaine@Groovy:~$ apt-cache policy gnome-settings-daemon
gnome-settings-daemon:
  Installed: 3.3.92-0ubuntu2
  Candidate: 3.3.92-0ubuntu2
  Version table:
 *** 3.3.92-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Did you restart your session after updating? In any case, please open a new bug, as it is working fine for me so this bug is closed.

Revision history for this message
Neil Broadley (scaine) wrote :

This is fixed on the Toshiba actually, but I was originally testing on the Chronos laptop, which remains broken. The only two obvious differences between the two laptops is the Chronos has an ATI card, using the fglrx drivers (from hardware drivers), and also sports a backlit keyboard.

I notice that the backlight stays on when I close the lid and the screen goes off, so I think it may have something to do with the failure to lock.

I'll log a new bug against that hardware specifically.

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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