Summary: | Hibernate with power button doesn't work when session locked | ||
---|---|---|---|
Product: | [Frameworks and Libraries] solid | Reporter: | Philip <philip> |
Component: | powermanagement | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drf, philip |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.2 |
Description
Philip
2011-07-14 17:21:29 UTC
It is a feature, as when the session is locked the power manager denies any action (including this one). Although, it might make sense for hw actions such as suspend/shutdown/hibernate to be run even in this case. What do you think? I think that one should be able to hibernate the system in such a scenario (user logged on and session locked), but not shutdown (unless no user logged on) per default. It probably should be up the user to decide if he wants to be able to shutdown the system even if someone is logged on, or completely disable the power button when the session is locked (like it is now). There are cases when you just want to hibernate your computer without logging on. I don't see a security issue here, because no data are lost. And somebody who is willing to cause data loss by forcefully shutting off the computer could just hold the button or unplug the power cord, so this unresponsive power button isn't any security feature. I agree with you. Will change this behavior, thanks for your time. Git commit 2606ff0045470d360a2ad4ad8aeb2819f653676f by Dario Freddi. Committed on 18/09/2011 at 16:57. Pushed by dafre into branch 'master'. Override ck check if the last active user requested to shutdown the session. BUG: 277774 M +1 -1 powerdevil/daemon/powerdevilpolicyagent.cpp http://commits.kde.org/kde-workspace/2606ff0045470d360a2ad4ad8aeb2819f653676f Git commit 5dcd4fe8f6a4b5d0e84d9f3360dc2caa29f0b4a4 by Dario Freddi. Committed on 18/09/2011 at 16:57. Pushed by dafre into branch 'KDE/4.7'. Override ck check if the last active user requested to shutdown the session. BUG: 277774 FIXED-IN: 4.7.2 M +1 -1 powerdevil/daemon/powerdevilpolicyagent.cpp http://commits.kde.org/kde-workspace/5dcd4fe8f6a4b5d0e84d9f3360dc2caa29f0b4a4 |