per folder setting to enable IDLE
Categories
(MailNews Core :: Networking: IMAP, enhancement)
Tracking
(Not tracked)
People
(Reporter: bughit.github, Assigned: gds)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Steps to reproduce:
According to Bug 1725914, IDLE is not expected to work for non-inbox folders:
Imap IDLE (immediate notification) only works for Inbox and other folders that are in the imap SELECTed state. So unless you have recently opened one of the non-Inbox folders that you are filtering mail to, there is no certainty that that new mail will be detected in them immediately. If a folder is not in imap SELECTed state, new mail can only be detected on the timed interval when the folder right-click property is set to be checked for new mail.
Tb, by default, keeps Inbox imap SELECTed and 4 of the most recently open folders. So other than Inbox, you can't really configure a folder to always immediately notify new mail via imap IDLE.
If so, there should be a per folder setting to enable IDLE
Assignee | ||
Comment 1•3 years ago
•
|
||
Ok, I worked on this a few years ago. I don't remember the details but I think I ran into some problems. I don't think I ever filed an enhancement bug for this. I think this allows any imap folder that is set to "check this folder for new message" to also mean use IDLE for this folder and don't release it for other purposes. So here's the WIP diff. I may attempt to revive this if nothing else supersede.
P/S: Of course the attached diff it totally rotten and won't merge and is attached only as a possible re-starting point.
Assignee | ||
Comment 2•3 years ago
|
||
There was also a bug in the mozilla code for linux that caused problem with my attempted fix for this bug. After searching, I found it here: bug 758848 comment 11.
Description
•