GNOME Bugzilla – Bug 495529
Search not working
Last modified: 2007-11-28 20:35:44 UTC
Please describe the problem: Edit > Search It doesn't find the .jpg Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Searching in Filesystem doesn't work while searching in specific directories work. How does the Filesystem search work? It sure can't be that fast. Is it using locate or something? That would explain...
Search under "Filesystem" is totally broken in 2.10.7, it never finds anything. There seems to be some additional weirdness that I can't quite pin down right now, when searching other locations. - Mike
Search was aborting on the first non-readable directory (e.g., bad permissions), making it useless for recursive searches starting at "/" (it would choke on "/root"). Fixed in svn rev 2056. Sara, does that fix your problem? Do you know how to test svn code? - Mike
Typo: fixed in 2057, not 2056.
(In reply to comment #3) > Search was aborting on the first non-readable directory (e.g., bad > permissions), making it useless for recursive searches starting at "/" (it > would choke on "/root"). > > Fixed in svn rev 2056. > > Sara, does that fix your problem? Do you know how to test svn code? > > - Mike > I tried testing the svn code but I couldn't. I didn't put that much time on it though. I will try to do it during the weekend and will let you know. Sara
It goes into a symlink loop. So when you search within your home directory it gets stuck inside the loop & finds infinite copies & when you are seraching as root it gets stuck in the loop before finding the file and never finds it. I think you should lstat() the directory before recursing into it to ensure that it is not a symlink.
the loop problem should be fixed now in the gthumb-2-10 branch.