microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.1k stars 6.43k forks source link

Run window not getting focus when opened with certain applications in focus #32188

Open Submandarine opened 5 months ago

Submandarine commented 5 months ago

Microsoft PowerToys version

0.79.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Open the application and focus the window by clicking on it. Hit the Shortcut for PowerToys Run. Run window does not get keyboard focus. Applications that show this behavior are PowerToys Settings, GPU-Z, MSI Afterburner This is similar to other keyboard focus issues like #20043

✔️ Expected Behavior

Run window opens and has focus.

❌ Actual Behavior

If centralised hook is disabled, the run window does not open at all, if activated it opens but does not get focus.

Other Software

GPU-Z v2.57.0 MSI Afterburner v4.6.5

github-actions[bot] commented 5 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

mijien0179 commented 5 months ago

this problem also had to when windows start menu already open.

Coldblackice commented 4 months ago

Also (still) getting this issue.

Of the many (annoying) programs and installers that will suddenly and spontaneously steal focus while I'm in the midst of typing something (and thus activating a flurry of in-program shortcuts I have to then try and backtrack through to undo), PowerToys Run is the one program I actually do want to take focus, but does not.

A metaphor of my life, I suppose.