Bug 612145

Summary: gnome-control-center power does not save changed values
Product: [Fedora] Fedora Reporter: Stephen <spoffley>
Component: gnome-desktop3Assignee: Richard Hughes <richard>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: mclasen, rhughes, richard
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-08 16:27:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen 2010-07-07 12:24:46 UTC
Description of problem:

When trying to change the power management options there is no option to save, so I close the window.  The values changed revert back to their original settings, which were changed from what I had set before the update on or before 1st July.

I think that Power management changes should request root authorisation before you are allowed to change them but this does not occur either.

When attempting to run gnome-control-center power from a console it aborts.

Version-Release number of selected component (if applicable):


How reproducible:

Every time

Steps to Reproduce:
1. Select System-Preferences-Power Management
2. Change one of the values and exit
3. Repeat step 1, the value has reverted to its original value
  
Actual results:

No values changed

Expected results:

Required values should be stored

Additional info:

Comment 1 Richard Hughes 2010-07-07 13:00:01 UTC
(In reply to comment #0)
> When attempting to run gnome-control-center power from a console it aborts.

What does it print on the console?

Richard.

Comment 2 Stephen 2010-07-07 13:20:34 UTC
It only aborts when I attempt to run it is either root or through sudo

The output when running as root is :

** (gnome-control-center:23591): WARNING **: Could not load icon 'file-manager': Icon 'file-manager' not present in theme

Gtk-ERROR: The connection is closed
aborting...
Trace/breakpoint trap (core dumped)

When running through sudo I get:

** (gnome-control-center:23594): WARNING **: Could not load icon 'file-manager': Icon 'file-manager' not present in theme

Gtk-ERROR: Cannot determine session bus address (TODO: run dbus-launch to find out)
aborting...
Trace/breakpoint trap (core dumped)

Comment 3 Richard Hughes 2010-07-08 08:29:57 UTC
(In reply to comment #2)
> It only aborts when I attempt to run it is either root or through sudo

Don't do that.

Have you got the dconf package installed?

Richard.

Comment 4 Stephen 2010-07-08 10:02:01 UTC
1. OK I won't

2. No I do not

Comment 5 Richard Hughes 2010-07-08 12:07:28 UTC
(In reply to comment #4)
> 2. No I do not    

Okay, well you need to install dconf manually. I'm quite surprised something like gnome-desktop didn't pull this in for us.

I'll reassign for comments. Matthias?

Comment 6 Stephen 2010-07-08 12:29:19 UTC
That fixed it, cheers

Comment 7 Matthias Clasen 2010-07-08 16:27:48 UTC
I've added that dependency in gnome-session now.