microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.71k stars 6.46k forks source link

[FancyZones] Multiple Zone Activation by Keyboard #28801

Open ForbiddenEra opened 11 months ago

ForbiddenEra commented 11 months ago

Description of the new feature / enhancement

Edit: Might be a dupe of https://github.com/microsoft/PowerToys/issues/27000 ? seems similar/sameish?

So, I just discovered the 'Override Windows Snap' feature and with 'Relative Position' on, it's probably one of the most insanely amazing desktop UI features I've EVER seen/used (and I started computing on a Commodore 64)

The only down side is not being able to use it to activate multiple zones. My main screen is a Neo G9 (5120x1440 49" SuperUltraWide, along with two 24" above it, a 24" to the left and two vertical 24" on the right) and I have my main screen split into 1/3rds, however I often will have my code editor on the left 2/3rds with a terminal/ref docs/whatever on the right 1/3rd.

I'd really like to be able to use a modifier to expand the window. Say I have a window in the first/left-most 1/3 zone and then hold a modifier key and press right, it should expand to fill the zone to the right, then doing it again should expand it to the 3rd zone (essentially being maximized)

It would also be great to be able to use a modifier to override the override and get the standard functionality back. This seems to work for some scenarios, eg. win+shift+right/left aren't overridden and move a window to different screens as normal, win+shift+down minimizes, win+shift+up I would expect to maximize maybe but it just moves the window up like 1-2pixels? win+ctrl+up maximizes which is good, win+ctrl+down minimizes which is good, win+ctrl+left/right switches virtual desktops which I suppose is fine but I'd prefer this to be the modifier for what I requested above..

The only thing missing is Win+left + win+right which make the window 1/2 of the screen docked left or right, which in my situation, while not often used, is nice to have a super quick alternative to the usual 1/3rds.

Perhaps win+shift should work like win+left/right did w/out override as you can still move a window across screens this way and win+ctrl should activate the next zone in the direction you press (at least if it's on the same screen or you have 'allow zones to span multiple monitors' enabled)

Not entirely sure that's the best shortcut implementation for everyone though it seems like the best for me - of course, being able to configure different shortcuts or overrides would be killer - heck, even the ability to configure custom keys for this feature instead of overriding the windows one might be great, like, if a shortcut for this was available otherwise besides the override option I would've made great use of it.

Scenario when this would be used?

When adjusting windows in fancy zones; in order to activate multiple zones, I'm required to use the mouse which now that I'm able to move/adjust windows across zones with the keyboard will be a huge frustration.

Supporting information

No response

CDeLeon94 commented 6 months ago

I am constantly changing the composition of my screen, so I like having a 3x2 setup on my ultrawide, but want to be able to use keyboard shortcuts to snap a window into a 1x2 (column) or a 2x1 (Partial Row). This 3x2 grid layout works great for 90% of my work, except for the fact that I have to use the mouse to utilize multi-zone spans.

ForbiddenEra commented 6 months ago

So uh.. I don't think I knew this when I made the post but if you hold down control while zones are up, it'll add zones as you hover over them allowing you to easily use multiple adjacent zones..

However; my intention with this feature request was to be able to do so ONLY by keyboard without having to use the mouse as well.