[Kde-pim] Ping/Pong Loop between Mailtransport and KMail

Kevin Krammer kevin.krammer at gmx.at
Fri Jul 16 16:35:22 BST 2010


Hi all,

while debugging Mailtransport related problems, I discovered a nice ping/pong 
inside KMail.

This is what happens:

1) KMail's ETM lists a folder
2) Akonadi synchronizes the collection
3) KMKernel::instanceStatusChanged() goes "oooh, mail is being checked"
4) when "mail check" ends, KMMainWidget::slotEndCheckMail() decides to send 
queued messages

So far so good

5) DispatcherInterface creates a FilterActionJob
6) FilterActionJob does and ItemFetchJob on the outbox
7) Akonadi synchronizes the outbox
8) -> (3)

Not sure where to fix this though.
The most problematic part seems to be in KMKernel::instanceStatusChanged().
Any of its agents switching to state "Running" is considered a mail check in 
progress.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100716/5d018dc6/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list