Bug 612145 - gnome-control-center power does not save changed values
Summary: gnome-control-center power does not save changed values
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-desktop3
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-07 12:24 UTC by Stephen
Modified: 2010-07-08 16:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-08 16:27:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.