Summary: | Closing lid while shutting down should not invoke suspend-to-disk | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Diederik van der Boor <vdboor> |
Component: | powermanagement-daemon | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crsprouse, jaak, p.a.s |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Diederik van der Boor
2009-02-05 09:13:13 UTC
Accepted, though I need to figure out this SVN commit 923145 by dafre: BUG: 183273 Listening to the newly-added signal of ksmserver should avoid this behavior when pc is turned off. Implementation still sucks, since it triggers an unremovable inhibit without reason (yeah, no additional strings so that it can be backported), but I'll think about something else a bit more polite, especially when I'll refine inhibition with timeouts & friends. M +6 -0 PowerDevilDaemon.cpp M +2 -0 PowerDevilDaemon.h WebSVN link: http://websvn.kde.org/?view=rev&revision=923145 SVN commit 923147 by dafre: BUG: 183273 Backporting fix to 4.2 M +4 -0 ksmserver/KSMServerInterface.h M +6 -0 ksmserver/org.kde.KSMServerInterface.xml M +4 -0 ksmserver/server.h M +2 -0 ksmserver/shutdown.cpp M +6 -0 powerdevil/daemon/PowerDevilDaemon.cpp M +2 -0 powerdevil/daemon/PowerDevilDaemon.h WebSVN link: http://websvn.kde.org/?view=rev&revision=923147 Thanks for the quick response! *** Bug 183537 has been marked as a duplicate of this bug. *** SVN commit 942654 by dafre: CCMAIL: kde-core-devel@kde.org CCBUG: 183273 As discussed on the list, new patch for KSMServer+PowerDevil regarding bug #183273. Now no signals are emitted from ksm, instead an inhibition is triggered from it. Less code, more clean, and we also have more control over this since upon cancelation the inhibition gets released. Also backporting this to 4.2 branch M +0 -3 ksmserver/KSMServerInterface.h M +0 -6 ksmserver/org.kde.KSMServerInterface.xml M +2 -3 ksmserver/server.h M +6 -2 ksmserver/shutdown.cpp M +0 -6 powerdevil/daemon/PowerDevilDaemon.cpp M +0 -2 powerdevil/daemon/PowerDevilDaemon.h WebSVN link: http://websvn.kde.org/?view=rev&revision=942654 I am still experiencing this bug KDE 4.4.3. I can replicate every time if I hit the power button and then close the lid before KDE has a chance to complete the shutdown. |