Discussion:
[Bug 204561] powerdevil does not restore default schemes after powerdevilrc was deleted
Dario Freddi
2009-12-01 17:48:38 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561





--- Comment #1 from Dario Freddi <drf kde org> 2009-12-01 18:48:37 ---
It should already do, although the file for that is powerdevilprofilesrc. Can
you please check it?
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
S.Burmeister
2009-12-01 18:02:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561





--- Comment #2 from S. Burmeister <sven burmeister gmx net> 2009-12-01 19:02:38 ---
With an almost KDE 4.3.2 I can still reproduce this.

1. kquitapp plasma-desktop
2. mv ~/.kde4/share/config/powerdevil* ~
3. plasma-desktop
4. Open systemsettings > power management: only performance is shown.

The battery plugin does show more profiles in the drop-down menu. Not sure if
it still does after I restarted KDE.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Dario Freddi
2009-12-01 18:06:20 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561





--- Comment #3 from Dario Freddi <drf kde org> 2009-12-01 19:06:19 ---
Ah, yeah: that's because powerdevil lives in KDED :) you would have to remove
profiles and restart kded to see if that works (anyway, I've recently addressed
and fixed a very similar bug for 4.4 that I couldn't backport)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
S.Burmeister
2009-12-01 18:10:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561





--- Comment #4 from S. Burmeister <sven burmeister gmx net> 2009-12-01 19:10:18 ---
Adding to that:

Adding the battery plasmoid does not create anything, neither a powerdevilrc
not a powerdevilprofilesrc, yet shows all the (not existing) profiles in the
menu.

If one opens the power management kcm one cannot pick any profiles for "if the
power cable is attached" etc. If one does not change anything but only goes
back to the systemsettings main view, a powerdevilprofilesrc is genrated with
the following content.

[Performance]
brightness=100
cpuPolicy=8
idleAction=0
idleTime=50
lidAction=0
turnOffIdle=false
turnOffIdleTime=120

A powerdevilrc is still not created.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Dario Freddi
2009-12-01 18:14:30 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561


Dario Freddi <drf-***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1




--- Comment #5 from Dario Freddi <drf kde org> 2009-12-01 19:14:28 ---
powerdevilrc is created if needed, systemsettings should reload defaults. Quite
easy, I'll solve that quickly. For the applet, I strongly doubt it should
attempt any reloading - the only case where I see configuration files deleted
and plasma going nuts and not kded is manual user intervention, so I think this
should not happen
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
S.Burmeister
2009-12-01 18:15:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561





--- Comment #6 from S. Burmeister <sven burmeister gmx net> 2009-12-01 19:15:34 ---
Restarting powerdevil crashes kded4 but after restarting it those two files are
generated and contain all profiles.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Dario Freddi
2009-12-01 18:21:25 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561





--- Comment #7 from Dario Freddi <drf kde org> 2009-12-01 19:21:24 ---
Yep, that crash is exactly what I fixed in 4.4 :)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Dario Freddi
2009-12-08 13:15:07 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561


Dario Freddi <drf-***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED




--- Comment #8 from Dario Freddi <drf kde org> 2009-12-08 14:15:02 ---
I forgot to close this bug :)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Kevin Ottens
2010-10-02 10:50:22 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=204561


Kevin Ottens <ervin-***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|powerdevil-daemon |powermanagement-daemon
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Loading...