microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.55k stars 6.51k forks source link

Wrong result order in powertoys run #27520

Open thefasquelle opened 1 year ago

thefasquelle commented 1 year ago

Microsoft PowerToys version

0.71.0

Installation method

GitHub, PowerToys auto-update

Running as admin

No

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. On a machine with Process Explorer along with TortoiseSVN and/or TortoiseGit installed.
  2. Search for "procex" in powertoys run
  3. all TortoiseSVN/Git shortcuts shows up first, followed by procexp64.exe at the bottom of the list

image

I think the issue is that tortoise executable ends with Proc.exe. Even if "proc.exe" is a valid result for "procex" querry, I think "procexp64.exe" should be the first result because it is closer to what I typed (litteral match, no missing character). I was unabled to reproduce it with simple text files though.

Similarily, by typing "proce", the first results are the ones that resemble the less with what I typed (many missing characters) image

✔️ Expected Behavior

procexp.exe or procexp64.exe shows at the top of list

or more genereally : The result that resembles my querry the most shows at the top of the list

❌ Actual Behavior

all TortoiseSVN/Git shortcuts shows up first, followed by procexp.exe at the bottom of the list

or more genereally : The result that resembles my querry the most shows at the bottom of the list

Other Software

No response

thefasquelle commented 1 year ago

have been fixed somehow

thefasquelle commented 11 months ago

While I don't have the specific issue with tortoiseproc.exe and procexp.exe anymore, the wrong result order is still an issue. Here are a few example image (i don't even understand how "WordPad" can be a valid result for "dal" since there is no "l")

image

image

image

R4ygen commented 10 months ago

Looks like a similar issue to #24870