Bug 858259 - Gnome Shell does not lock when suspending by Fn+F4
Summary: Gnome Shell does not lock when suspending by Fn+F4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-18 13:19 UTC by Martin
Modified: 2014-09-15 00:03 UTC (History)
9 users (show)

Fixed In Version: gnome-settings-daemon-3.6.1-3.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-11 19:47:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.