Bug 241386

Summary: Ability to find duplicates / contacts with the same email address
Product: [Applications] kaddressbook Reporter: J Appel <scl+kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: anmeldungen, heri+kde, jnelson-kde, kdebugs, lacsilva, steffen, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description J Appel 2010-06-11 10:02:09 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

Usecase:

John maintains a rather large pile of email addresses spread among several addressbooks.

He receives new entries from different sources, not knowing if the new arrivals are already in one of his addressbooks. They only 

If kaddressbook would offer an option to find duplicate email addresses, Johns life would be easier.

Reproducible: Always
Comment 1 Tobias Koenig 2010-06-11 12:54:13 UTC
Hej,

in KDE 4.5 it will be possible to show all available contacts in the
middle pane of KAddressBook. Then you can just type in the email address
in the search bar above and if still multiple contacts are listed you
know that you have multiple persons with the same email address.

Ciao,
Tobias
Comment 2 J Appel 2010-06-11 15:17:48 UTC
Hola Tobias, thank you for the reply.

I am aware of the manual way to look for duplicates. Imagine huge amount of address, like importing 400 new addresses at one time as a seperate addressbook. 

Life is hard for John if he would need to type all 400 addresses to look for duplicates. Also, as time went by, John may already have duplicates in his data set. He would need to go through every single email address to find them.

Considering that the data is now stored in a database, I hoped that this feature would be easy enough to implent. 

Please consider reopening the wish in case you think someone might take care. Caretaker would be invited for hugs/beer/tofu and a huge thanks : )
Comment 3 Jan 2010-06-24 00:07:38 UTC
i would be happy if this can be added too. having many contacts and changes it is neccessary to check for duplicates
Comment 4 J Appel 2010-06-30 09:51:23 UTC
reopened due to popular demand. 
It can be extremely useful for users to find duplicates in large datasets, even if it cannot be implented at this time, the wish could be addressed later.
Comment 5 Jon Nelson 2010-07-19 19:18:42 UTC
See also possibly-related bug 226913 as a possible duplicate of this.

I would also like to see this implemented.
Comment 6 Benjamin Eikel 2010-12-14 08:25:35 UTC
I would like to have this feature too. After I have fiddled a little bit with synchronizing my mobile phone I have some contacts twice and some even triple. Merging them by hand would be very tedious. I think the feature was available in the KDE 3 version of KAddressbook.
Comment 7 Luis Silva 2011-10-15 13:30:35 UTC
Possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=242647
Comment 8 Dennis Schridde 2012-08-28 19:14:59 UTC
The issue persists in KDE 4.9.
Comment 9 Laurent Montel 2013-11-16 13:50:25 UTC
Git commit 10b6d9802a6ba63dd962390285c35bc68c9f6d02 by Montel Laurent.
Committed on 16/11/2013 at 13:49.
Pushed by mlaurent into branch 'master'.

Continue to implement merge contacts
Related: bug 242647, bug 325186

M  +7    -1    kaddressbook/CMakeLists.txt
R  +0    -0    kaddressbook/merge/mergecontacts.cpp [from: kaddressbook/mergecontacts.cpp - 100% similarity]
C  +0    -0    kaddressbook/merge/mergecontacts.h [from: kaddressbook/mergecontacts.h - 100% similarity]
A  +52   -0    kaddressbook/merge/mergecontactsdialog.cpp     [License: GPL (v2)]
C  +13   -8    kaddressbook/merge/mergecontactsdialog.h [from: kaddressbook/mergecontacts.h - 071% similarity]
A  +52   -0    kaddressbook/merge/searchduplicatecontactdialog.cpp     [License: GPL (v2)]
R  +12   -8    kaddressbook/merge/searchduplicatecontactdialog.h [from: kaddressbook/mergecontacts.h - 067% similarity]

http://commits.kde.org/kdepim/10b6d9802a6ba63dd962390285c35bc68c9f6d02
Comment 10 Laurent Montel 2015-02-16 12:56:07 UTC
Git commit 2f0f1aafb9b4f84751fd838c9177c4fc2748e307 by Montel Laurent.
Committed on 16/02/2015 at 12:23.
Pushed by mlaurent into branch 'KDE/4.14'.

Fix Bug 325186 - There is no way to merge contacts
Related: bug 325186, bug 242647

M  +22   -0    kaddressbook/merge/manualmerge/mergecontactsdialog.cpp
M  +6    -1    kaddressbook/merge/manualmerge/mergecontactsdialog.h
M  +19   -38   kaddressbook/merge/manualmerge/mergecontactwidget.cpp
M  +6    -1    kaddressbook/merge/manualmerge/mergecontactwidget.h
M  +2    -1    kaddressbook/merge/tests/mergecontactsdialogtest.cpp

http://commits.kde.org/kdepim/2f0f1aafb9b4f84751fd838c9177c4fc2748e307