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 399754 - Use meaningful tags for the CC shell filter
Use meaningful tags for the CC shell filter
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-23 12:06 UTC by Michael Monreal
Modified: 2010-11-17 16:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Michael Monreal 2007-01-23 12:06:03 UTC
Right now, the filter in the CC shell only looks for the query string in the Name= property of the .desktop files. What this means is, that a search will only give the wanted result if the query string is part of the name. This can potentially save time for people who know the name of the capplet, but is not very helpful for those users who don't know where the setting they are looking for is hidden.

Users who are not very experienced with GNOME are most likely to use the filter feature I think. But they don't think "I want to change my refresh rate, so let's query for "Screen resolution". They will search for "refresh rate" and the query will result in "no matches found", leading to the impression that he can't change the refresh rate.

To solve this problem it would be nice if the filter also looked for a list of tags that each capplet can provide, something like this:

X-GNOME-Tags[en]=refresh;rate;screen;resolution
X-GNOME-Tags[de]=bildwiederholungsraterate;bildschirm;auflösung
...

We just need to make the filter aware of this new property and add meaningful lists of tags to every .desktop file.
Comment 1 Denis Washington 2007-01-31 10:38:41 UTC
Maybe this could be also solved by also searching the .desktop entry's Comment (if it is meaningful, but those could be tweaked).
Comment 2 Michael Monreal 2007-01-31 18:39:42 UTC
We had a talk about this already. Of cause Comment= should also be searched but it is not enough. To make this search meaningful you need to include virtually any tag a user could think about when searching for a given function.
Comment 3 Bastien Nocera 2007-02-15 16:11:14 UTC
From Dave Malcolm in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227238:
---8<---
Launch control-center, click on Filter and start typing "compiz"
At "com" and beyond: get "No matches found" etc

Looks like it's only searching the explicit text for the items.  It should
search inside various synonyms etc, so e.g. "compiz" should match "Desktop Effects".

Similarly:
- "wallpaper" matches nothing; it ought to match "Desktop Background"
- "accessibility" only matches "Keyboard accessibility"; it ought to also match
Assistive Technology
- "a11y" matches nothing; should match the ones above
- "software" matches nothing: should match a launcher for "Add/Remove Software"
- "browser" matches nothing: should match "Preferred Applications"
- "terminal" matches nothing: should match "Preferred Applications"
- "mail" matches nothing: should match "Preferred Applications"
etc 

Should also be "Search" not "Filter"

"disk" matches nothing; should match "Removable Drives"

---8<---
Comment 4 Bastien Nocera 2010-11-17 16:03:19 UTC
commit 032d6326d5965f02c60949adb52cf82558a1ae86
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Nov 17 15:55:58 2010 +0000

    panels: Add keywords to all the panels we ship
    
    https://bugzilla.gnome.org/show_bug.cgi?id=399754