https://bugs.kde.org/show_bug.cgi?id=328777
Bug ID: 328777
Summary: Photo search for contact email should be
case-insensitive
Classification: Unclassified
Product: kmail2
Version: 4.11.3
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: UI
Assignee: [email protected]
Reporter: [email protected]
Some themes for the header of the messageviewer show a photo of the sender
inside the message viewer if the contact is known to akonadi. This does not
work, if the address in the From: field of the email has other spelling in
terms of upper and lower case characters than the email in akonadi's contacts.
E.g. akonadi knows [email protected] and the From: field contains
[email protected] ==> no photo is shown.
This is easy to fix, just modify line 33 in
kdepim-4.11.4/messageviewer/header/contactdisplaymessagememento.cpp:
- searchJob->setQuery( Akonadi::ContactSearchJob::Email, emailAddress )
+ searchJob->setQuery( Akonadi::ContactSearchJob::Email, emailAddress,
Akonadi::ContactSearchJob::StartsWithMatch );
However, the default behavior of this function, i.e. using Match::ExactMatch to
find contacts based on emails is strange at all.
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs