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

FancyZones steals input focus on display resolution change which breaks fullscreen games #306

Closed
The-MAZZTer opened this issue Sep 8, 2019 · 9 comments
Labels
Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Milestone

Comments

@The-MAZZTer
Copy link

The-MAZZTer commented Sep 8, 2019

Environment

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.

Test.zip

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.

@enricogior enricogior added Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy labels Sep 9, 2019
@enricogior
Copy link
Contributor

Hi @The-MAZZTer
thank you for reporting the bug.

@enricogior
Copy link
Contributor

enricogior commented Sep 10, 2019

@The-MAZZTer
can you confirm that with "Flash zones when the active FancyZones layout changes" off the problem doesn't occur?
We are planning to turn it off by default so it will be less common for new users to run into this issue.
Thank you.

@The-MAZZTer
Copy link
Author

Yup, seems to work fine.

@BattleNonSense
Copy link

@The-MAZZTer
can you confirm that with "Flash zones when the active FancyZones layout changes" off the problem doesn't occur?

I just ran into the same issue and disabling that option fixed the issue! :)

@odinlake
Copy link

I have this issue too. It is intermittent so I don't know for sure if the "Flash zones..." option is to blame. But I want to add that it is not only full screen games that are affected: I started one app (PyCharm) whose window appear maximized - the window was minimized to tray a split second after it appeared.

@dogiee
Copy link

dogiee commented Nov 6, 2019

Agreed with all the findings above. I would be able to open a full screen game and play without issue until I ever tabbed out of it, then nothing I could do would get me back in the game as the zones would always flash up and take me back to desktop.

I can also confirm that it does seem to be fixed with Flash Zones off.

Thank you though for adding this feature in the first place, it really adds so much more productivity!

@WinkelCode
Copy link

WinkelCode commented Nov 15, 2019

Also confirming I am experiencing the issue and Flash Zones off is the solution, for me it only happens in a few games though, currently I am aware of this issue in Resident Evil 2 Remake (DX11/Fullscreen, DX12 works fine), MGSV Ground Zeroes and interestingly Densha De Go! Final when running with Nvidia DSR.

Edit: I also don't have to alt-tab out to trigger this bug, it happens right away.

@yuyoyuppe yuyoyuppe added this to the 0.15 milestone Nov 22, 2019
@enricogior
Copy link
Contributor

Assigned to @vldmr11080

@enricogior enricogior added the Status-In progress This issue or work-item is under development label Nov 23, 2019
@enricogior enricogior added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Nov 30, 2019
@enricogior
Copy link
Contributor

Fixed in https://github.com/microsoft/PowerToys/releases/tag/v0.14.1

@crutkas crutkas removed the Status-In progress This issue or work-item is under development label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

9 participants