| Summary: | "Run script" from powermanager setting not parsed when leaving or entering profiles | ||
|---|---|---|---|
| Product: | [Unmaintained] solid | Reporter: | goo |
| Component: | powermanagement-daemon | Assignee: | Dario Freddi <drf> |
| Status: | RESOLVED WAITINGFORINFO | ||
| Severity: | normal | CC: | afiestas, goo, kde, zakrzewski.jakub |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
goo
2012-04-30 03:46:11 UTC
I confirm this problem. It still occurs on KDE 4.8.3, Kubuntu 12.04 Cannot confirm on 4.9.2. When I configure an action to run when loading the profile "AC", the command is executed when I plug in my AC cable. I don't use 4.9.2 yet, but if it is as Kai Uwe Broulik wrote, that's good. :) There hasn't been a change to the responsible file runscript.cpp since Nov 2010 though. But judging from the code it should work. :) Maybe there were some underlying changes to loading/triggering actions. 4.9.3 here and the bug is still reproduceable. :( Anyway I have been trying to understand the meaning of "Profile" in the context of kcm powersaving, with no results. Where is the "profile" word mentioned besides the "run script" dialog? I expected that "on profile load" refers to any triggered event listed, that is "dim display", "screen energy saving", "suspend session" or "button events handling", the latter not working here but that seems to be a distribution issue. Now I use kde 4.9.2. and the problem doesn't exist any longer for me. No, On Profile Load means that the script gets executed when the profile is being switched to, that is you plug in or out your AC adapter or your battery goes low, or you have configured some special behavior for an activity you switched to. So, is this fixed? |