lin-ycv / EverythingPowerToys

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

🐛 Everything native modifiers do not work #101

Closed bropines closed 3 months ago

bropines commented 4 months ago

Flight Check

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Activate PT Run
  2. Enter a query consisting of two modifiers like folder:wfn:rai
  3. No result (Everything works in the application, screenshot below)

Expected behavior It displays everything as in the everything application

Screenshots image

Version:

lin-ycv commented 3 months ago

@bropines whsat is wfn:? if it's a custom filter where did you define it? if in Everything, you'd need to used 1.5a if in settings.toml, this is a known bug #97 which has been fixed source, just not released yet, waiting for PT 0.81.

lin-ycv commented 3 months ago

new Version is published, this issues should now be fixed

bropines commented 3 months ago

@bropines whsat is wfn:? if it's a custom filter where did you define it? if in Everything, you'd need to used 1.5a if in settings.toml, this is a known bug #97 which has been fixed source, just not released yet, waiting for PT 0.81.

Sorry. Git didn't notify me of your reply. I took it from the documentation Everything

image

lin-ycv commented 3 months ago

that is the default behaviour, not sure why a filter/modifier is needed for that image

bropines commented 3 months ago

that is the default behaviour, not sure why a filter/modifier is needed for that

I just needed to find at least one word that would be in the title and not contained in it. And this flag allows it to be done (nowfn does what it does by default. Some fool wrote the documentation). Also, either I’m a fool, or the skis didn’t work

image

lin-ycv commented 3 months ago

so the issue is that you've enabled regex and match patch, these options changes the behaviour and search paramemters, causing the modifier to not work correctly

image

if you need native modifers like wfn: regulary, you can disable match path and regex in the settings, and enable them on a per search bases by including \ in the query for match path, and regex: for regex

test and let me know if it works, also v0.81.0 have some issues, i'd recommend you to revert update to 0.80.0.1

bropines commented 3 months ago

Yep, work! Or maybe for such modifiers you can separately write a command like m: ?

image

Upd. Although I just thought it would make zero sense.

lin-ycv commented 3 months ago

Read the explanation by void here, it's about match path and regex, but same concept applies here. https://www.voidtools.com/forum/viewtopic.php?t=15092

So there not much I can do here, since the actual search is dealt by everything and not EPT

I could implement something like m:wfn: but I think that might start introducing weird behaviour different from everything. I think the best option is to have the same default settings as everything, so there aren't any confusions for users.