Bug 209511 - lid close (other events) don't work when screen locked
Summary: lid close (other events) don't work when screen locked
Status: RESOLVED INTENTIONAL
Alias: None
Product: solid
Classification: Unmaintained
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Fedora RPMs Unspecified
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
: 184381 185674 205453 243713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-05 13:22 UTC by Neal Becker
Modified: 2010-11-15 21:51 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Becker 2009-10-05 13:22:27 UTC
Version:            (using KDE 4.3.1)
Installed from:    Fedora RPMs

kde is set to sleep on lid close.  But, when screen is locked, this doesn't work.  I have to unlock the screen, then close the lid.

This is very annoying.  I believe this breakage dates back to the release of kde4.
Comment 1 Michael Ploujnikov 2010-03-01 19:01:43 UTC
I can confirm this in Fedora 12 with kdebase-workspace-4.4.0-7.fc12.x86_64.
Opened downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=524798
Comment 2 Rex Dieter 2010-03-01 19:14:22 UTC
confirmed.
Comment 3 Felix Geyer 2010-04-16 19:36:43 UTC
I'm not sure if that's always desirable.
When I've locked the screen I might not want someone to suspend the system by closing the lid.
Comment 4 Dario Freddi 2010-11-09 17:20:31 UTC
This behavior is actually consistent with what Felix says: the session is not active when the screen is locked, hence no actions are taken. I'm closing the bug as won't fix.

If you don't agree with that, please start a discussion: I might consider adding an option for disabling the session check.
Comment 5 Dario Freddi 2010-11-09 20:31:39 UTC
*** Bug 185674 has been marked as a duplicate of this bug. ***
Comment 6 Dario Freddi 2010-11-09 20:32:59 UTC
*** Bug 184381 has been marked as a duplicate of this bug. ***
Comment 7 Dario Freddi 2010-11-09 20:41:35 UTC
*** Bug 205453 has been marked as a duplicate of this bug. ***
Comment 8 Dario Freddi 2010-11-10 01:10:03 UTC
*** Bug 243713 has been marked as a duplicate of this bug. ***
Comment 9 Jiří Appl 2010-11-14 17:55:28 UTC
I believe this behavior should be configurable. Consider following scenario:

Joe has his laptop running, music is playing, screen is locked. Now Joe wants to go somewhere else really fast and does not want to bother with typing password just to put his laptop to sleep. Closing a lid should do the job.

On the other hand I understand that this might be undesirable for somebody else. However an adversary may always shutdown the laptop just by long pressing the power button.