After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596439 - Highlight matches when searching
Highlight matches when searching
Status: RESOLVED DUPLICATE of bug 598500
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks: gnome-shell-2-28
 
 
Reported: 2009-09-26 15:47 UTC by Owen Taylor
Modified: 2009-11-12 23:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2009-09-26 15:47:54 UTC
It can currently be hard to figure out why applications are showing up in search results.

 - We should highlight the matched text in some fashion (bold, like Google search results is probably good)

 - It would be good to try and always show the match and not ellipsize it out of existence. This is actually pretty hard to do well. Would require C code that dug into the PangoLayout, etc. But since most of our descriptions aren't longer than twice the available space, there's a quick hack - see if the match is in the first half or second half of the string and set the text item to ellipsize a the end or the beginning.

 - If the match is on something that we aren't currently showing (like a menu category - see bug 596436) we should show it. Not sure how to squeeze it in best - replacing the description is probably a bad idea. For category maybe - if it's the match - add it after the name with a dash 'Iagno - Games'.
Comment 1 Dan Winship 2009-11-12 23:22:44 UTC

*** This bug has been marked as a duplicate of bug 598500 ***