desktop-entry-spec: Add an optional Keywords key

Florian Müllner fmuellner at gnome.org
Fri Dec 2 11:13:48 PST 2011


On vie, 2011-12-02 at 13:45 -0500, Shaun McCance wrote:
> True, if you really need to get at the individual items and treat
> them as distinct tokens. But do you really need to do that when
> you're doing a text search? If I type "mouse", I'd expect it to
> match any of these:
> 
> * Mouse;Touchpad;Trackpoint;Keyboard;
> * Mouse, Touchpad, and Trackpoint;Keyboard;
> * Mouse and Touchpad;Trackpoint;Keyboard;
> * Mouse,Touchpad,Trackpoint,Keyboard
> 
> That they're split into a list isn't really interesting. If I'm
> doing a text search, all I care is that "mouse" is somewhere in
> there.

I mostly agree. However, in GNOME Shell we prefer prefix matches over
substring matches, so when typing "touchpad", results for the first
option get a better rating than results for the other options.


Regards,
Florian



More information about the xdg mailing list