Bug 78371 - interval imap new mail check on idle
Summary: interval imap new mail check on idle
Status: RESOLVED DUPLICATE of bug 67504
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-24 12:18 UTC by liviu
Modified: 2007-11-14 17:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liviu 2004-03-24 12:18:06 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

It wold be nice if I could tell kmail only to do interval mail check when it is idle. Because imap new mail check takes a long time, and I have interval mail check activated, when using IMAP, oftten I have to wait when entering in a folder, until the new mail check is done. and that can take as long as 30-40s, witch is very upsetting.
	 So how about a check box near the interval new mail check, to specify that the interval mail check should be done only when kmail is idle. Idle time should be counted since the last network action occured in kmail ...
Comment 1 Carsten Burghardt 2004-03-24 12:56:02 UTC
liviu@bv.ro sagte:
> It wold be nice if I could tell kmail only to do interval mail check when
> it is idle. Because imap new mail check takes a long time, and I have
> interval mail check activated, when using IMAP, oftten I have to wait when
> entering in a folder, until the new mail check is done. and that can take
> as long as 30-40s, witch is very upsetting.
> 	 So how about a check box near the interval new mail check, to specify
> that the interval mail check should be done only when kmail is idle.
> Idle time should be counted since the last network action occured in
> kmail ...

I don't understand the rational. If the mailcheck starts because kmail is
idle and then you click on the folder you get the same behaviour. Apart
from the fact that it is hard to define "idle" as we keep the connection
open with idle-commands...

Comment 2 liviu 2004-03-24 13:14:53 UTC
	I don't want kmail checking for new mail while I'm working with it. I usualy work with kmail for a while, after that I leave kmail untouched for a period. That period I wold like it to check for new mail. That because I like to have all the recent mail available, and I dont have to wait while a mail check is done.
	That idle could be calculated using something like folderjobs, or counting the ide-commands sent one after another .
Comment 3 boulan 2005-03-13 11:02:55 UTC
a nice solution to this problem would be to implement idle imap:
if idle imap were implemented, new mails would be notified instantly,
instead of taking a long time polling in each folder...
Comment 4 Carsten Burghardt 2005-04-16 15:42:29 UTC
On Sunday 13 March 2005 11:02, boulan@iie.cnam.fr wrote:
> if idle imap were implemented, new mails would be notified instantly,
> instead of taking a long time polling in each folder...


This is unfortunately not possible with the kioslave structure.
Comment 5 David Faure 2005-04-17 22:05:36 UTC
On Saturday 16 April 2005 15:42, Carsten Burghardt wrote:
> > if idle imap were implemented, new mails would be notified instantly,
> > instead of taking a long time polling in each folder...
> 
> 
> This is unfortunately not possible with the kioslave structure.


You can use DCOP signals to let the ioslave notify apps about something.
Comment 6 Till Adam 2005-05-22 11:30:34 UTC

*** This bug has been marked as a duplicate of 67504 ***
Comment 7 Luke-Jr 2007-11-14 17:28:28 UTC
> On Sunday 13 March 2005 11:02, boulan at iie.cnam.fr wrote: 
> > if idle imap were implemented, new mails would be notified instantly, 
> > instead of taking a long time polling in each folder... 
> 
> This is unfortunately not possible with the kioslave structure. 

Why? kio supports FAM just fine.