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 793290 - Not all folders are synchronized when setting offline mode
Not all folders are synchronized when setting offline mode
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
3.18.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2018-02-08 08:12 UTC by sgt-hartman
Modified: 2018-02-09 09:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sgt-hartman 2018-02-08 08:12:22 UTC
Hi,

I checked `Copy folder content locally for offline operation` on all folders of
my IMAP mail account but when i set evolution in offline mode (button at the bottom left), it asks me 

`Synchronize folders locally for offline usage?`
`Do you want to locally synchronize the folders that are marked for offline usage?`

i push `syncronize` but all the folders are not syncronized even if the operations seems to be finished.

I observed that only the selected folder is syncronized, not all, but i'm not sure.If i open a mail in another folder in offline mode, this message appears instead of the content of the mail:

Message is not available in offline mode.

This can be due to the message not being downloaded yet. The folder, or the account, can be marked for offline synchronization. Then, once the account is online again, use File->Download Messages for Offline Usage, when this folder is selected, to make sure that all the messages in the folder will be available in offline mode.

Maybe i have not well understood how this functionnality works but when i read this 

`Synchronize folders locally for offline usage?`
`Do you want to locally synchronize the folders that are marked for offline usage?`

it means all checked folders will be syncronized. I have a lot of folders,
Comment 1 sgt-hartman 2018-02-08 08:15:56 UTC
Sorry, a copy/paste issue, the last line:

[...]
it means all checked folders will be syncronized for me. I have a lot of folders, it seems tedious to syncronize all folders one by one.
Comment 2 Milan Crha 2018-02-08 15:26:09 UTC
Thanks for a bug report. There are couple aspects being related. If you really meant 3.18.x, then it's obsolete for a long time. Current stable version (3.26) works properly here.

I guess you IMAP account has set both Junk and Trash folders as real folders. That makes a big difference, because whenever you leave the folder, it's also freed from the memory and thus not considered for the offline synchronization. A workaround here is to set one of them not-real folder, which will keep all opened folders since you start evolution in memory. They are opened when you visit them or when they are opened with filters or such ("Check for new messages in all folders" does the trick).

As I said, the recent 3.26 works differently and doesn't need this workaround. The upcoming 3.28 will work even better.
Comment 3 sgt-hartman 2018-02-09 09:00:13 UTC
I confirm "Check for new messages in all folders" + unset the Junk folder as real folder does the trick!

I am aware i use an old version but this is the official version from current Ubuntu LTS 16.04 and i have not found a simple solution to upgrade evolution manually. 

Anyway its works :)

Thank you
Comment 4 Milan Crha 2018-02-09 09:39:45 UTC
Thanks for the confirmation. I understand the situation that LTS distributions stick with "older" applications for the sake of distro stability.