Bug 284681 - Regression: kmail2 does not offer receipients from the address book which have more than one email address
Summary: Regression: kmail2 does not offer receipients from the address book which hav...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 09:42 UTC by Gunter Ohrner
Modified: 2012-12-06 21:11 UTC (History)
4 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 Gunter Ohrner 2011-10-22 09:42:42 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

If I enter a substring in the receipient address field, kmail only offers address book entries with a single email address. Contact with multiple addresses are not shown at all.

Reproducible: Always

Steps to Reproduce:
If I enter a substring in the receipient address field which matches a contact with multiple email addresses.

Actual Results:  
kmail does not offer any address / receipient completion.

Expected Results:  
kmail should offer all possible email addresses as completion suggestions, just as kmail 1 did.
Comment 1 Laurent Montel 2011-10-23 20:01:06 UTC
I don't understand bug.
Could you explain more please ?
Comment 2 Gunter Ohrner 2011-10-23 20:43:43 UTC
If one enters a string into the "to" or "cc" fields in the mail composer, kmail communicates with the KDE address book to suggest email addresses. It performs a substring search on the stored mail adresses themselves as well as on the names of the people stored in the address book, and maybe on other fields as well.

After upgrading to KDEPIM 4.7.x and kmail2, kmail does not find any address book entry that has more than one email address.

ie. if I enter "gunter" into the address field, my address book record is not found, as it have 5 email adresses assigned. If a substring matches an address book record that has only a single email address assigned, this address is displayed.

I also had the impression that the substring search became case-sensitive in KDEPIM 4.7.x, but I cannot check at the moment as email address lookup does not work at all at the moment... It did yesterday, no idea what's wrong...
Comment 3 Bernd Oliver Sünderhauf 2012-06-22 10:34:13 UTC
Works for me in 4.8.3
Comment 4 stefanfrank 2012-07-29 10:37:20 UTC
Same bug in 4.8.4 on my computer.
Kmail2 dont offer all possible email addresses as completion suggestions.
That feature worked fine in kmail1.
In my opinion that is a basic feature for a mail-program, isn't it?

Fedora 17, KDE 4.8.4
Comment 5 Pal Körössy 2012-11-16 11:32:38 UTC
Works for me in 4.9.3
Comment 6 Bernd Oliver Sünderhauf 2012-11-16 14:56:03 UTC
Works fine here, too. Tested both with a standard contacts resource and with a vCard folder on 4.9.3. However, this might be subject to specific circumstances.

@Gunter: Can you still reproduce the bug you reported?

@Stefan: Would you please try to describe your case more specificly, so we can try to reproduce the exact circumstances leading to this bug?
Please add a new contact with multiple email addresses and tell us if the bug happens there just as well. Also, please try creating a new addressbook resource and see if the bug goes away.
Thank you in advance!
Comment 7 Gunter Ohrner 2012-11-25 15:38:59 UTC
I'm currently using KDE 4.9.3 and at the moment kMail does not provide any address completion at all, besides searching the "recently used" address list.

I had Nepomuk disabled completely for quite some time, as it consumed so much memory my computer was not usable any more while it was active and it was pretty bug-ridden until KDE 4.9, so address completion could not work.

I recently enabled it again in KDE 4.9 and with a slightly upgraded RAM in my notebook, but address completion unfortunately still does not work. (Nepomuk is running, but file indexing and mail indexing are still disabled for performance reasons and the always-reindexing-files-with-non-ASCII-characters-in-names Bug 305903 .)

I had not had the time and nerve to have a closer look at this problem so far, but would be grateful for any pointers nonetheless...
Comment 8 Bernd Oliver Sünderhauf 2012-11-25 19:03:37 UTC
Nepomuk might possibly be the key.
Less than a week ago, this worked fine on my install, but now I'm experiencing just the same as Gunter: kmail doesn't provide any addressbook items on address completion.
Interestingly, for some reason, file indexing does not work in spite of being enabled, while the email indexer is on.
I've no idea why Nepomuk doesn't run anymore, but will try to find out more about it.

@Gunter: Would you please try enabling Nepomuk file indexing to check if address completion simply depends on the indexer being enabled? Thanks in advance!
Comment 9 Gunter Ohrner 2012-12-01 09:08:20 UTC
I tried to, but Nepomuk / Strigi / Virtuoso / Whatever has now been working for several days, severly hampering system performance (although its running "nice"d) and I had not the slightest idea when it would finish, so I disabled it again - I need my system for work, so waiting several additional days for the indexing to finish while all other operations are significantly slowed down is not an option, sorry. :-(
(According to the systray applet, even indexing trivial files like tiny .txts or .icos takes about 2 seconds, which means running at 100% cpu usage for several days or longer if more complex files need more time.)

At least while the indexer was running, mail address completion still did not work.

Maybe my whole Nepomuk stuff is completely messed up, I don't know.
Comment 10 Bernd Oliver Sünderhauf 2012-12-01 09:18:31 UTC
(In reply to comment #9)
> At least while the indexer was running, mail address completion still did
> not work.
On my system, both worked again after a restart. Anyway, we both deviated from the more specific original report. :)

> Maybe my whole Nepomuk stuff is completely messed up, I don't know.
That might be. It still seems to be buggy, or at least not rock-solid. I guess we need to know more about the Nepomuk stuff to get this tracked down. :/
Comment 11 Gunter Ohrner 2012-12-06 21:11:01 UTC
Mh - I did nothing else besides what is written above, but address completion does work now. I completely disabled Nepomuk indexers again, only "semantic services" is still enabled.

Please don't ask me why it works now and did not before - for several months, at least...

Auto-completion of users who have multiple addresses also works fine now.

"Not rock solid" seems to be a pretty accurate description of this behaviour... ;)