From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030730 Mozilla Firebird/0.6.1 Description of problem: After removing the battery status applet, if it is re-added to the panel, it reverts to its default state instead of the configuration it had been changed to in the previous run. Version-Release number of selected component (if applicable): gnome-applets-2.2.0-8 How reproducible: Always Steps to Reproduce: 1. Configure the status applet differently than defaults 2. Remove the applet from the panel 3. Add the applet back to the panel Actual Results: Applet reverts to original / default settings Expected Results: Applet would retain state between runs. Additional info:
This is the same for all applets, the properties of the applet are per-instance not global. There's a bug on bugzilla.gnome.org about improving this, with some discussion.
I must not be being clear. I log in as myself. I put the batstat applet on the panel. I don't want the color changing battery there, so I remove it, and replace it with the percentages. Since polling ACPI chews processor, I don't run the applet all the time, so I close it down. When I load it again, the color changing battery is back, and my percentages are gone. I also lose my preferences if I log out and log back in. If this is standard, its really stupid. I can't believe an application would not retain states between runs.
The point is that applet settings are per-instance. That is, you can add the same applet to the panel multiple times. For example you can add the system monitor several times and set each one up different in preferences; one monitor might show CPU and another memory for example. The settings should be retained across login/logout, but they are only retained as long as the applet is actually on the panel. If you remove the applet from the panel, that instance of the applet is deleted. The discussion on bugzilla.gnome.org suggests something like "new applets get the settings from the most recent instance of the same applet", so for example if I have a system monitor that displays memory usage, and create a new system monitor applet, then the new one will also display memory usage by default. But then if I changed the new one it would only change the new one, not both of them. I don't remember the whole gnome.org discussion, though.
hp: Thanks for the clear explination. I appreciate it.
Here's the upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=32225 Closing as UPSTREAM