Bug 238649 - search only checks name field,not the e-mail field
Summary: search only checks name field,not the e-mail field
Status: RESOLVED WORKSFORME
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 06:58 UTC by Parameshwara Bhat
Modified: 2010-05-27 09:37 UTC (History)
1 user (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 Parameshwara Bhat 2010-05-24 06:58:52 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

I have a few contacts which share a common mail server(like abc@mail.co.in).I have added them from the mail and I have not specified any names to contacts.Now I want to see which all contacts from a company are in my address book.Now I cannot do this search in Address book.It only seems to query on name of contact.

Also,the mail addresses when added from "add this to address book" do not take the name field to address book.

Reproducible: Always

Steps to Reproduce:
1.add a few contacts just with e-mail ids with common server suffix
2.query on the server name
3.nothing will be listed

Actual Results:  
As in the description


OS: Linux (i686) release 2.6.31.12-0.2-desktop
Compiler: gcc
Comment 1 Tobias Koenig 2010-05-24 08:32:57 UTC
Hej,

can you give an specific example please how the email addresses you've added
look like?
What do you mean with 'query for contacts'? Do you mean searching for them
in the filter line edit inside KAddressBook above the contact list view or
inside KMail in the address completion?

Ciao,
Tobias
Comment 2 Parameshwara Bhat 2010-05-24 10:02:05 UTC
(In reply to comment #1)
> Hej,
> 
> can you give an specific example please how the email addresses you've added
> look like?
> What do you mean with 'query for contacts'? Do you mean searching for them
> in the filter line edit inside KAddressBook above the contact list view or
> inside KMail in the address completion?
> 
> Ciao,
> Tobias

Hi,

One example is the mail I sent to info@hsbc.co.in.When I type addresses in Komposer,I type hsbc and I get two e-mail addresses.But when I search in Address book, I do not see them.

But other e-mail addresses where I have entered names for contacts,I can short-list all e-mail contacts on gmail.

What apperas to happen is,the recent addresses is a list not available on Addressbook.

Second thing is, if I 'add to addressbook' from e-mail,and the address is "hsbc online" <info@hsbc.co.in>, "hsbc online" does not seem to go to Addressbook.I will check further.

Well,I have done more checks.What appears to happen is,when I type addresses in Komposer,I get
Comment 3 Tobias Koenig 2010-05-24 16:12:42 UTC
Hej,

do the contacts you have written an email to exist in the address book at all?
If you write an email to an email address, the address is kept in the 'Recent Addresses'
store and are used for the autocompletion in the composer, however they are not
automatically added to the address book, therefor you can't find them there, that's
on purpose...
You have to explicitly add them to the address book. Once they are inside, searching
for them work fine here.

Adding an email address to the address book explicitly like you described in your
last comment works fine here with SVN trunk (future 4.5), so this issue is fixed as well.

Ciao,
Tobias
Comment 4 Parameshwara Bhat 2010-05-27 08:28:54 UTC
You are right.You have rightly closed the issue.

Don't you think there can be an address book of "Recently added address" in the address book along with the "Default" one?
Comment 5 Parameshwara Bhat 2010-05-27 09:37:21 UTC
You are right.You have rightly closed the issue.

Don't you think there can be an address book of "Recently added address" in the address book along with the "Default" one?