Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Run] Score property and auto highlight Bug #15662

Closed
1 task done
lin-ycv opened this issue Jan 20, 2022 · 3 comments
Closed
1 task done

[Run] Score property and auto highlight Bug #15662

lin-ycv opened this issue Jan 20, 2022 · 3 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Run-Plugin Things that relate with PowerToys Run's plugin interface

Comments

@lin-ycv
Copy link

lin-ycv commented Jan 20, 2022

Microsoft PowerToys version

0.53.3

Running as admin

  • Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. Have plugin that uses delayed query and Score property to return results (ie: Everything plugin)
  2. Have multiple plugin included in global search
  3. Do a search

Bug report (probably unnecessary, but I'll include it anyways)
PowerToysReport_2022-01-20-16-23-05.zip

✔️ Expected Behavior

PowerToys Run highlights the top result regardless of when the result is returned

❌ Actual Behavior

Powertoys Run highlights the top result for the first set of results, any delayed results that gets inserted at the top is ignored
Untitled Project

Additional Comment

I've noticed that all the packaged plugins don't use the score property, maybe we can better utilize this?
if the user can set a value in the settings for each plugin as the plugin order factor, it'd solve the requests for re-ordering results like #15655 and #3169

I'm imaging it'd work like this:

  1. In settings page, user can set a value for each plugin, like A:5 B:9
  2. When returning results, the score value would be user value + plugin result score, ie: A results: 5x100+x, B:9x100+y
  3. This would order B results in-front of A results, because of the larger score value
    There would still need to be some logic to deal with delayed results tho.

Other Software

Everything 1.4.1.1009
Everything Plugin 0.2.0

@lin-ycv lin-ycv added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 20, 2022
@lin-ycv lin-ycv changed the title [Run] Score property and auto highlight conflict [Run] Score property and auto highlight Bug Jan 20, 2022
@Jay-o-Way Jay-o-Way added the Run-Plugin Things that relate with PowerToys Run's plugin interface label Jan 21, 2022
@franky920920
Copy link
Contributor

Duplicate of #13310

@franky920920 franky920920 marked this as a duplicate of #13310 Jan 23, 2022
@franky920920
Copy link
Contributor

Issue is a duplicate

Thank you for your issue! We've linked your report against another issue to centralize the thread.

Thanks for helping us to make PowerToys a better piece of software.

@franky920920 franky920920 added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Jan 23, 2022
@ghost
Copy link

ghost commented Jan 24, 2022

This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes.

@ghost ghost closed this as completed Jan 24, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Run-Plugin Things that relate with PowerToys Run's plugin interface
Projects
None yet
Development

No branches or pull requests

3 participants