gtk+ filechooser should use meta-tracker for searching

Bug #132013 reported by Jeff Fortin Tam
14
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: libgtk2.0-0

gtk 2.12 has a "search" area in the FileChooser.

Since ubuntu 7.10 alpha 4 ships with meta-tracker search and metadata indexer by default, the GTK file chooser should be using it just like nautilus uses it.

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. It does use it if it's available at runtime

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Nah, it doesn't work, there is something wrong. I use only the packages coming from gutsy's official repositories (well, main and universe), so no hacks on my side.

However, when I search for "pingouin" in t-s-t or tracker-enabled nautilus, I get two files returned instantly (one .pdf and one .odt).

Trying to search "pingouin" in the gtk file chooser scratches the hard drive like mad for a few seconds and returns nothing. Does not sound like it actually uses tracker in that case.

Changed in gtk+2.0:
status: Invalid → New
Revision history for this message
yostral (y-o) wrote :

I don't really know if it works or not. I can't hear the HDD scratching, it's very fast (<1s), but results are only from Home, and not from all the tracker's "Watch directories". And it doesn't show the text files containing the word you're searching, like tracker indexed them. So if it's associated, it's a different behavior...

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

I tested this on my laptop, and it actually works. But the bug is still present on my desktop. Both computers are of similar use (the desktop only has more files overall), and tracker was installed the same way on both.

Is there ways I can provide you with more information to fix this please?

Revision history for this message
Michael Kuhn (suraia) wrote :

This is probably due to a bug in GTK's Tracker search engine that is now fixed in the development version.
It would be nice if the following patch could be applied to the Ubuntu package of GTK until a new version is released.

Bug report: http://bugzilla.gnome.org/show_bug.cgi?id=478173
Patch: http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtksearchenginetracker.c?r1=18219&r2=18846&view=patch

Revision history for this message
Sebastien Bacher (seb128) wrote :

gtk+2.0 (2.12.0-1ubuntu1) gutsy; urgency=low

  * Sync with Debian
  * debian/libgtk2.0-0.postinst.in:
    - updated transition version
  * debian/patches/090_from_svn_fix_tracker_use.patch:
    - patch from SVN, dlopen the correctly library name (LP: #132013)
  * debian/patches/series:
    - use 091_workaround_no_gtk_init_incorrect_display.patch change

 -- Sebastien Bacher <email address hidden> Wed, 19 Sep 2007 09:39:30 +0200

Changed in gtk+2.0:
status: New → Fix Released
Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

When https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/150379 was resolved as "Fix Released", that made the "Fix Released" status of this bug incorrect.

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

It appears that Tracker integration now works again, so please ignore the previous comment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.