FancyZones steals input focus on display resolution change which breaks fullscreen games
See original GitHub issueEnvironment
Windows build number: 10.0.18362.295
PowerToys version: 0.11.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
Steps to reproduce
Ensure FancyZones is active. The option “Flash zones when the active FancyZones layout changes” may need to be enabled as well.
Run any fullscreen game which uses a resolution different from the desktop resolution.
I first noticed this on Spyro: Reignited Trilogy for PC but then made a simple Unity project to confirm it’s nothing specific that game is doing. I have attached it below (source code and binary) to allow for easy reproduction.
The resolution selection dialog has been enabled for the included build. Disable “Windowed” and select a resolution different from the desktop resolution.
Expected behavior
The game runs as it normally would.
Actual behavior
FancyZones attempts to display the zones in the new resolution, stealing focus from the game. This causes Windows to minimize the game and revert to the previous desktop resolution. It is impossible to maintain focus on the game.
After closing out of PowerToys the game can be restored and runs normally.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top GitHub Comments
Yup, seems to work fine.
Fixed in https://github.com/microsoft/PowerToys/releases/tag/v0.14.1