! 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 !
xfce4-power-manager-settings-1.3.0 resets battery device display every 30 sec...
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description haarp 2014-06-04 16:55:05 CEST
Using the new settings screen, I can browse the batteries installed in the system. However, there seems to be an internal refresh every 30 seconds. when that happens, and a battery was selected under "Devices", the right pane will reset to the first item (Line power), while on the left, the old item (the battery) is still selected.

Essentially, it resets your current selection every 30 seconds.
Comment 1 Eric Koegel editbugs 2014-06-08 10:32:58 CEST
Created attachment 5518 
Devices tab flickers on update

On a upower notify/change signal, the devices entry was completely
recreated to update to the new settings. This patch changes it so
that only the items in that treeview get updated.

Let me know if that fixes the issue for you.
Comment 2 haarp 2014-06-08 10:52:58 CEST
indeed it does. thanks!
Comment 3 Eric Koegel editbugs 2014-06-08 10:56:22 CEST
Thanks for the quick feedback, pushed to master in: http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=23341dcb785c3a3eaf59a5555c912779101b067d

Bug #10937

Reported by:
haarp
Reported on: 2014-06-04
Last modified on: 2014-06-08

People

Assignee:
Eric Koegel
CC List:
1 user

Version

Version:
Unspecified

Attachments

Devices tab flickers on update (16.33 KB, patch)
2014-06-08 10:32 CEST , Eric Koegel
no flags

Additional information