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 563075 - Evolution loads with many folders without name
Evolution loads with many folders without name
Status: RESOLVED DUPLICATE of bug 337082
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-12-03 06:16 UTC by Norman
Modified: 2008-12-08 04:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Remove the node whoes name is NULL in the folder view tree if the folder is already in the tree. (822 bytes, patch)
2008-12-03 09:54 UTC, Norman
reviewed Details | Review

Description Norman 2008-12-03 06:16:41 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.
Comment 1 Norman 2008-12-03 09:54:15 UTC
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.
Comment 2 Milan Crha 2008-12-05 12:00:58 UTC
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.)
Comment 3 Norman 2008-12-08 03:12:48 UTC
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.
Comment 4 Srinivasa Ragavan 2008-12-08 04:57:39 UTC
Approved the patch on the other bug. Closing this.

*** This bug has been marked as a duplicate of 337082 ***