Contact Picker - Search string not highlighted in contact names

Bug #551580 reported by John Lea
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Alejandro J. Cura

Bug Description

In response to each letter being typed, the search sting should be highlighted in contact names. e.g. If I have a contact named "joe blogs" and I type "o" into the search field the letter "o" should be instantly made bold in the name ("jOe blOgs"). See specification (step 8 of primary scenairo) -

Related branches

John Lea (johnlea)
Changed in ubuntuone-client:
assignee: nobody → Rodrigo Moya (rodrigo-moya)
tags: added: u1-maverick
removed: u1-lucid
John Lenton (chipaca)
Changed in ubuntuone-client:
assignee: Rodrigo Moya (rodrigo-moya) → nobody
Changed in ubuntuone-client:
status: New → Confirmed
tags: added: contacts-picker desktop+
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Revision history for this message
dobey (dobey) wrote :

I think we probably want to only actually do a search when 3 characters have been typed in. Most software that does automatic search behaves this way (waiting for 3 characters), as single character searches often end up matching nearly every entry in one's contacts list.

There is of course exception to this rule for languages such as Mandarin, where a person's name may be only one character.

Revision history for this message
dobey (dobey) wrote :

Oh, and perhaps hilighting the characters in one's name might be overkill, given that we're also filtering down the list to only show those which match the search. So you will know all results in the list match that.

Also, what happens for matching on nicknames or other data, not directly in the view of contacts. Suppose I want to search for "all people in London" or 'all Canonical employees' for example?

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Yes, we perform the search looking at all fields in the contacts, so if you search for 'canonical', there would be nothing to highlight in most contacts (only if you have some contact with the 'canonical' name on it, like a mailing list)

Revision history for this message
John Lea (johnlea) wrote :

As far as I am aware the standard 'incremental search' behaviour is to search on each letter including the 1st & 2nd letters. For examples see:

- sending a new message on facebook
- searching in a browser using Ctrl+F
- Spotlight on OSX
- Instant Search in Microsoft Vista and Windows 7

(for further background wikipedia provides, see

Although typing a single letter will rarely produce a useful result, the actions that are performed as a result of the letter being entered (moving selected contacts to the top left, highlighting the letter in names, updating the result count, etc...) start to give the user a 'tactile' feeling of the result set being narrowed. Different behaviours on the 1st and 3rd letters being typed would also make the experience feel very disjointed.

Revision history for this message
dobey (dobey) wrote :

OK, I'll let that pass, but it doesn't resolve the other issues. :)

Changed in ubuntuone-client:
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Alejandro J. Cura (alecu)
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Fix available in ubuntuone-client-1.3.5

Changed in ubuntuone-client:
status: Confirmed → Fix Released
Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Letters are highlighted as expected in ubuntuone-client 1.3.5-0ubuntu1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.