RamonUnch / AltSnap

Maintained continuation of Stefan Sundin's AltDrag
GNU General Public License v3.0
2.21k stars 74 forks source link

Maximized into Snap is misaligned #445

Closed Ichisich closed 1 year ago

Ichisich commented 1 year ago

maximised

snapped 1

The window keeps its slightly smaller title bar from the maximized state and gets cropped as a result. The desired outcome would look like this: snapped 2

It seems Altsnap's WinRestore command only changes the flag but not the dimensions before snapping the window.

Ichisich commented 1 year ago

Most likely the same issue.

Dragging a window out of the maximized state doesn't restore the proper borders. https://github.com/RamonUnch/AltSnap/assets/31080003/ee7c33d6-3f0a-4250-a518-c0a6ced82e62

Snapping to the taskbar out of the maximized state -> the blue border disappears Snapping to the taskbar from a windowed state -> the blue border aligns perfectly https://github.com/RamonUnch/AltSnap/assets/31080003/3190d846-b39e-4665-9677-486c651d54e7

RamonUnch commented 1 year ago

The invisible borders change size when the window is maximized So I should check them again after restoring the window. This should not be hard to fix.

RamonUnch commented 1 year ago

OK, I was focused on other things, This one should do the trick. AltSnap1.62_test3_x64.zip Let me know if it works for you...