! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfpm-0.8.3 doesn't read / save settings
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Jason Pleau 2009-08-07 01:31:58 CEST
Created attachment 2492 
xfce4-power-manager-0.8.3 "error log"

After upgrading xfce4-power-manager to 0.8.3, I noticed that it doesn't use the
settings that I had set in version 0.8.2. It also won't save settings that I
try to set via the xfce4-power-manager-settings app. Manually changing the .xml
file has no effect whatsoever, while it will work with 0.8.2.

I've tested with Gentoo amd64, as well as Arch Linux amd64. It works on my arch
system, so I can't reproduce it on other systems. The only way to reproduce it
here is to downgrade to 0.8.2, and then upgrade again to 0.8.3. (using official
gentoo ebuilds (~amd64)).

Actual result: xfpm doesn't read/save settings

Expected resulst: xfpm allows me to change settings via the -settings app.


Attachements: I'm going to post 2 attachements, the first one is version 0.8.3
of xfce4-power-manager running with --no-daemon argument, the second one is
with version 0.8.2. I will provide any other requested information.
Comment 1 Jason Pleau 2009-08-07 01:32:34 CEST
Created attachment 2493 
xfce4-power-manager-0.8.2 "error log"
Comment 2 Jason Pleau 2009-08-07 03:14:39 CEST
After some more testing.. it doesn't work on my arch system. I thought it did, but I was wrong. So I've got two xfce4-power-manageer-0.8.3 installs with the same behavior. (I tried with the same configs in ~/.config/xfce4, and with a new user, just to be sure.)
Comment 3 Ali Abdallah editbugs 2009-08-07 06:53:28 CEST
I'm not able to reproduce it here!

First the warnings present in you log files "Error Check Failed" are completely harmless, because some property aren't found so default configuration is taken, and this warning usually doesn't appear if you compile xfconf without --enable-check which i don't know why your distro provider decides to use it.

Anyway, i need more debug info, please run xfce4-power-manager --no-daemon from the terminal and then click on the status icon "Preferences" so the setting program will log all the messages to the same terminal output, and attach what you see here. of course try with the setting dialog to set/change settings.
Comment 4 Jason Pleau 2009-08-07 16:24:19 CEST
Created attachment 2495 
Logs when running --no-daemon and the settings application

Here it is.
Comment 5 Ali Abdallah editbugs 2009-08-08 09:29:14 CEST
(In reply to comment #4)
> Created an attachment (id=2495) [details]
> Logs when running --no-daemon and the settings application
> 
> Here it is.

Nothing wrong from the output.

I sill not able to reproduce on my system, if you open the settings dialog then change something, then re-open it again the changes are lost?
Comment 6 Jason Pleau 2009-08-08 18:31:37 CEST
Hello.

I tried downgrading to 0.8.2, then changing every setting, and then upgrading to 0.8.3, and now the only setting that I cannot change is: "When power button is pressed". It'll always go back to "Suspend", no matter what I choose.
Comment 7 Lionel Le Folgoc 2009-08-09 11:11:49 CEST
Created attachment 2499 
patch to add missing signal

There is a missing "signal" entry in the interface file. It was dropped (by accident?) in r7816. Applying the attached patch and regenerating xfpm-settings_ui.h fixes this issue for me.
Comment 8 Ali Abdallah editbugs 2009-08-09 12:31:00 CEST
(In reply to comment #7)
> Created an attachment (id=2499) [details]
> patch to add missing signal
> 
> There is a missing "signal" entry in the interface file. It was dropped (by
> accident?) in r7816. Applying the attached patch and regenerating
> xfpm-settings_ui.h fixes this issue for me.

Thanks applied, Jason is this patch fixed the issue for you?
Comment 9 Jason Pleau 2009-08-09 13:38:04 CEST
I'm been trying to get it work without hardcoding it.. can't figure out how to rege(In reply to comment #8)
> (In reply to comment #7)
> > Created an attachment (id=2499) [details] [details]
> > patch to add missing signal
> > 
> > There is a missing "signal" entry in the interface file. It was dropped (by
> > accident?) in r7816. Applying the attached patch and regenerating
> > xfpm-settings_ui.h fixes this issue for me.
> 
> Thanks applied, Jason is this patch fixed the issue for you?

Yep!

Much thanks :)
Comment 10 Ali Abdallah editbugs 2009-08-09 14:08:47 CEST
(In reply to comment #9)

> Yep!
> 
> Much thanks :)

Thanks for your report, version 0.8.3.1 just released and it contains a fix for this bug.

Bug #5656

Reported by:
Jason Pleau
Reported on: 2009-08-07
Last modified on: 2009-08-09

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Attachments

xfce4-power-manager-0.8.3 "error log" (4.39 KB, application/octet-stream)
2009-08-07 01:31 CEST , Jason Pleau
no flags
xfce4-power-manager-0.8.2 "error log" (2.32 KB, application/octet-stream)
2009-08-07 01:32 CEST , Jason Pleau
no flags
Logs when running --no-daemon and the settings application (5.21 KB, application/octet-stream)
2009-08-07 16:24 CEST , Jason Pleau
no flags
patch to add missing signal (730 bytes, patch)
2009-08-09 11:11 CEST , Lionel Le Folgoc
no flags

Additional information