lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.2k stars 57 forks source link

🐛 exact: filter does not work with spaces #117

Closed mike406 closed 2 months ago

mike406 commented 2 months ago

Try something like exact:"Program Files" it does not work but is valid when searching in Everything directly

lin-ycv commented 2 months ago

Not sure where the issue is, I'll have to find some time to debug image

mike406 commented 2 months ago

It's something with setting Everything_SetMatchPath(true); on line 45 in Everything.cs. I commented that line out and exact searches work with quotes around them, so there is a conflict there with enabling that setting.

Edit: The behavior is the same in Everything's GUI if you enable Match Path and try to use exact: the results are blank so this is definitely where the issue is image

image

mike406 commented 2 months ago

Sent a PR for your review, thanks!