Bug 177159

Summary: Kmail freezes when adding a contact from an email
Product: [Applications] kmail Reporter: Marius Orcsik <marius>
Component: addressbookAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: colin.thomson, erik, jessie, jtamate, kde-bugs, pano_90, rdieter
Priority: NOR    
Version: SVN trunk (KDE 4)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marius Orcsik 2008-12-07 18:07:09 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When trying to add a contact from an opened email kmail freezes and the process starts using more CPU than usual until I close it. 

Kontact has the same behavior too.

Observations: 
1. Akonadi is started and I have as Address Books the : Akonadi Compatibility Resource (empty) and a local VCF file (which contains my addresses). 
2. I have also tried with only one of these resources active at a time, but it's the same thing.
Comment 1 Panagiotis Papadopoulos 2008-12-07 18:10:33 UTC
I can confirm this behaviour.
After right clicking on the email address and clicking on add to ..., KMail freezes on my system too.
Comment 2 Marius Orcsik 2008-12-07 19:05:16 UTC
I found a workaround:

I think the problem actually lies with Akonadi because I went to the system settings and set the local VCF file as the Standard Contacts resource, everything goes well. (systemsettings - Advanced - KDE Resources - Contacts)
Comment 3 Erik Zoltan 2008-12-17 04:58:01 UTC
Unfortunately this fix didn't work for me.  Kmail does freeze when I try to add someone to the address book.  In the system settings (advanced, KDE Resources, Contacts) I set the local file (which is a VCF file) as the standard contacts resource.  I also disabled the check box for Akonadi.  

Kmail still freezes however.
Comment 4 Erik Zoltan 2008-12-21 18:39:13 UTC
Hey good news!  This bug resolved itself when I upgraded my KDE to the latest beta version.  I would say that whatever is causing this problem, they are probably already fixing it somewhere else.  
Comment 5 Thomas McGuire 2008-12-21 20:17:07 UTC
Fixed by:
SVN commit 899878 by krake:

Keep track of which collections have already been loaded during asyncLoad so we know when to emit loadingFinished()
Comment 6 Thomas McGuire 2008-12-30 17:22:08 UTC
*** Bug 178986 has been marked as a duplicate of this bug. ***
Comment 7 Thomas McGuire 2009-01-01 18:43:00 UTC
*** Bug 179300 has been marked as a duplicate of this bug. ***