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

PowerToys Run doesnt work when other app's window in focus. #4782

Closed
prakharb5 opened this issue Jul 5, 2020 · 6 comments
Closed

PowerToys Run doesnt work when other app's window in focus. #4782

prakharb5 opened this issue Jul 5, 2020 · 6 comments
Labels
Product-PowerToys Run Improved app launch PT Run (Win+R) Window

Comments

@prakharb5
Copy link

Environment

Windows build number: 19042
PowerToys version: v0.19.0
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

Steps to reproduce

Keep a browser windows or PowerToys setting page in focus (active) and use the shortcut for PowerToys Run search box to open.

Expected behavior

The search window should open.

Actual behavior

The shortcut (Alt+Space) opens the window settings option
image

#Additional comments
I haven't tested it with all apps. It works properly with my PDF reader (Foxit Reader).

@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jul 5, 2020
@tomstock1337
Copy link

I experience this same behavior. When this happens, I need to restart PowerToys (0.19.0) in order for it to start working again.

Windows 10 Enterprise Version 10.0.18362 Build 18362

Occurs when using Google Chrome (83.0.4103) and FireFox (79)

@crutkas
Copy link
Member

crutkas commented Jul 30, 2020

is that window run elevated?

@crutkas crutkas added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-PowerToys Run Improved app launch PT Run (Win+R) Window and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 30, 2020
@prakharb5
Copy link
Author

Those apps which run elevated don't allow PT Run to come up, thats what the problem is, I think. When will this be fixed?

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 3, 2020
@crutkas
Copy link
Member

crutkas commented Aug 3, 2020

I think we need to rethink how PT run and others operate with elevated windows. Typically you don't want stuff to run elevated unless it needs to. Few of our tools need that for this exact use case.

PT Run, if itself is elevated, would launch elevated. So we did some trickery to prevent it. However, we think more and more based on stuff like this, the better solution would be allow it to run elevated but suppress elevation unless directly asked to

@prakharb5
Copy link
Author

prakharb5 commented Aug 4, 2020

Color picker seems to work in elevated windows just fine.

I have seen that, for e.g., we have an elevated app running, we can click on taskbar and then trigger PT Run, it comes up. So, to trigger PT Run on elevated windows, we can switch focus to Taskbar and then execute the process. After completing or exiting PT Run, we can restore focus to the elevated windows. It might work. How is my idea?

@saahmedm
Copy link
Contributor

closing this as a duplicate issue: #4427 will be where the work is tracked.

@crutkas crutkas removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Oct 16, 2020
@crutkas crutkas removed the Needs-Team-Response An issue author responded so the team needs to follow up label Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product-PowerToys Run Improved app launch PT Run (Win+R) Window
Projects
None yet
Development

No branches or pull requests

4 participants