GNOME Bugzilla – Bug 616548
DIrectory lists and de-duplication in tracker-preferences
Last modified: 2010-05-05 16:31:11 UTC
If you have in tracker-miner-fs.cfg IndexRecursiveDirectories=&DESKTOP;&DOCUMENTS;&DOWNLOAD;&MUSIC;&PICTURES;&VIDEOS; And one of these directories happens to be the $HOME, and thus a parent of all the other directories (*), then tracker_path_list_filter_duplicates() will remove everything else, and in the tracker-preferences UI you'll just see /home/<username>, which is very confusing. (I suppose it could be considered a feature that it shows a simplified version of what is is going to actually do, but I think the confusion very much outweighs this. I think tracker-preferences needs to load the preferences in some way that doesn't do the filter_duplicates() step. (*) By accident I ended up with DOWNLOAD pointed to $HOME, but DESKTOP pointed to $HOME is probably more common.
That's the same bug as https://bugzilla.gnome.org/show_bug.cgi?id=614610, with better explanation.
*** Bug 614610 has been marked as a duplicate of this bug. ***
This bug is now fixed in master, this is twofold: 1) If a recursive directory is also in IndexSingleDirectories, the latter prevails. In this case, it would avoid full home indexing just because the downloads dir happens to be $HOME 2) tracker-preferences now shows the unfiltered list, so there's a 1:1 mapping with the configuration file.