microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.6k stars 6.52k forks source link

FancyZones - keyboard shortcut to span particular zones #28432

Open Caleb-D opened 1 year ago

Caleb-D commented 1 year ago

Description of the new feature / enhancement

I can span zones with the mouse and dragging to the boundary between zones, but it would be quicker to have a keyboard shortcut to say "put current window in zone config" where zone configs can be defined as a start zone+stop zone.

Scenario when this would be used?

I would use this multiple times each day. I have three monitors and I want to span two monitors with my Visual Studio window. Undocking and redocking my PC causes me to have to re-span multiple Visual Studio instances. Also, I have to re-span every time I open a new solution in VS.

Maybe another way would be to set a default zone config for an app (or maybe for a file associated with an app, like each .sln could get its own default zone config).

And...why not save which zones each app is spanning and restore that when the monitor config changes (dock and redock or oops, I powered off a monitor by accident).

Supporting information

No response

ekk88d commented 1 year ago

FWIW, I think that your default zone config, specified per app, is a feature of Actual Window Manager (AMM).

It's also specified in a few Feature tickets that I've stumbled upon.

Maybe the future coder of this feature can find help in AMM's implementation. There are likely additional cues from AMM that expand the breadth of PowerToys' assets.