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

Feature To Prevent Apps From Stealing Focus #36237

Closed
drobin04 opened this issue Dec 6, 2024 · 3 comments
Closed

Feature To Prevent Apps From Stealing Focus #36237

drobin04 opened this issue Dec 6, 2024 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@drobin04
Copy link

drobin04 commented Dec 6, 2024

Description of the new feature / enhancement

I would like to see a feature in PowerToys that strictly prevents either 'specific' applications, or 'all' applications, from forcibly setting themselves on top or changing themselves to be the active window, and instead just intercepts those calls and makes those apps flash in the taskbar.

Some applications are particularly egregious offenders of this behavior and may set themselves on top multiple times within short periods of time, I'd love it if PowerToys had an option to address this.

All of the solutions I could find for this typically suggest using an application to force another app to be always on top, rather than tackling the issue of preventing the offending app from setting itself on top or to the foreground instead.

A friend of mine was complaining about this to me recently, given that they regularly play League of Legends, and if they're in the champion select in that game, there's actually multiple points where the app will bring itself to the front, again and again, such that if they're tabbed out doing something else, they repeatedly have the focus change and keep having to switch back to the other window they were working on.

Scenario when this would be used?

There are numerous situations where this would be used, and there are a lot of threads about this topic out on the internet on various forums, with different solutions based on the Windows version, but after searching recently, I wasn't able to find a good solution that seemed as though it would work on Windows 10. Even if there is one, I think this would be a great setting to have either as its own feature or as a handy shortcut within PowerToys.

Supporting information

https://superuser.com/questions/18383/preventing-applications-from-stealing-focus

https://www.technipages.com/windows-10-prevent-apps-from-stealing-focus/

https://www.reddit.com/r/leagueoflegends/comments/m1fsqp/how_does_one_stop_lol_from_stealing_window_focus/

https://www.reddit.com/r/windows/comments/zc1uqv/how_does_one_stop_the_a_program_lol_client_from/?rdt=40635

https://www.bleepingcomputer.com/forums/t/452520/prevent-loss-of-window-focus/

https://www.sevenforums.com/tutorials/9000-mouse-hover-makes-window-active-enable.html

@drobin04 drobin04 added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Dec 6, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@TheJoeFin
Copy link
Collaborator

/dup #65

Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants