Bug 78012 - Wish: Automatic merging of contacts into metacontacts
Summary: Wish: Automatic merging of contacts into metacontacts
Status: REPORTED
Alias: None
Product: kopete
Classification: Applications
Component: Contact list (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 83100 112111 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-19 16:35 UTC by Dik Takken
Modified: 2010-02-14 23:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2004-03-19 16:35:02 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:          Linux

If two or more contacts have the same alias but different accounts, ask the user if Kopete should merge them into one meta-contact.
Comment 1 Dik Takken 2004-03-19 16:36:03 UTC
Oops, forgot to change to wishlist... 
Comment 2 Dik Takken 2004-07-10 12:22:53 UTC
I am asking for this feature because I know that not every user understands what a metacontact is, how to create them and so on. Kopete should manage metacontacts transparantly, when possible.

Maybe it would also help to add the possibility to merge contacts into metacontacts by drag/dropping one contact on top of the other. Kopete should then ask the user if he wants the contacts to me merged.
Comment 3 Casey Allen Shobe 2004-07-10 12:38:58 UTC
Dik, it is possible to merge by dragging the _contact_ (that is, the little protocol icon to the right of the name) onto another contact.

I think what you're asking for in your last comment is the possibility to drag a metacontact (that is, the text name) onto another contact.

This is what I would expect it to do as well, but others (notably Stefan) argue that it should retain the current functionality of moving the user into the group of the metacontact you drop the other MC onto.

Please see bug 84638 for that conversation, and if you like, comment there.

As for suggesting merging, when would you propose this happen, and how should it work?  It doesn't seem feasible to me...

Comment 4 Dik Takken 2004-07-10 13:34:42 UTC
> Dik, it is possible to merge by dragging the _contact_ (that is, the little protocol icon to the right of the name) onto another contact.

Ah, yes that works very nicely. For some reason I never tried to drag those icons... Maybe I know why. The mousecursor doesn't change when you hover over those icons. The mouse icon is always set to the hand icon, everywhere in the contact list. It might help a lot when the cursor would only change into a hand when the item below it is draggable.

> I think what you're asking for in your last comment is the possibility to drag a metacontact (that is, the text name) onto another contact.

Yes, correct. Dragging the metacontact is what most people seem to try, but that doesn't work. 

> As for suggesting merging, when would you propose this happen, and how should it work?  It doesn't seem feasible to me... 

Well, some people I know and who don't know the icon-dragging trick have one metacontact for each contact. In order to help those people keep their contact list clean, Kopete will have to give a hint on how to merge contacts into metacontacts. This could be done when the user changes the name of one contact to match with the name of another (meta)contact. Kopete can take that as a hint that both contacts are referring to the same person and point the user at the possibility to merge them. Kopete could do the merging, or it could explain to the user how to do it.

Kopete could also display info on how to merge contacts when the user starts a new Kopete version for the first time. Preferably, it should show a little picture showing a protocol icon being dragged.

Comment 5 Dik Takken 2004-07-10 14:28:05 UTC
I posted a proposal in Bug 84638, please take a look at it.
Comment 6 Till Gerken 2004-07-10 14:46:50 UTC
I'd still like this one to be implemented nevertheless.
Comment 7 Jason Keirstead 2004-07-10 16:07:07 UTC
> It might help a lot when the cursor would only change into a hand when the item 
> below it is draggable. 

Every item in the contact list is dragable. This would mean that the curosr was a hand everywhere.

This is not now KDE listviews behave.
Comment 8 Till Gerken 2004-07-10 16:29:22 UTC
For this special case we should change the cursor though, otherwise there's no indication that you can drag something. We have subitems in the listview which are draggable individually, so we need somekind of feedback to indicate this.
Comment 9 Casey Allen Shobe 2004-07-10 16:41:47 UTC
Till, I don't think a special cursor is needed.  Both are draggable.  But if we make a popup that gives a choice about what happens when you drop an MC on an MC (per comment on other bug), an explanation could be put on that popup that told how you could drag individual contacts.

But as for THIS bug, which is prompting for merging every time there are two MCs with the same name (assuming there is a "Do not ask me again" checkbox), I agree with you and Dik and think this is a great idea and should be implemented regardless.

One concern I have though, let's say you DO NOT check that checkbox, because two people happen to be named "Bob" on your list, but they are two very different people.  Assuming you are prompted about it once, and select No, do not merge, then what happens when Kopete is restarted and it notices them again?  How to remember that you did not want to remember associations between these two specific MCs, without losing prompting if they pair up with another duplicate-named MC later?  It just seems impossible to me for reasons like that, but if you know better, please say :)
Comment 10 Jason Keirstead 2004-07-10 16:53:35 UTC
Casey Allen Shobe wrote:

>One concern I have though, let's say you DO NOT check that checkbox, because two people happen to be named "Bob" on your list, but they are two very different people.  Assuming you are prompted about it once, and select No, do not merge, then what happens when Kopete is restarted and it notices them again?  How to remember that you did not want to remember associations between these two specific MCs, without losing prompting if they pair up with another duplicate-named MC later? 
>
One possibility could be to have a global option, "Enable automatic 
contact merging" in the main options, enabled by default, maybe even a 
hidden setting to be edited only with KConfigEditor. Then have the 
prompt box being "Do not ask me again for this contact".

Comment 11 Casey Allen Shobe 2004-07-10 17:37:20 UTC
On Saturday 10 July 2004 07:53, Jason Keirstead wrote:
> One possibility could be to have a global option, "Enable automatic
> contact merging" in the main options, enabled by default, maybe even a
> hidden setting to be edited only with KConfigEditor. Then have the
> prompt box being "Do not ask me again for this contact".

Which contact?  Contact 1 or contact 2?  Just because you don't want contact 1 
and contact 2 merged, does not mean you won't want contact 3 (future 
addition) merged with contact 1 or contact 2.  If the dialog has a do not ask 
me again checkbox, there doesn't need to be an option in the main dialog.

Comment 12 Will Stephenson 2004-07-10 22:51:40 UTC
The 'Sync KABC' action in the metacontact context menu will merge contacts into single metacontacts where their addresses are all present under the same entry in the KDE address book.   You can check this using the 'IM Addresses' tab of KAddressbook.  Useful for recreating your contact list after losing your contactlist.xml.
Comment 13 Olivier Goffart 2004-07-19 00:05:29 UTC
*** Bug 83100 has been marked as a duplicate of this bug. ***
Comment 14 Sebastian Turzański 2005-11-06 16:25:41 UTC
i was looking for merging for 5min and couldnt find it until i found it here that i have t drag the small protocol icon - it's not obvious at all so maybe there should be at least an entry in popup menu for this action?

Also when u want to add a subcontact to a metacontact and this contact is already on your list as a separate contact kopete wont add it as a subcontact and doesnt display any warning message
Comment 15 Bruno Bigras 2010-02-14 23:41:40 UTC
*** Bug 112111 has been marked as a duplicate of this bug. ***