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 670643 - extension for filter files by tag(s)
extension for filter files by tag(s)
Status: RESOLVED WONTFIX
Product: tracker
Classification: Core
Component: General
0.12.x
Other Linux
: Normal enhancement
: ---
Assigned To: tracker-general
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2012-02-22 22:09 UTC by Natxo
Modified: 2015-09-02 06:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
nautilus-python extension for filtering files by tags (5.91 KB, text/x-python)
2012-02-22 22:09 UTC, Natxo
Details
extension for filter file/folders by tag (5.82 KB, text/x-python)
2012-02-24 08:00 UTC, Natxo
Details
extension for filter file/folders by tag (5.81 KB, text/x-python)
2012-03-07 16:16 UTC, Natxo
Details

Description Natxo 2012-02-22 22:09:15 UTC
Created attachment 208221 [details]
nautilus-python extension for filtering files by tags

I sent a bug to nautilus team asking for a new panel view for filtering files by tag(s), and got the follow answer:

    - the interface that allows to add tracker tags from Nautilus is not part of
    Nautilus, but it's an extension
    - we will not add any additional side pane, since we intentionally trimmed them
    down to Places and Tree for Nautilus 3.0
    - I think the best way to do what you want is from Tracker itself; if the UI
    utilities shipped with Tracker don't allow you to do this, you should file a
    bug against Tracker for it

So I've made a nautilus-python extension just for this. It's posible something like that in tracker search application?

Thanks
Comment 1 Natxo 2012-02-24 08:00:39 UTC
Created attachment 208318 [details]
extension for filter file/folders by tag
Comment 2 Martyn Russell 2012-03-07 15:38:14 UTC
(In reply to comment #1)
> Created an attachment (id=208318) [details]
> extension for filter file/folders by tag

Interesting.

How do I test this? Forgive my ignorance, but there is no Makefile.am install information and I tried putting it where they normally go ($libdir/nautilus/extensions-3.0/)
Comment 3 Natxo 2012-03-07 16:16:53 UTC
Created attachment 209184 [details]
extension for filter file/folders by tag
Comment 4 Natxo 2012-03-07 16:35:49 UTC
I've updated the file. Just copy and make executable in /home/[userdirectory]/.local/share/nautilus-python/extensions/. You need python-nautilus to be instaled.

Then in right in  background or file(s) youl get a menu item 'Etiketa iragazkia'

Sorry, I'm not a programmer, sure code may be done more clear and efficent. Also sorry because of mixed languages in classes and variables.
Comment 5 Martyn Russell 2012-03-07 17:09:31 UTC
(In reply to comment #4)
> I've updated the file. Just copy and make executable in
> /home/[userdirectory]/.local/share/nautilus-python/extensions/. You need
> python-nautilus to be instaled.
> 
> Then in right in  background or file(s) youl get a menu item 'Etiketa
> iragazkia'
> 
> Sorry, I'm not a programmer, sure code may be done more clear and efficent.
> Also sorry because of mixed languages in classes and variables.

I see yes, it works thanks.

It's a bit primitive. I don't think this sort of thing makes sense as a separate dialog but rather as a search filter in nautilus itself. This takes a slightly different approach to the normal extensions.

i.e. when you use the "Search" button, it should support tags here.
Comment 6 Natxo 2012-03-08 08:44:21 UTC
Right, you're ok, but this is the easiest way I've found to solve it. I don'tknow how to modify nautilus search box. My first idea was a new panel view for filtering files by tag(s), but don't know...
Comment 7 Martyn Russell 2012-04-03 14:34:23 UTC
Since this is not something we will be fixing any time soon, I am marking this as WONTFIX. Thanks for the time here and the tool you wrote ;)