Bug 598118 - Screensaver lock-on-suspend policy inconsistent with gnome-power-manager
Screensaver lock-on-suspend policy inconsistent with gnome-power-manager
Status: NEW
Product: gnome-session
Classification: Core
Component: gnome-session
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-10-11 21:55 UTC by Chris Coulson
Modified: 2011-09-12 09:32 UTC (History)
7 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Chris Coulson 2009-10-11 21:55:05 UTC
Now suspend and hibernate actions are no longer proxied through gnome-power-manager, gnome-session is currently responsible for locking the screen when suspending from the session dialog (whereas gnome-power-manager used to take care of this in previous releases).

gnome-session looks at /apps/gnome-screensaver/lock_enabled to determine whether to lock the screen on suspend. This means the new behaviour differs from pre-2.28 releases, because gnome-power-manager has it's own settings for screen locking (although it can also be configured to use /apps/gnome-screensaver/lock_enabled)

The new behaviour seems to be confusing users, as some people are disabling "Lock screen when screensaver is active" in the screensaver preferences, but still expecting their screen to lock when they suspend from the session dialog (as it did in previous releases)
Comment 1 Chris Coulson 2009-10-11 22:01:51 UTC
Subscribing hughsie as requested by vuntz on IRC:

vuntz:	chrisccoulson: please cc hughsie in the bug you open, btw. Just so that he double-checks
Comment 2 Richard Hughes 2009-10-12 13:37:05 UTC
I'll gladly move the gnome-power-manager *lock* keys to GNOME session if vuntz is okay with that, but it adds a little complexity. Personally I would just keep the single checkbox for policy for screen lock and suspend. If you're paranoid about people logging in as you after the screensaver has timed out, then you should probably be paranoid at people resuming it from sleep for you.
Comment 3 Vincent Untz 2009-10-12 18:56:42 UTC
Having them in gnome-session won't help other DK-power users :-) It should really just be handled in the devkit-power-glib library, imho.
Comment 4 Danielle Madeley 2011-06-12 02:00:25 UTC
I think there is a difference between "I left my computer idle so the screen should turn off to save power" and "I put my computer to sleep and put it in my bag" such that having your screen lock in the second case is useful for if someone picks that computer up.
Comment 5 Ray Strode [halfline] 2011-06-13 14:31:12 UTC
note if we make that distinction then gnome-shell will need to be updated, too...  I agree with vuntz that it would be good if this policy was all defined in one place.

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