Lid close doesn't lock screen if lid-close-action not set to suspend

Bug #1223070 reported by Jeremy Bícha
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Copying from https://bugzilla.gnome.org/707769

org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing'
org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing'
org.gnome.desktop.screensaver lock-enabled true

With these settings if I close the lid the screen does not lock. This is a
regression from gnome-settings-daemon 3.6.4 and it appears unintentional if I'm
reading the commit messages correctly:

https://git.gnome.org/browse/gnome-settings-daemon/commit/plugins/power?id=dc3ce570

https://git.gnome.org/browse/gnome-settings-daemon/commit/plugins/power?id=a1489eb5

This looks like an issue with
https://bazaar.launchpad.net/~ubuntu-desktop/gnome-settings-daemon/ubuntu/view/head:/debian/patches/ubuntu-lid-close-suspend.patch

do_lid_closed_action() seems to never be reached.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-settings-daemon 3.8.5-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Mon Sep 9 18:21:34 2013
MarkForUpload: True
SourcePackage: gnome-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.8.5-0ubuntu2

---------------
gnome-settings-daemon (3.8.5-0ubuntu2) saucy; urgency=low

  * debian/patches/ubuntu-lid-close-suspend.patch:
    - Updated to make sure we lock the screen when closing lid without
      suspend action (LP: #1223070)
 -- Tim Lunn <email address hidden> Tue, 10 Sep 2013 09:28:14 +1000

Changed in gnome-settings-daemon (Ubuntu):
status: New → Fix Released
Revision history for this message
tobyS (tobias-schlitt) wrote :

I observe exactly the described issue with the exact same settings in dconf, but with gnome-settings-daemon 3.8.5ubuntu11.1.

Is there a possible regression that made the issue re-occur?

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.