Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximized into Snap is misaligned #445

Closed
Ichisich opened this issue Jul 16, 2023 · 3 comments · Fixed by #472
Closed

Maximized into Snap is misaligned #445

Ichisich opened this issue Jul 16, 2023 · 3 comments · Fixed by #472
Labels
bug Something isn't working

Comments

@Ichisich
Copy link

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.

@RamonUnch RamonUnch added the bug Something isn't working label Jul 16, 2023
@Ichisich
Copy link
Author

Ichisich commented Aug 1, 2023

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
Copy link
Owner

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
Copy link
Owner

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants