AltSnap icon indicating copy to clipboard operation
AltSnap copied to clipboard

Resize visual artifacts

Open Naineten opened this issue 5 months ago • 2 comments

Hi, I have an issue when using resize window function, and it’s purely visual — the window doesn’t resize immediately, and instead I get visual artifacts in the form of a solid color where the window should have expanded. This is especially noticeable when expanding the settings panel in the second half of the video. Video demonstration

I have a laptop GPU 3070 Ti. Before recording, I reinstalled the video driver to the latest version, tried switching between the integrated and discrete graphics, and also changed the “Hardware-accelerated GPU scheduling” setting in the system options. None of these steps helped.

;Some of my settings : 

MoveRate=2
ResizeRate=2
AutoFocus=1
Aero=0
SmartAero=1
AutoSnap=0

Naineten avatar Aug 13 '25 16:08 Naineten

This is an old problem, the Issue is that Windows Internally resizes windows with a different method that no available API can reproduce.

I think it is related to the dwm.exe that reacts before the application in the case you use SetWindoPos() function.

RamonUnch avatar Aug 13 '25 20:08 RamonUnch

This is an old problem, the Issue is that Windows Internally resizes windows with a different method that no available API can reproduce.

I think it is related to the dwm.exe that reacts before the application in the case you use SetWindoPos() function.

You’re right. I’ve been looking into this over the past couple of days and ran into a similar problem with the Komorebi app. The window resize animations look awful. This is a very old API issue, and there’s no solution. It’s really sad that something as seemingly simple as window resizing can’t be done without visual artifacts, even with workarounds.

Naineten avatar Aug 18 '25 09:08 Naineten