microsoft / PowerToys

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

Allow enabling Override Windows Snap while retaining original Win+arrow behavior #16667

Open kalokng opened 2 years ago

kalokng commented 2 years ago

Description of the new feature / enhancement

When I use FancyZones, I enjoy the feature that can use Win+arrow to move windows between zones (relative position). But I also use the original win + functionality together:

Layout: 3x2 grid Win+arrow: move the window between zones Win+ctrl+alt+arrow: enlarge the window across multiple zones Win+ctrl+up while the window is at the bottom corner: 50% left/right (original windows snap function) Win+shift+down: minimize the window

But since I upgraded to Windows 11, the Win+Ctrl+up shortcut no longer works. So its not possible for me to achieve 50% left/right with keyboard.

Is it possible to add a toggle, so when the window is snapped to the edge zone, win key + towards the edge will behave just like the original Windows snap? e.g. Assume the window is at the left most zone, and when i press win+left,

So the new behavior will be:

When there are 2 monitors, if the window is at the 50% left of the right screen, press Win+Left will make it 50% right of the left screen (original Windows snap behavior), and press Win+Left again will move the zones in the left screen.

Scenario when this would be used?

The enhancement allows me to use the original windows snap function, while enjoying to use FancyZone by keyboard. it allows me to have 33%, 50% or 67% of the screen, while keeping the FancyZones layout simple (3x2)

Supporting information

No response

raulf2012 commented 2 years ago

Just chiming in to say that this would be very helpful. At the least I wish you could have the option of using the keyboard shortcuts to move windows across different zones without disabling the windows shortcut to snap windows to the right/left half of the screen. I would be happy with simply two sets of keyboard shortcuts to use with FancyZones and the original windows snapping shortcuts.

Untersander commented 2 years ago

With Windows 11 you can snap windows to the default windows snapping location (halve left/right, halve bottom/top), even with the Override Windows Snap activated with the move windows based on relative position .

This can be done with shortcut Win+Alt+Arrow.

The only thing, as far as I can tell, that is not possible with these settings, is to minimize and maximize using a shortcut.

Kind of maximization can be achieved by spanning the window over all zones using the shortcut Ctrl+Win+Alt+Arrow.