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 707594 - Add a shell search provider
Add a shell search provider
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-09-05 20:48 UTC by Elad Alfassa
Modified: 2013-10-18 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add a search provider (22.69 KB, patch)
2013-10-18 03:30 UTC, Matthias Clasen
none Details | Review
Add a search provider (22.72 KB, patch)
2013-10-18 10:16 UTC, Matthias Clasen
committed Details | Review

Description Elad Alfassa 2013-09-05 20:48:16 UTC
It would be awesome if gnome-software had a shell search provider to allow searching available apps directly from the shell search.

(I'm filing this here so I won't forget the idea in the future. It's still way too early to implement this, I think)
Comment 1 Elad Alfassa 2013-09-11 15:54:08 UTC
From IRC:

<elad>	jimmac: hughsie asked me to investigate your opinion on having GNOME Software shell search provider
<elad>	ie. should we do it? how should it behave, etc etc
<jimmac>	elad, hmmmm
<jimmac>	not sure if it's something you need quick access to
<jimmac>	we could certainly have it, but I'm not sure if we should have it on by default
<jimmac>	you will have two competing app launchers in the result page
<jimmac>	one that activates an app, the other one activating Software's details page
<elad>	jimmac: I was thinking to have it always on the bottom, not show installed apps, and perhaps even be like Web's "search the web for..." ie. not dynamic
<elad>	so it will be "Search for $SEARCHTERM applications"
<elad>	instead of showing you the list directly in the shell
<jimmac>	elad, tht sounds much better indeed


This needs some more designer attention regarding specific details, and to decide if we actually want this
Comment 2 Allan Day 2013-09-16 10:23:32 UTC
Only returning uninstalled apps in the search provider sounds like a good idea to me. That way it serves the "you are trying to launch app X but you don't have it installed" case.
Comment 3 Matthias Clasen 2013-10-17 10:36:58 UTC
I have a prototype for this, I'll push it after the service conversion is done
Comment 4 Matthias Clasen 2013-10-18 03:30:34 UTC
Created attachment 257611 [details] [review]
Add a search provider

This commit adds a GNOME shell search provider that shows
uninstalled applications. It does not quite work yet.
Comment 5 Matthias Clasen 2013-10-18 10:16:36 UTC
Created attachment 257629 [details] [review]
Add a search provider

This commit adds a GNOME shell search provider that shows
uninstalled applications.

Clicking on the gnome-software icon in the results list brings
up the same search in gnome-software (including installed apps),
and clicking on one of the results brings up the details page
for that app, with the back button going to the search results
in gnome-software.
Comment 6 Matthias Clasen 2013-10-18 10:17:35 UTC
This basically works. The main problem is the time that it takes for gnome-software to return any results.
Comment 7 Matthias Clasen 2013-10-18 15:29:45 UTC
Attachment 257629 [details] pushed as e2c6993 - Add a search provider