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 202576 - a way to refresh IMAP folder list
a way to refresh IMAP folder list
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other other
: Low enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 467585 677909 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-05-03 11:08 UTC by Mattias Eriksson
Modified: 2012-11-22 15:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (3.44 KB, patch)
2012-11-22 15:12 UTC, Milan Crha
committed Details | Review
evo patch (4.57 KB, patch)
2012-11-22 15:15 UTC, Milan Crha
committed Details | Review

Description Mattias Eriksson 2001-05-03 11:08:10 UTC
I use Imap to read my mail. I subscribe to alot of lists and tend to read
my mail from alot of different mailers. Some mailer seems to go nuts if you
subscribe to a imap folder that does not exist. As I use monthly archves
too, I does not create a mailbox entry in the .mailboxlist until the
mailbox actually exist.

BUG
This means that if evolution is running the first time every month I get a
mail thats put into a new mailbox I will never see it until evolution is
restarted and the mailbox list is reread.

It would be nice to have an option to always reread the mailbox list when
looking for mail.
Comment 1 Jeffrey Stedfast 2002-05-27 06:23:39 UTC
this should probably be doable for Maildir and mbox 'spoold's too.

(btw, it wouldn't read the .mailboxlist file on the mail server, it
would have to query for new folders)

I'm not sure how to do this, I don't think we want Evolution to query
the server periodically, I think we want there to be a way to refresh
the folder listing manually (most people don't add new folders very
often).
Comment 2 Not Zed 2002-07-02 08:03:24 UTC
Hmm, if you run the subscribe dialogue it should trigger this (?).
Comment 3 Toni Willberg 2004-12-09 14:33:06 UTC
Still unimplemented.

Perhaps Evo could also periodically check for new folders, and there
would be no need for user to initiate the folder refresh?
Comment 4 Laurent Bigonville 2005-11-14 03:24:23 UTC
nobody? this bug is 4 years old, I don't think this is fixed and it's a real
problem to be sometimes out of sync with the server...
Comment 5 André Klapper 2006-07-04 12:38:14 UTC
laurent: you can always use the "subscriptions" dialog.
Comment 6 André Klapper 2010-08-10 11:11:42 UTC
"Refresh" item was added in the context menu of each folder a while ago.
Comment 7 Mattias Eriksson 2010-08-10 12:02:20 UTC
André, this bug is not about refreshing a folder but refreshing the list of folders. If you have evolution up and running and a new folder is created on the folder (and subscribed to on the server side) evolution will not notice this until it is restarted.
Comment 8 Joachim Breitner 2011-12-21 15:41:26 UTC
Also filed as bug 467585.
Comment 9 André Klapper 2011-12-21 21:07:29 UTC
*** Bug 467585 has been marked as a duplicate of this bug. ***
Comment 10 Milan Crha 2012-09-12 13:03:02 UTC
*** Bug 677909 has been marked as a duplicate of this bug. ***
Comment 11 Milan Crha 2012-11-22 15:12:28 UTC
Created attachment 229637 [details] [review]
eds patch

for evolution-data-server;

This is required to update folder structure in UI on recognized change. It's done for both imap and imapx providers. I'm committing this to both master and gnome-3-6, where the workaround for gnome-3-6 is to use Folder->Subscriptions and just select the account.

Note that this respects the option to show only subscribed folders, thus if a newly created folder is not subscribed, then it will not be shown in case of showing only subscribed folders. It makes sense, but it confused me first, thus I'm mentioning it here.
Comment 12 Milan Crha 2012-11-22 15:15:20 UTC
Created attachment 229638 [details] [review]
evo patch

for evolution;

This adds a "Refresh" popup menu when calling context menu above an account node in the left folder tree, with hint: "Refresh list of folders of this account".
Comment 13 Milan Crha 2012-11-22 15:19:37 UTC
Created commit 424947b in eds master (3.7.3+)
Created commit dd958f0 in evo master (3.7.3+)

Created commit c6a397f in eds gnome-3-6 (3.6.3+)