Bug 1103472

Summary: GNOME shell search does not return results when searching for "Install"
Product: [Fedora] Fedora Reporter: Alan Jenkins <alan.christopher.jenkins>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: fmuellner, kalevlember, otaylor, rhughes, samkraju, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-05 14:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
"No results" screenshot none

Description Alan Jenkins 2014-06-01 09:25:23 UTC
Created attachment 901188 [details]
"No results" screenshot

Replicated https://bugzilla.redhat.com/show_bug.cgi?id=864593 on Fedora 20.  (I hit this myself as well, & just now stumbled accross the report).

Package version: gnome-shell-3.10.4-2.fc20.x86_64

On Fedora 20, finding the package kit application
via search proved somewhat difficult.

I tried the search terms, "install", "packages", "add", "remove", all returned
no results.  "update" doesn't work either.

However, a search for "Software" and "application" did result in the package
kit application did appear. 

It appears that gnome-shell search returns results from the commandname (in
this case, "gpk-application") and from the name in the desktop file (in this
case, "Software").

It does not return any results from the application description from the
desktop file (in this case, "Add or remove software installed on the system")

(The report also complains about search for "browser" not working, but in F20 this works fine).

Comment 1 Florian Müllner 2014-06-03 17:20:07 UTC
(In reply to Alan Jenkins from comment #0)
> It does not return any results from the application description from the
> desktop file (in this case, "Add or remove software installed on the system")

We used to do this, and the results were often confusing (it's obvious why "system" would match "System Monitor" or "System Settings", but "Packages"?). There is a new (optional) Keywords field that has been added to the Desktop Entry standard, which is explicitly aimed at search - gnome-packagekit should add approriate  search terms there, reassigning.

Comment 2 Alan Jenkins 2014-06-05 13:37:55 UTC
wups, actually gnome-packagekit is fine now.  But in FC20 we have gnome-software instead, and that's where the problem is.  Reassign again.

$ grep -r Keywords gnome-packagekit/
gnome-packagekit/data/gpk-application.desktop.in:_Keywords=Updates;Upgrade;Sources;Repositories;Preferences;Install;Store;

$ grep -r Keywords gnome-software/
$

Comment 3 Kalev Lember 2014-06-05 14:14:47 UTC
Thanks, I've added the same set of keywords to gnome-software as well. It's going to make it to rawhide after gnome-software 3.13.3 upstream release.

https://git.gnome.org/browse/gnome-software/commit/?id=0e0653eb08f2fc75df9309b07dbdddb9ee0e3f13