GNOME Bugzilla – Bug 514744
All accounts/folders start collapsed
Last modified: 2012-06-11 09:05:34 UTC
Please describe the problem: When I start Evolution all my accounts and folders are collapsed. I have to manually expand everything to the way I want it. Steps to reproduce: 1. Start Evolution 2. Notice how everything is collapsed 3. Expand everything 4. Close Evo and Restart and you're back at #2 Actual results: Expected results: Does this happen every time? Yes Other information:
Try run evolution on console and see f there is some warning or similar saying what is going wrong. It should be also able to write to ~/.evolution/mail/config/folder-tree-expand-state.xml and other files there, so check if it is writable (maybe try remove that folder and keep evolution to recreate one for you, but it depends on messages on console)
I removed ~/.evolution/mail/config and restarted and now it remembers my settings again. Thanks! I'm not sure what to do with this bug, it was a bug but probably not very common and not reproducible. Invalid?
You didn't keep those corrupted files, did you? If you did, please attach them here, if not, just close as incomplete, I guess.
Created attachment 105988 [details] Corrupted ~/.evolution/mail/config/ Yes I did keep it :)
Ahh, good. Can you upload also your your actual folder-tree-expand-state.xml, the older one seems pretty correct, with only one root node with expanded="false" and when I'm trying to reproduce on my machine, then it works fine.
I see the difference with my xml, I have the root node named "tree-state", but you have "expanded_state", maybe that's the issue.
Bumping version to a stable release.
Created attachment 107067 [details] [review] proposed evo patch for evolution; I checked the code and I do not see how to misplace those two file formats, somehow. But even without that, I would like to suggest to use this patch, it does same thing as in e_tree, it checks if root node of loaded file is that one we expect, and if not, then use fresh new default file.
Milan, I think some basic validation on the XML data is good. I had a look at Subversion history thinking maybe the "expanded_state" node came from some older version, but I couldn't find any evidence of it. Anyway, patch looks good. Please commit.
Committed to trunk. Committed revision 35209. I could not find such evidence too, thus I added a sanity check to the code.
Hello This issue just came back. I'm using Ubuntu and I have Evolution 2.22.3.1-0ubuntu1.
Created attachment 117408 [details] My folder-tree-expand-state.xml file while having this problem
How did you do that? :) Is it after some crash or something? Maybe after restore? I cannot think of any legal way how to achieve this. Btw, the committed fix will be included in 2.24, it missed your 2.22 version.
Hmm cannot recall :) But that is possible (although since I stopped using evolution-exchange I went from 2-3 crashes a day to 2-3 crashes per 6 months).
Are you ok with the "will be included in 2.24" statement above? Because there is nothing more to do with this, I'm afraid, unless some exact steps or pointers how to reproduce this will be given. The code really seems fine. :(
Ok! If it happens again I will make a note in as much detail as possible on how it happened.
Setting this to NEEDINFO to be closed eventually in lieu of a response.
Haven't seen this in a long time.
Closing as per last comment.