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 683506 - remove places and devices section
remove places and devices section
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-06 15:20 UTC by William Jon McCann
Modified: 2012-09-16 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ViewSelector: remove the places & devices search provider (26.68 KB, patch)
2012-09-06 15:37 UTC, Giovanni Campagna
committed Details | Review

Description William Jon McCann 2012-09-06 15:20:32 UTC
We still have a Places & Devices section in the search results. Now that we have nautilus search in addition to Documents search it is just too much to also have the Places stuff.
Comment 1 Giovanni Campagna 2012-09-06 15:37:41 UTC
Created attachment 223663 [details] [review]
ViewSelector: remove the places & devices search provider

Remove the PlacesManager, its search provider and all associated code.
Places search is now provided by nautilus using the external search
provider API.

This is the invasive version. It's a good cleanup and removes unneeded
stuff from the compositor main loop, but it breaks extensions relying on
it (I have two...)
Comment 2 Florian Müllner 2012-09-06 16:06:15 UTC
Review of attachment 223663 [details] [review]:

Untested, but looks good anyway; my only worry would be if external mounts actually show up in nautilus search results  (they didn't last time I checked), not breaking extensions - IMHO it's the price extension authors have to pay for having access to everything rather than a selected API ...
Comment 3 Florian Müllner 2012-09-06 16:06:18 UTC
Review of attachment 223663 [details] [review]:

Untested, but looks good anyway; my only worry would be if external mounts actually show up in nautilus search results  (they didn't last time I checked), not breaking extensions - IMHO it's the price extension authors have to pay for having access to everything rather than a selected API ...
Comment 4 Giovanni Campagna 2012-09-13 22:32:45 UTC
I've seen some passing by commits to extend the nautilus search provider to show "places", but it doesn't work here, so I'm putting this on hold for now.
William, can you update the bug when it's implemented in Nautilus? Thank you!
Comment 5 Cosimo Cecchi 2012-09-14 17:23:55 UTC
Giovanni: XDG folders should all be returned as part of the nautilus results, and it works fine here.
External mounts are not returned right now, but I think we could easily add that to the Nautilus search provider if it's desired.
Comment 6 Giovanni Campagna 2012-09-14 17:41:44 UTC
Well, if we remove places&devices in favour of nautilus, but nautilus doesn't include devices or remote mounts it would be a regression, I think.
Comment 7 Cosimo Cecchi 2012-09-14 17:43:47 UTC
(In reply to comment #6)
> Well, if we remove places&devices in favour of nautilus, but nautilus doesn't
> include devices or remote mounts it would be a regression, I think.

I'll update the Nautilus search provider to include those then, and update the status of this bug when it's implemented.
Comment 8 Cosimo Cecchi 2012-09-14 21:07:04 UTC
(In reply to comment #7)

> I'll update the Nautilus search provider to include those then, and update the
> status of this bug when it's implemented.

This is now implemented on the Nautilus side.
Comment 9 Giovanni Campagna 2012-09-15 00:36:11 UTC
(In reply to comment #8)
> (In reply to comment #7)
> 
> > I'll update the Nautilus search provider to include those then, and update the
> > status of this bug when it's implemented.
> 
> This is now implemented on the Nautilus side.

Thank you! I sent a heads up to r-t and docs, and then I'll proceed with the removal on the shell side.
Comment 10 Giovanni Campagna 2012-09-16 17:03:33 UTC
Attachment 223663 [details] pushed as f39098a - ViewSelector: remove the places & devices search provider