Summary: | Power Management Profiles gives no indication when power service is not running | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Ralf Engels <ralf-engels> |
Component: | powermanagement | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lamarque, ralf-engels |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.2 | |
Sentry Crash Report: |
Description
Ralf Engels
2011-02-23 20:35:29 UTC
Which distribution do you use? What do you have installed: hald, upower, both? You can safely remove hald, KDE SC 4.6.x uses upower/udisks/udev by default. Using both at the same time can cause some problems. Do not use the "reset to default" button, it will erase all your profiles and you will have to create them from scratch, which seems to be your case now. Hi, Ubuntu with both hald and upower are installed. I did not see any profile to start with and I hoped that "reset" will give me at least a default profile because creating a new profile did not work. Maybe it's a faulty old configuration setting but I removed all powerdevil settings and nothing changed. Any further ideas? Further information: Adding a profile does add something to the configuration file but does not change the UI. This leads me to the impression that somehow the call to re-read the configuration file is not working. It turns out that qdbusview only shows org.freedesktop.UPower but no powerdevil daemon. Still investigating.... Ok. I figured it out. The power service was not running and needed to be switched on in the configuration "Startup and shutdown/services" The power settings ABSOLUTELY need to display a notification about a not-running power service. Git commit b264940ff05acafe8d4b9028d63c994976c2edfa by Dario Freddi. Committed on 18/09/2011 at 15:54. Pushed by dafre into branch 'master'. Apply an overlay notifying the user the Power Management service is not running. Whenever the daemon is not running, we don't want to let the user edit anything, as the config itself relies on the daemon. BUG: 267006 M +5 -0 powerdevil/kcmodule/CMakeLists.txt A +110 -0 powerdevil/kcmodule/common/ErrorOverlay.cpp [License: GPL (v2+)] C +15 -18 powerdevil/kcmodule/common/ErrorOverlay.h [from: powerdevil/kcmodule/global/GeneralPage.h - 073% similarity] M +1 -0 powerdevil/kcmodule/global/CMakeLists.txt M +44 -4 powerdevil/kcmodule/global/GeneralPage.cpp M +6 -0 powerdevil/kcmodule/global/GeneralPage.h M +1 -0 powerdevil/kcmodule/profiles/CMakeLists.txt M +40 -0 powerdevil/kcmodule/profiles/EditPage.cpp M +5 -0 powerdevil/kcmodule/profiles/EditPage.h http://commits.kde.org/kde-workspace/b264940ff05acafe8d4b9028d63c994976c2edfa Git commit 10572685558abfe1fab034907b6e1eaaf2c12ed9 by Dario Freddi. Committed on 18/09/2011 at 15:54. Pushed by dafre into branch 'KDE/4.7'. Apply an overlay notifying the user the Power Management service is not running. Whenever the daemon is not running, we don't want to let the user edit anything, as the config itself relies on the daemon. BUG: 267006 FIXED-IN: 4.7.2 M +5 -0 powerdevil/kcmodule/CMakeLists.txt A +110 -0 powerdevil/kcmodule/common/ErrorOverlay.cpp [License: GPL (v2+)] C +15 -18 powerdevil/kcmodule/common/ErrorOverlay.h [from: powerdevil/kcmodule/global/GeneralPage.h - 073% similarity] M +1 -0 powerdevil/kcmodule/global/CMakeLists.txt M +44 -4 powerdevil/kcmodule/global/GeneralPage.cpp M +6 -0 powerdevil/kcmodule/global/GeneralPage.h M +1 -0 powerdevil/kcmodule/profiles/CMakeLists.txt M +40 -0 powerdevil/kcmodule/profiles/EditPage.cpp M +5 -0 powerdevil/kcmodule/profiles/EditPage.h http://commits.kde.org/kde-workspace/10572685558abfe1fab034907b6e1eaaf2c12ed9 |