Bug 858259

Summary: Gnome Shell does not lock when suspending by Fn+F4
Product: [Fedora] Fedora Reporter: Martin <mholec>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: beland, fmuellner, maxamillion, mclasen, otaylor, samkraju, tpelka, vbenes, walters
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-settings-daemon-3.6.1-3.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-11 19:47:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin 2012-09-18 13:19:08 UTC
Description of problem:
Gnome Shell does not lock when suspending by Fn+F4 (sleep key - moon).

Version-Release number of selected component (if applicable):
gnome-shell-3.5.91-1.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1. login to Gnome
2. suspend by hitting Fn+F4
3. resume by power button
  
Actual results:
Gnome Shell have unlocked session

Expected results:
Gnome Shell is locked

Comment 1 Martin 2012-09-18 13:21:03 UTC
Suspend via user menu or laptop lid close locks session successfully.

Comment 2 Matthias Clasen 2012-09-27 00:59:53 UTC
I think what is happening here is that we don't have the patch in place yet to coordinate handling of power keys and lid close with systemd >= 191. So, systemd handles the power button, without the session getting a chance to do anything.

This will be fixed soon, when we land the patch in https://bugzilla.gnome.org/show_bug.cgi?id=680689

Comment 3 Matthias Clasen 2012-10-05 02:53:13 UTC
The patch is in place now, this should be fixed with gnome-settings-daemon-3.6.0-4.fc18

Comment 4 Martin 2012-10-08 15:05:12 UTC
I updated and tested this fix.

First Fn+F4 suspend locked desktop and successfully suspended.
But second and third attempt didn't locked desktop, just suspended.

rpm -q gnome-settings-daemon
gnome-settings-daemon-3.6.0-4.fc18.x86_64

Comment 5 Fedora Update System 2012-10-19 20:03:39 UTC
gnome-settings-daemon-3.6.1-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-settings-daemon-3.6.1-3.fc18

Comment 6 Fedora Update System 2012-10-20 03:53:33 UTC
Package gnome-settings-daemon-3.6.1-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-settings-daemon-3.6.1-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16533/gnome-settings-daemon-3.6.1-3.fc18
then log in and leave karma (feedback).

Comment 7 Martin 2012-10-30 11:38:36 UTC
Fix works for me.