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 732717 - Refreshing an IMAP account does not refresh folder list
Refreshing an IMAP account does not refresh folder list
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.12.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-07-04 03:17 UTC by Ankur Sinha (FranciscoD)
Modified: 2014-11-20 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ankur Sinha (FranciscoD) 2014-07-04 03:17:40 UTC
Hi,

I just re-organized my gmail - new filters, new labels. All this time I had evolution open. Gmail is set up using GOA. The last time I'd done this, I'd right clicked on the gmail account in evolution and done "refresh". All the folders had been refreshed as per my new labels. This didn't happen this time. When I close and reopen evolution, it does show the new labels. 

Thanks,
Warm regards,
Ankur
Comment 1 André Klapper 2014-07-04 10:43:47 UTC
Is this via POP3 or via IMAP+?
Comment 2 Ankur Sinha (FranciscoD) 2014-07-04 12:44:05 UTC
Hi Andre,

The google account was set up through GOA. Evolution preferences says IMAPX. 

Thanks,
Warm regards,
Ankur
Comment 3 Ankur Sinha (FranciscoD) 2014-09-11 01:30:40 UTC
Still the case with:

$ rpm -qa \*evolution\*
evolution-help-3.12.6-1.fc21.noarch
evolution-debuginfo-3.12.5-2.fc21.x86_64
evolution-3.12.6-1.fc21.x86_64
evolution-ews-3.12.6-1.fc21.x86_64
evolution-data-server-debuginfo-3.12.5-3.fc21.x86_64
evolution-data-server-3.12.6-1.fc21.x86_64
Comment 4 Ankur Sinha (FranciscoD) 2014-10-06 12:39:01 UTC
If I delete an account on my gmail, it doesn't go away in evolution even on a refresh. If I try to unsubscribe, evolution tells me that the folder doesn't exist, though.
Comment 5 Milan Crha 2014-11-20 14:07:07 UTC
I think this is related to multiple things. One is that the change on GMail can take some time (not so long) to propagate to IMAP interface of GMail, thus if the label addition in the Web UI was done and the refresh was initiated in evolution too early, then it didn't get the change yet. It's just a guess. Another rule is to not run multiple (IMAP) clients on one (IMAP) server simultaneously - doing that results in undefined behaviour. I know the Web UI is not an IMAP client, but I take it as the same kind. On the other hand, the Refresh on the account name in the folder tree in Evolution is meant to do the folder refresh as well, just like the evolution was run fresh. The comment #4 (with s/account/folder/) sounds like a side-effect of the failed folder list refresh.
Comment 6 Milan Crha 2014-11-20 14:13:29 UTC
Ehm, you are right, the GMail IMAP interface returns list of folders as expected, but the IMAPx doesn't react on the changes properly, despite it got the updated list of available folders.
Comment 7 Milan Crha 2014-11-20 16:16:35 UTC
Created commit 27116dd in eds master (3.13.8+) [1]
Created commit 8770acd in eds evolution-data-server-3-12 (3.12.9+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=27116dd