Restored FancyZones snapped windows have incorrect size
acceptibru opened this issue · 5 comments
AltSnap 1.59 Powertools 0.68 3840*2160 resolution
Restoring windows snapped by FancyZones seems to reduce them by half (maybe dpi issue?...)
On the video I snap a window with fancyzones shortcut, then drag out with fancy zones restoring it correctly, then the same with altsnap restoring a tiny window instead
video.mkv-html5ified.mp4
I guess you are using the Restore FancyZone snapped windows option.
It is somewhat expected that it stops working at some point, because FancyZone is free to change the way it stores the restore size.
Could you try the same thing but with 96dpi setting? (100% scaling)
I am not sure if this was the same with previous FancyZones. If you could confirm that, then the fix would be trivial (I just have to scale back to current DPI).
I guess you are using the Restore FancyZone snapped windows option.
Yes
Could you try the same thing but with 96dpi setting? (100% scaling)
Yep, works correctly on 100% scaling
Yeah, it looks like fancyzones recalculates dimensions. When I edit the zones in fancyzones with 200% scaling it shows halved dimensions in pixels, like 1080 height instead of 2160, when the scaling is 125% then it becomes 2160/1.25=1728, etc
When the scaling is 100% then the same zones have correct pixel dimensions
I could not test myself but this one should fix the problem.
Just quit Altsnap, and replace both AltSnap.exe and hooks.dll
AltSnap1.59fix4_x64.zip
Just quit Altsnap, and replace both AltSnap.exe and hooks.dll AltSnap1.59fix4_x64.zip
Works fine! Thank you