GNOME Bugzilla – Bug 563075
Evolution loads with many folders without name
Last modified: 2008-12-08 04:57:39 UTC
Please describe the problem: After created a new account in Evolution, there are several folders without name in the folder view tree of the side bar. Steps to reproduce: 1. Start the Evolution. 2. Add an account into Evolution which has more than 10 folders in the mail server. Actual results: After account setting is finished, several folders without name, and folders in the mail server are shown. Expected results: After account setting is finished, Evolution loads with folders existing in the mail server. Does this happen every time? Yes Other information: If Evolution is restarted, the mail folders can display correctly in the list.
Created attachment 123860 [details] [review] Remove the node whoes name is NULL in the folder view tree if the folder is already in the tree. The logic of loading a folder is: 1. Append a node in the folder view tree 2. Set the name and other information to the node The reason of the bug is: In the em_folder_tree_model_set_folder_info function, if the folder is already in the tree return directly. This will create a lot of nodes without name in the tree. The fix approach: In the em_folder_tree_model_set_folder_info function, if the folder is already in the tree and the name of the node is NULL, remove the node in the folder view tree.
Hi Norman, thanks for the patch, unfortunately there is one pending a review in bug #337082, would you mind to test with that patch, please? If it will not fix the issue completely, then we can take both. (I was able to reproduce this only when creating fresh new account on GMail IMAP, but the every next start was showing folder tree properly.)
Hi Milan, I have tested your patch of bug #337082, it works fine at my side. I think this bug has already been fixed by that patch.
Approved the patch on the other bug. Closing this. *** This bug has been marked as a duplicate of 337082 ***