catfish --path=%f doesn't work. Catfish 1.4.10 Thunar 1.8.9 Arch Linux.
catfish %f the same.
I think this is not a passed option fault. The search is pretty broken since the commit 5cd2f114. It appears that 'walk' method cannot find directories or anything that is directly in the selected directory. If you experienced a situation that files start being found seemingly randomly then they are most likely found by 'locate' method. You may have found another bug but please try the attached patch.
Created attachment 9199 proposed_patch
Ok, I would like to retract the patch I posted, I did not test it well enough. Somewhere in between testing the locate database was updated and it appeared to me that the files started being found. I had to force disable locate to notice the error. The patch only makes regular directories to appear consistently. Files located directly in the selected search dir will still be missing. I will try to take a second look when I have time this week. 2 side-notes: - bug #16233 is probably a duplicate - someone on reddit seems to have noticed the same behavior: https://old.reddit.com/r/xfce/comments/dxkj1i/catfish_cant_find_files_within_subfolders/
Created attachment 9294 proposed_patch_v2 I am attaching a fixed patch - this time files in the root dir should not be ommited
Created attachment 9295 proposed_patch_v3 I selected wrong patch in the previous post, this time it should be good -.-
Created attachment 9296 simplify_patch I was also wondering about the possibility to simplify the traversal and as a result I prepared a patch that removes the get_root_list() method in favor of including it in the os.walk() call. The prioritization an excludes still work.
Thanks for the patches. Applied at: https://git.xfce.org/apps/catfish/commit/?id=f7f0aa648b8b75d096f1505a392ab6038a538be6 https://git.xfce.org/apps/catfish/commit/?id=c84dcd085f5aa505c13ccc7a3f128943876658c4 I also fixed a path user expansion issue here, which should fully resolve this issue. https://git.xfce.org/apps/catfish/commit/?id=6ed6b427422f5d0433ba58a86c1775c770aa80fd