Bug 307064

Summary: Mail folders "synchronized" once again every time it is opened
Product: [Applications] kmail2 Reporter: Marcel Wiesweg <marcel.wiesweg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: Martin
Priority: NOR    
Version: 4.9.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marcel Wiesweg 2012-09-19 19:44:11 UTC
Fresh conversion from KMail1, local mail folder, folders have 20k-50k images.
Opening a folder for reading mails:
1) Message titles are loaded in the message list view, count is visible in the status line in the lower left corner. Takes about 1-2 secs/10k mails on my machine. Slightly slower than KMail1, but acceptable.
All messages are visible, grouped/threaded.
2) Now comes a second step, and this is my complaint: A task opens (right lower corner) "Folder is synchronized" (translated back from German translation). While this task is active, mails cannot be read: "The contents of this folder are being fetched" (backtranslation again). The mixedmaildir agent eats one CPU core. Sometimes, this synchronization takes only a few seconds, sometimes, it takes 10-20 secs. Note: This happens every time I switch between folders in KMail, again and again.


Reproducible: Always

Steps to Reproduce:
1. Take a larger local mail setup
2. Have two or three folder >10k mails
3. Switch between them
Actual Results:  
After loading the message titles, a synchronisation blocks reading mails

Expected Results:  
Reading mails is possible immediately
Comment 1 Marcel Wiesweg 2012-09-19 19:45:55 UTC
addendum: I have one folder where the synchronization takes particularly long. More than a minute, as long as it took to write the bug report here. This is not the folder with the most mails.
Comment 2 Martin Steigerwald 2016-08-27 11:24:00 UTC
Hello Marcel. Thank you for your report. It is about an ancient version of KMail. 

Akonadi developers implemented a lot of performance improvements for maildir resource, and I think at least partly also for mixedmaildir resource and also in general Akonadi folder synchronisation performance. Thus I close the report.

 If you still see this with KMail/Akonadi 16.04, tell me and I will reopen it. Thank you, Martin