Roundcube Community Forum

 

Contacts with multiple emails are shown many times

Started by grpprod, December 25, 2012, 02:27:09 PM

Previous topic - Next topic

grpprod

I have noticed something that may need improvement. When a contact has multiple emails, and when composing a new mail, this contact is shown as many times as its email addresses. Perhaps this need some kind of improvement. At the moment only when hovering over each entry shows the email address. But this is not very intuitive especially for users with little computer experience (eg. older people).

ABerglund

I don't know what version Roundcube you are using, but in the latest release (0.8.4) this is configurable in the main.inc.php file.
// Skip alternative email addresses in autocompletion (show one address per contact)
$rcmail_config['autocomplete_single'] = false;


Just change that entry to 'true'.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Yoni

Quote from: ABerglund on December 25, 2012, 04:22:42 PM
I don't know what version Roundcube you are using, but in the latest release (0.8.4) this is configurable in the main.inc.php file.
// Skip alternative email addresses in autocompletion (show one address per contact)
$rcmail_config['autocomplete_single'] = false;


Just change that entry to 'true'.
I believe he was referring not the autocomplete feature (which in fact shows <contact name><email address>) but to the addressbook in the compose window (left hand side in a compose window).

Even when it might not be optimal (visually) the autocomplete feature takes care of this by displaying the contact name and the email address all together.


grpprod

That's right. I know that it is dealt with autocomplete, but it might cause a confusion. Perhaps the user will think she did something wrong, and will try to remove 'duplicate' entries. She will then be surprised to find out she removed some email addresses she can't find elsewhere...

It just was my understanding that RC is mature enough now to avoid presenting such ambiguities. I am not a programmer myself (at least not anymore) but it seems something very simple to fix.

grpprod

#4
I have noticed that in git version, there are still multiple entries shown but at least they have the email address next to them. I was wondering if there is an easy way (hot having to change the core I mean) to do this in my 0.8.4.

JohnDoh

well you'd have to change the core... unless you wanted to write a plugin just to change the contact list - changing one file in the core is going to be quicker! this is the change that did it https://github.com/roundcube/roundcubemail/commit/83f2f6bb6584fe15bd6834f161ccf2dc8c97ee77 though i have not checked if it replies on any other change which is not in the 0.8 branch just looking at what was changed i do not belive that it does.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

grpprod

it seems to work fine. thanks. what is the change in mail.css for? I have noticed that only the change in list_contacts.inc gives the desired result.

JohnDoh

it is to style the email address in the contact list
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...