Opened 9 years ago

Last modified 9 years ago

#7254 new bug

Mail status setting changes not picked up while fetching mail

Reported by: stippi Owned by: czeidler
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Platform: All


With the new IMAP synchronization, things can be pretty confusing. When invoking the Apply button after creating an account, mail_daemon may start fetching mails in the background. The default setting for the status window is to not show it at all (why is that thought to be a good default?!). When changing this setting, the status window does not appear to show the ongoing fetch process. I am not 100% sure if that's what is going on, since looking at the Tracker folder with all the mails and opening the Attributes menu crashed Tracker, I just think the folder was still filling up.

Change History (5)

comment:1 by czeidler, 9 years ago

After something has changed in the protocol config view (actually every time when a protocol config view has been shown, because there is no fine graded settings change detection at the moment) and you press the apply button the mail protocols for all changed accounts are restarted.

When starting the IMAP protocol all files are read from disk, in parallel a list of mails is fetched from the server. Afterwarts the local list is syncronized with the list on the server. This implies mark messages as read/unread, delete gone messages and fetch new.

Do you mean the option "Show connection status window" should be on "While sending and receiving" on default? or something else? I think its the better option then "never".

comment:2 by stippi, 9 years ago

"While sending and receiving" should be the default, yes. But this would hide the bug I created the ticket for. Which is that while mail_daemon already fetches mail, the status window will not be shown immediately after changing the setting from "never" to "while sending or receiving".

comment:3 by czeidler, 9 years ago

ok then I got you right but I can't reproduce it :(

I have the mail_daemon running, the status window option is on "never" after pressing apply I can switch the option and the status window is shown immediately. This is working while sync and while fetching messages. Any further details?

comment:4 by stippi, 9 years ago

I am doing this on a freshly built image. Note that the mail_daemon does not run on a fresh image, that's why I enabled the "Start mail services on startup" settings first. After changing each setting, I pressed the Apply button. Maybe the bug can only be reproduced with a partial mail download limit of greater than 0 KiB.

comment:5 by diver, 9 years ago

I remember this bug since the first versions of MDR in BeOS and it's still here in hrev41752.

Note: See TracTickets for help on using tickets.