After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 514744 - All accounts/folders start collapsed
All accounts/folders start collapsed
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-02-06 13:05 UTC by g11024342@trbvm.com
Modified: 2012-06-11 09:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Corrupted ~/.evolution/mail/config/ (280.00 KB, application/x-tar)
2008-02-26 15:12 UTC, g11024342@trbvm.com
  Details
proposed evo patch (1.26 KB, patch)
2008-03-11 15:52 UTC, Milan Crha
committed Details | Review
My folder-tree-expand-state.xml file while having this problem (622 bytes, application/x-trash)
2008-08-26 15:11 UTC, g11024342@trbvm.com
  Details

Description g11024342@trbvm.com 2008-02-06 13:05:19 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:
Comment 1 Milan Crha 2008-02-26 14:11:00 UTC
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)
Comment 2 g11024342@trbvm.com 2008-02-26 14:30:15 UTC
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?
Comment 3 Milan Crha 2008-02-26 14:39:57 UTC
You didn't keep those corrupted files, did you? If you did, please attach them here, if not, just close as incomplete, I guess.
Comment 4 g11024342@trbvm.com 2008-02-26 15:12:38 UTC
Created attachment 105988 [details]
Corrupted ~/.evolution/mail/config/

Yes I did keep it :)
Comment 5 Milan Crha 2008-02-26 16:00:50 UTC
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.
Comment 6 Milan Crha 2008-02-26 16:04:14 UTC
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.
Comment 7 Matthew Barnes 2008-03-11 00:36:15 UTC
Bumping version to a stable release.
Comment 8 Milan Crha 2008-03-11 15:52:45 UTC
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.
Comment 9 Matthew Barnes 2008-03-16 17:41:27 UTC
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.
Comment 10 Milan Crha 2008-03-17 12:56:18 UTC
Committed to trunk. Committed revision 35209.

I could not find such evidence too, thus I added a sanity check to the code.
Comment 11 g11024342@trbvm.com 2008-08-26 15:07:58 UTC
Hello

This issue just came back. I'm using Ubuntu and I have Evolution 2.22.3.1-0ubuntu1.
Comment 12 g11024342@trbvm.com 2008-08-26 15:11:47 UTC
Created attachment 117408 [details]
My folder-tree-expand-state.xml file while having this problem
Comment 13 Milan Crha 2008-09-03 17:57:38 UTC
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.
Comment 14 g11024342@trbvm.com 2008-09-03 18:10:50 UTC
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).
Comment 15 Milan Crha 2008-09-05 08:20:00 UTC
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. :(
Comment 16 g11024342@trbvm.com 2008-09-05 11:50:32 UTC
Ok!

If it happens again I will make a note in as much detail as possible on how it happened.
Comment 17 Matthew Barnes 2009-05-24 03:20:49 UTC
Setting this to NEEDINFO to be closed eventually in lieu of a response.
Comment 18 g11024342@trbvm.com 2009-05-24 18:51:43 UTC
Haven't seen this in a long time.
Comment 19 André Klapper 2012-06-11 09:05:34 UTC
Closing as per last comment.