Bug 68422 - Contacts in "Address selection" dialog show multiple times
Summary: Contacts in "Address selection" dialog show multiple times
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.93
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-17 13:37 UTC by Oded Arbel
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 Oded Arbel 2003-11-17 13:37:56 UTC
Version:           1.5.93 (using KDE 3.1.93 (CVS >= 20031111), compiled sources)
Compiler:          gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
OS:          Linux (i686) release 2.4.21-3mdk

A single contact with a single email address is shown multiple times on the "Address Selection" dialog under the same group.

I found no correlation between the contact information and the number of times a contcat is listed in the same group. 

for example, having to similar conctacts (both list only first name, last name and a single email address in addition to being included in two groups - the same groups) one is listed twice while the other is listed 3 times.

The same contact is listed the same number of times in each group that the contact is part of, for example - if contact belongs to group A and group B, and is listed 3 times under group A, its also listed 3 times under group B.
Comment 1 Oded Arbel 2003-11-30 14:20:54 UTC
This is related to distribution lists - if a category is set for a user, and the user is also listed in one or more distribution lists, then under said category the user is listed once for the main entry and once more for each distribution list this user is part of.
Comment 2 Tobias Koenig 2003-12-03 19:59:48 UTC
Subject: kdepim/libkdepim

CVS commit by tokoe: 

Reworked the interface and fixed some bugs...
#69133 is semi-fixed by disabling the code which caused the
crash, I won't close the bug report now because this has to
be fixed before final 3.2 release IMHO.

CCMAIL:67372-done@bugs.kde.org,68422-done@bugs.kde.org,69134-done@bugs.kde.org


  M +107 -82   addressesdialog.cpp   1.20
  M +5 -7      addressesdialog.h   1.9
  M +302 -433  addresspicker.ui   1.7



Comment 3 Stein Somers 2004-09-20 15:15:01 UTC
I saw the same problem in Address Selection, but without having any distribution lists, but rather Categories. (rest of this paragraph is vague) I did sometimes use multiple categories for the same person, and had search filters combining these.  This worked well in KDE 3.1's address book (I thought there was no address selection dialog in kmail then?).  Anyway, in KDE 3.2 (as shipped with SuSE 9.1) the address selection dialog was exploded (list boxes running off the bottom of the dialog, no buttons visible) and contacts appeared multiple times.  The number of instances of each contact grew as you worked with kmail - not sure exactly how.

Anyway, the following is reproducible in KDE 3.2 as shipped with SuSE 9.1 (struggled hours to install KDE 3.3 in vain):
- in Address Book, set a category for a contact
- and add the same contact to a distribution list
- in Address Selection, the contact doesn't appear under the relevant Distribution list, but is listed twice under the category
Comment 4 Stein Somers 2004-09-22 20:34:32 UTC
The latter problem still exists in the KDE 3.3 (in the build offered as supplementary for SuSE 9.1).
Comment 5 Jaromir Moskvan 2005-02-25 13:50:08 UTC
How many times the e-Mail address is shown, depends not on the groups.
It depends on the entry in kaddressbook. Has the kontact (x) e-mails, Address Selection in kmail shows his default e-Mail (x) times in each distributed list, he is in.