AltSnap
AltSnap copied to clipboard
Move to Zone extends the window instead when using Grid layout.
I have found an issue related to Move to Zone (using Grid layout). If the app is in a bottom zone, hitting the keyboard shortcut to move it to the top zone, it will actually extend to that zone instead of moving. Is this intended?
Originally posted by @zhichaoh in https://github.com/RamonUnch/AltSnap/issues/271#issuecomment-1255233194
It is a bug, if you use UseZones=3+4 the option should still move and not extend, I will fix that.
Ideally it would move the window one grid step without resizing it if it is already snapped over several cells.
@RamonUnch , great! Yes, My usezones=3+4. That will make AltSnap as convenient to use as dynamic tiling window manager like i3wm etc. With all the window manipulation capabilities, it will be the most powerful tool.
AltSnap1.57test20_x64.zip AltSnap1.57test20_i386.zip
This one should fix the problem. You need to replace both hooks.dll and AltSnap.exe It is still not perfect, grid movement should be handled differently I think because current behavior can be annoying if grid cell is small. So more work will be needed but it will be for later.
The fix works really well in my settings. Thank you for the immediate solution. Yes, small grids can be frustrating. I divided my 32" 4K monitor into 5x3 grids. Now I found that I have to actively move the mouse after sending it to a zone. This is because we only move windows under the mouse. Is there a way to move the active window instead so we don't have chase the window using mouse?
Be sure to uncheck the Apply to the pointed window. (It should be off by default but I may be wrong.)

Note that this option applies to all keyboard shortcuts.
That does the trick! Thanks!