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 474660 - deskbar: live tracker search also activates non-live search
deskbar: live tracker search also activates non-live search
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-09-07 20:27 UTC by Peter Van den Bosch
Modified: 2007-09-12 20:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
remove additional t-s-t match for live searches (2.16 KB, patch)
2007-09-11 13:03 UTC, Marcus Fritzsch
none Details | Review

Description Peter Van den Bosch 2007-09-07 20:27:11 UTC
Please describe the problem:
When activating the live tracker search plugin in deskbar, the 'search with tracker search tool' result is also always displayed

Steps to reproduce:
1. In deskbar preferences, activate the Tracker Live Search plugin while tracker search tool plugin deactivated
2. search for something


Actual results:
both tracker search results as well as 'search with tracker search tool' are displayed in results. Search tool is given the highest order in the results, while live tracker results are always the last ones.

Expected results:
only live tracker search results displayed; search tool can be activated separately. Order of both results can be configured.

Does this happen every time?
yes

Other information:
Comment 1 Marcus Fritzsch 2007-09-07 23:57:05 UTC
Hi,

the additional static 'search with t-s-t' is actually a feature. The intention was to provide a fast way to do a more thourough search instantly, as deskbar applet shows only a _really_ limited number of results.

So the 'search with tracker search tool' handler is not enabled but used. (but can be used separately from the live search!).

Jamie, shall i fix that or was it reasonable being added additionally to the live search?

Cheers, Marcus
Comment 2 Peter Van den Bosch 2007-09-08 12:33:18 UTC
I understand your reasoning, but the problems I have with it are:
1. I want to be able to put the live results in a higher order in the list of search results. This isn't currently possible. 
2. When I use the deskbar and the results aren't listed (too many results), I make my search query more specific. This is probably quicker than going through all the other search results anyway. It is shown that this is the way many people use google; they don't go to a second page of results.

Maybe a better way to show that there are more search results available, would be to display a deskbar result 'see more search results'. E.g. when there are more than 10 email results from tracker, the last deskbar result under the email category could be the 'see more email search results' action, which would bring you to the 11th to 20th results in the tracker-search-tool. This would minimize the work for the user to be redone when there are too many search results.
Comment 3 Marcus Fritzsch 2007-09-11 13:03:04 UTC
Created attachment 95345 [details] [review]
remove additional t-s-t match for live searches

(In reply to comment #2)
> I understand your reasoning, but the problems I have with it are:
> 1. I want to be able to put the live results in a higher order in the list of
> search results. This isn't currently possible. 
> 2. When I use the deskbar and the results aren't listed (too many results), I
> make my search query more specific. This is probably quicker than going through
> all the other search results anyway. It is shown that this is the way many
> people use google; they don't go to a second page of results.

Hm, never thought about it that way ;)

> Maybe a better way to show that there are more search results available, would
> be to display a deskbar result 'see more search results'. E.g. when there are
> more than 10 email results from tracker, the last deskbar result under the
> email category could be the 'see more email search results' action, which would
> bring you to the 11th to 20th results in the tracker-search-tool. This would
> minimize the work for the user to be redone when there are too many search
> results.

OK, that would even be possible but needs 'working around' the deskbar api and patching t-s-t. For now I'll stick and fix the primary issue.

Thanks, Marcus
Comment 4 Jamie McCracken 2007-09-12 20:27:48 UTC
Fixed in svn