GNOME Bugzilla – Bug 89311
default city ought to be whatever was used last time
Last modified: 2004-12-22 21:47:04 UTC
If I remove and re-add the gweather applet, the city goes back to the default, Pittsburgh. It would be kind of nice if it went back to the city and preferences I was using last time. I realize this is a little problematic where multiple instances of the applet exist, but I think you can still get a better outcome than the current code. For example, when the applet is removed, it might stash its settings in gconf. See also #89310
This may be a duplicate of bug 79787 in which gweather keeps forgetting settings.
It's kind of related, but I think it is not a duplicate. As far as I can see, #79787 is about gweather crashing, and incidentally not reloading its settings correctly when it is respawned by the panel. This one is about the applet being intentionally deleted by the user, and then a new applet added later. In this instance, gweather is apparently working-as-designed, but I am proposing a design enhancement. In #79787 Kevin points out that the possibility of multiple applets causes some problems for restoring previous settings, but I think you can still do it in a way that is not complex or confusing, and that is more friendly than the current arrangement. That is, there should be a global (not per-applet) setting that records the preferences most recently set for all gweather instances. When you add a new instance, it defaults to that.
This would be a nice feature, but given the way applets' settings are saved in GConf currently, I wonder if it's even possible.
#32225 requests a 'save settings as default' option for applets. Something along the lines of this will solve the problem *** This bug has been marked as a duplicate of 32225 ***