microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.51k stars 6.45k forks source link

PowerToys Run Too Slow #15190

Open thejoshtaylor opened 2 years ago

thejoshtaylor commented 2 years ago

Microsoft PowerToys version

0.51.1

Running as admin

Area(s) with issue?

PowerToys Run

Steps to reproduce

Type quickly in the power toys run box and hit enter

✔️ Expected Behavior

Top result of final query to start, or do whatever it's supposed to.

❌ Actual Behavior

Whatever is selected last as I'm typing (first half of the query) is executed instead of the result of the final query. I have to slow down before I hit enter if I want the top result to run, even if I know what it's going to be based on my query.

Other Software

No response

crutkas commented 2 years ago

/reportbug

ghost commented 2 years ago

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

crutkas commented 2 years ago

try removing windows search plugin from global. image

thejoshtaylor commented 2 years ago

PowerToysReport_2021-12-28-12-13-34.zip

This is an issue on every instance of PowerToys (3 different devices) that I have used, and every version that I have used.

I also still want to use windows search.

thejoshtaylor commented 2 years ago

https://user-images.githubusercontent.com/38962862/147607167-aec50f60-22fd-4f25-97c6-36e1558943d0.mp4

You can see in this video that I went to type "ex", to run excel. Autodesk Eagle started up, as that is my first result for the query "e". I recognize that this is not a common issue as I do type relatively fast and I use short queries, but it still sometimes opens large applications when I try to start something small and it takes an excessively long time.

Deactivating windows search from global results did not change the outcome of this process.

htcfreek commented 2 years ago

@thejoshtaylor Is terminal plugin enabled and checked for global results? If yes please disable it and try if it's fixed.

thejoshtaylor commented 2 years ago

@htcfreek Terminal plugin was not enabled. Still having same issue. Command executes before entry fully resolves.

yuyoyuppe commented 1 year ago

The UI is laggy on my Surface Pro X as well, degrading the UX. I've tried playing with Input smoothing and disabling plugins but it didn't help. Seems like UI rendering takes too much time which manifests in tearing and low FPS. Might be worth investigating whether we do something computation/IO-heavy on the UI thread, e.g. obtaining thumbnails.

crutkas commented 1 year ago

we chances are did something incorrect long ago when we did the shift from xaml islands back to wpf

brentmorgan43 commented 10 months ago

PowerToys Run search began running very slowly with the recent release of 0.75.1. Prior to the release it ran very quickly. Attached is a video capture where you can see typing in "Visual" takes multiple seconds to pull up a list of Visual Studio programs.

https://github.com/microsoft/PowerToys/assets/35343056/44315241-b020-48a2-9f83-911fe01859d7

Starmania commented 9 months ago

Keeping an index to quickly search for result while refreshing it could be useful, because I try to use the "app" plugin with the activation character and this is really too slow to be usable.

ThisFunctionalTom commented 4 months ago

The most annoying thing is if the last executed command in history was "shutdown" and I type something fast and press enter 😱😱😱

klylesatepic commented 1 month ago

This seems related to https://github.com/microsoft/PowerToys/issues/25971