Bug 1025432 - Screen is not locked even when Power button action set to hibernate
Summary: Screen is not locked even when Power button action set to hibernate
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon-screensaver
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-31 16:48 UTC by Andrew Duggan
Modified: 2013-10-31 17:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-31 17:33:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew Duggan 2013-10-31 16:48:53 UTC
Description of problem:

In Cinnamon 2.0.3  the screen is not locked if one chooses hibernate for the power button action regardless of the lock screen setting on wake.

I have in the power control panel "Power button action" = hibernate 
and 
In the screensaver and Lock Settings, I have "Require my password when waking from suspend" set to on, as confirmed by the gsettings below

gsettings get org.cinnamon.settings-daemon.plugins.power button-power
'hibernate'
gsettings get org.cinnamon.settings-daemon.plugins.power lock-on-suspend
true


Version-Release number of selected component (if applicable):
cinnamon-settings-daemon-2.0.3-1.fc19.i686


How reproducible:
Always


Steps to Reproduce:
1. Correctly Configure Power and lock settings as described above
2. Press Power
3.

Actual results:

System hibernates, but the screen is not locked on resume.

Expected results:

System hibernates, and the screen is locked on resume


Additional info:

/etc/systemd/logind.conf 

HandlePowerKey=ignore

which is necesssary to allow cinnamon-settings-daemon to have control over what the power button does at all.

If the gsettings get org.cinnamon.settings-daemon.plugins.power button-power
is set to interactive, and I get a the dialog box asking to Hibernate, or suspended, or poweroff or logout, and I select Hibernate, the system, does lock the screen as expected.  

Cinnamon on Fedora 17 which still used the gnome-settings, did the right thing. So it seems to be a 2.0.x problem

Comment 2 Andrew Duggan 2013-10-31 17:33:29 UTC
Brilliant!  Thanks.  Fastest Resolution ever.  Works exactly right.


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