Bug 304871 - Show "Name <name@example.com>" instead of just "Name" in recipient selection dialog
Summary: Show "Name <name@example.com>" instead of just "Name" in recipient selection ...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.9.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 17:48 UTC by Peter Wu
Modified: 2021-10-20 03:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wu 2012-08-09 17:48:39 UTC
When a contact does not have a name attached on the mail, an empty row shows up in the "Select Recipient" dialog. This makes it hard to find a email address without moving the mouse over a row to open a tooltip.

Another use case is when a contact lists only the name instead of the full name. When there are multiple "Bob" s in the contact list, one currently has to hover over each entry, degrading productivity.

The "Select Recipient" dialog can be opened by opening the composer and hitting the "Select..." button next to the To/Cc/Bcc fields.

Feature request: change the row to include the email address.

Reproducible: Always

Steps to Reproduce:
1. Open the composer ("New Message")
2. Click the "Select..." button
3. Look at the rows
Actual Results:  
case 1: Some rows are empty because there is no name.
case 2: Some rows contain duplicate names, e.g. "Bob".

Expected Results:  
There should be an email address so that the correct address can be quickly picked, such as "Bob <bob@example.com>"
Comment 1 Laurent Montel 2012-10-02 11:19:27 UTC
Git commit b7186ea7ced3083b7665b00035803aea1e51b3d6 by Montel Laurent.
Committed on 02/10/2012 at 13:18.
Pushed by mlaurent into branch 'KDE/4.9'.

Fix Bug 304871 - Show "Name <name@example.com>" instead of just "Name"

in recipient selection dialog

FIXED-IN: 4.9.3

I just add family name when name is empty or emails.

M  +6    -0    akonadi/contact/contactstreemodel.cpp

http://commits.kde.org/kdepimlibs/b7186ea7ced3083b7665b00035803aea1e51b3d6