-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
PowerToys Run doesn't open if window running as admin is in foreground #4427
Comments
doesn't KBM have the same issue? This is elevation issues |
@crutkas Yes, but it would work earlier on 0.18.2 because we were using RegisterHotkey and not LL hooks. The other difference is that for KBM you can restart PT as admin and it will work fine, but since the changes in #3451 even if you restart PT as admin, PowerToys Run will run at user privilege, and the hook logic is running in the same process. Edit: Edited the repro steps to start PT as admin |
we'd have to have a comm channel then to PT Run as the exe for PT Run will always launch non-elevated now |
Hi, same issue but very SEVERE with total Windows 10 v2004 crash.
Tried everything with Windows Recovery (Safe mode KO, autodiag, sfc /offbootdir, ...chkdsk). Nothing works. NB. Bitdefender Free Antivirus blocked Fusion.dll. I don't know if this can help. |
@djibe Can you open a separate issue for that? The issue I created does not happen in 0.18.2 and it's for tracking a change made in master. |
Done with #4471 |
We have the same bug on KBM if it is not running as admin. (PT 0.19.0) |
Yes for KBM there isn't much we can do since that is how low level hooks work. But running as admin brings the process to the same privilege level so that fixes it. In launcher however some logic was changed such that PowerLauncher.exe will always run at user level (since running at admin level was causing certain other issues), which is why even if you run PT as admin, PT Run's hotkey has this issue. |
The reference of issue 4608 was a mistake of mine. |
@arjunbalgovind |
@arjunbalgovind @htcfreek |
@enricogior @crutkas This is something we could consider for all the modules with LL hooks. I had mentioned it earlier as a requirement for solving certain key remap scenarios for KBM in #3192 , but this can also be used to avoid running modules with elevation. |
Same issue here: Windows: Version 10.0.19041 Build 19041 |
This has been fixed! Update your Powertoys if you haven't yet 😄 |
I've noticed that this is absolutely still an issue, exactly as described here. I've noticed this since at least v0.62. Currently I am using v0.70.1 and I cannot launch PT Run while focused on any elevated application. Changing focus is still a workaround but inconvenient. |
Steps to reproduce
Start PowerToys as admin, and open cmd as admin. Press Alt+Space
Expected behavior
PT Run should appear
Actual behavior
PT Run doesn't appear and window context menu gets opened.
The text was updated successfully, but these errors were encountered: