Bug 87233

Summary: open in addressbook doesn't work
Product: kab3 Reporter: Martin Köbele <martin>
Component: generalAssignee: Tobias Koenig <tokoe>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Köbele 2004-08-15 10:14:22 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources


when I right click on an email address in kmail (within kontact) and when I click on "open in addressbook" the email is not opened in the addressbook if kaddressbook wasn't loaded yet. It only loads kaddressbook and switches to that page, but the email is not opened in a new contacts editor.

It works though if kaddressbook was already loaded i.e. if you clicked on contacts before.

Comment 1 Martin Köbele 2004-08-15 13:16:31 UTC
"open in addressbook" works, if kmail is not started within kontact.
Comment 2 Martin Köbele 2004-08-15 22:26:26 UTC
patch was committed to HEAD. Waiting for coolo's "ok" to port it to KDE_BRANCH_3_3
Comment 3 Jiri Kaderavek 2004-08-23 11:35:55 UTC
I'm using KDE 3.3 stable and must confirm this bug (at least on two of my machines, independently compiled KDE). I'm using IMAP source for my addressbook only. The "Contacts" folder is stored on Cyrus IMAP using 'INBOX' as prefix to folders. When i try "Add to Address Book" i can see the messagebox "Cannot save to addressbook". When i try "Open in Address Book", then the Address Book is opened, but doesn't contain the contact that reffers to original email address. Permissions are OK, because I can add and save the contact from within Address Book and I can see it in "Contacts" IMAP folder.
Comment 4 Felix Berger 2005-02-14 21:54:25 UTC
Doesn't work for me although I'm running from the sources that contain the alleged bug fix for this.
Comment 5 Friedrich W. H. Kossebau 2006-02-12 21:16:14 UTC
I have to reopen this bug as it still does not work if KAddressbook is not already running. It seems to be a race condition, have a close look at http://websvn.kde.org/trunk/KDE/kdepim/libkdepim/kaddrbook.cpp?rev=493427&view=markup

Altough we wait for KAddressbook to start the DCOP call might be received by KAddressbook when the resource is not yet loaded. So the UID is not found, thus no editor. :(
Comment 6 Friedrich W. H. Kossebau 2006-02-12 21:21:08 UTC
Send too early: The close look should be directed at the first function, named
void KAddrBookExternal::openEmail(...)
Comment 7 Friedrich W. H. Kossebau 2006-02-20 23:40:08 UTC
Patched KAddressbook in 3.5 branch to wait for the complete loading of the addressbook. DCOP and commandline commands seem to work now :)
Should be released with 3.5.2.
Comment 8 Tobias Koenig 2009-08-05 16:13:45 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.