lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.37k stars 61 forks source link

🐛 Query Prefix being prepended to query after navigating results with arrow keys (prefix stackes) #140

Open SVNKoch opened 4 days ago

SVNKoch commented 4 days ago

Is your feature request related to a problem? Please describe. I have a Query Prefix defined. And Query Text Disabled, I would therefor assume that my input query is not changed. When I search for "? ext:png" with "?" being my Search symbol, I get some results. Now I'm using the arrow keys to find what I'm looking for. When I now notice that it is not part of my list I may decide to change the query, however by now my query is super long as navigating with my arrows keys prefixed the Query Prefix to the search.

Describe the solution you'd like An Option to disable above behaviour => I can navigate with arrow keys and my input stays as "? ext:png".

Describe any research you've done Try with and without the option Query Text

Additional context v0.86.0.0

lin-ycv commented 3 days ago

OK, i see the issue you're talking about, this isn't the intended behaviour error

The solution is as simple as loggin the query into orgqry before appending the prefix, will fix for next release. https://github.com/lin-ycv/EverythingPowerToys/blob/3c17b310da14f2cde9e56be6244c460eda5dfb1d/Everything.cs#L57-L60