Re: [Evolution] Loose configuration settings



ah, and what do you know... I've already reported a gconf bug about this
very problem and even submitted a patch back in March :-)

http://bugzilla.gnome.org/show_bug.cgi?id=108574

Jeff

On Fri, 2003-07-25 at 14:27, Jeffrey Stedfast wrote:
On Fri, 2003-07-25 at 14:13, guenther wrote:
We were only cloning Outlook "features", we thought this was expected
behaviour :-)

*outch*


unfortunately I have no idea what the problem is and I would tend to
think that somehow gconfd is not actually saving the settings to disk or
something?

As this works for a few reboots, doesn't this look more like "deleting"
or "corrupting" the CGonf entries, rather than "not saving"?

here's what I think (tho I could be wrong):

1) evo saves the new settings to gconf (which caches them and doesn't
save them to disk... or maybe it does save them to disk but xmlSaveFile
corrupts the file (which it does, believe me... I was the bonobo-conf
maintainer and had to work around this problem...) but gconf doesn't
notice).

2) evo gets shut down, gconf is still being used by other apps and so
stays up and running

3) evo gets restarted, retrieves cached settings from gconfd

4) repeat steps 2 & 3 a few times

5) gconfd gets shut down for some reason (idle quit?)

6) evo gets started up, starts up gconfd because it wasn't running, and
queries for the settings. Since the settings were corrupted away back in
step 1, evo doesn't have values (or invalid values) for some settings
and so has to default them to whatever the default values happen to be
for those corrupted settings.

7) user sends mail to evolution ximian com

8) fejj blames gconf :-)


This would mean, Evolution silently imports the settings again.

well, possibly... but ONLY if gconf is buggy in the first place and
didn't save the setting that tells evo we've already imported the old
settings. or else if thats etting got corrupted by gconf somehow...


I would suggest dumping some values to a file (after setting these to
correct values) and dumping again when settings are being reset. There
must be a difference visible.

Jeff, do you agree?

yes, I would concur :-)


...guenther
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]