Bug 327017

Summary: Message takes over 1 minute or 2 to show up due to Kmail syncing folders.
Product: [Applications] kmail2 Reporter: Sudhir Khanger <sudhir>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: grave CC: dvratil, sudhir
Priority: NOR    
Version: 4.11.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sudhir Khanger 2013-11-02 01:25:09 UTC
Kmail is constantly syncing folders which causes individual messages to load after a delay of a minute or two making whole Kmail experience a pain to use. I have left my system On for considerable period of time to make sure that it caches and syncs everything but no help so far.

Reproducible: Always

Steps to Reproduce:
1. Add gmail address.
2. Click on a message in the list.
3.
Actual Results:  
Retrieving folder contents please wait.

Expected Results:  
Show the message itself without wait.

[donnie@archlinux ~]$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kmail2(10288)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/donnie/.kde4/share/apps/messageviewer/themes/" 
kmail2(10288)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/usr/share/apps/messageviewer/themes/" 
kmail2(10288)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/donnie/.kde4/share/apps/messageviewer" 
kmail2(10288)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/usr/share/apps/messageviewer" 
[donnie@archlinux ~]$ kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288) MessageList::Core::ModelPrivate::findMessageParent: Circular reference loop detected in the message tree 
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kmail2(10288)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Comment 1 Daniel Vrátil 2013-11-14 09:57:17 UTC
(This is a duplicate of a bug that I can't find right now :-))

Please open Akonadi Console, go to "Browser" tab and check whether there are any duplicated folders in "Local Folders". If there are, remove the duplicated folders and restart Kontact and Akonadi. That shoul fix your problem.
Comment 2 Sudhir Khanger 2013-11-14 13:22:14 UTC
There were multiple instances of Local Folders, Personal Calendar, and Personal Contacts. After removing redundant instances everything seems to work fine. Thanks for promptly commenting.
Comment 3 Sudhir Khanger 2014-10-06 12:19:41 UTC
Changed distributions. I no longer could replicate this issue hence closing.