Files filter doesn't seem to be working
paul1149 opened this issue · 7 comments
Describe the bug
If I specify "Files" in the Filter dropdown, both files and folders in the path are hit.
To Reproduce
Steps to reproduce the behavior:
- Specify Files (regex are not enabled)
- Search for "sh" without quotes (throughout)
- All manner of hits without "sh" in the filename result, with "sh" shown bolded in the path
Expected behavior
I expected only files with "sh" in their filename to show.
Desktop (please complete the following information):
- OS: MX Linux 23
- How you installed FSearch: Repo
- Version 0.2.3
- Output of
localectl status
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Thanks!
This sounds like you have Search in Path
enabled, where this is the expexted outcome.
I wasn't sure what path did, I thought it confined the search to the system path. But in any case, no it is not enabled. I do have the general search option "search in path if path delimiter is included in search" enabled, but that shouldn't be relevant here[1]. Here are shots of the filter parameters and of the search output.
[1] just double checked with this option disabled, same result, no change.
Can you post a screenshot of the statusbar below the search output?
You have both Regular expressions
and Search in path
enabled globally, that's why you get results which also match the full file path. To disable that see the Search
menu item or you can also toggle them on and off with Ctrl-R
and Ctrl-U
.
Ah, sorry. I had forgotten about those options in the menu. I thought the preferences had everything. As soon as I disabled them I got the results I expected. THANKS MUCH, and GREAT PROGRAM!
No problem. 👍