AltSnap
AltSnap copied to clipboard
AltSnap freezes when attempting to move OBS
I keep forgetting that AltSnap doesn't like OBS, and so if I reflexively try to move or resize the OBS window using altsnap, it suddenly causes AltSnap to ramp up CPU usage and much of the desktop becomes unusable... I have no idea why?
Some applications can be very slow on resize, this is because the native resizing is a bit different than what AltSnap does. I will investigate OBS when I will have access to a Win10 machine.
There are some things that may improve performances in the [Performance] section of the .ini file, you can open the AltSnap.ini file by middle clicking on the tray icon.
the first thing I suggest would be to set RezTimer=1, if you have a 60Hz monitor it should not be visually disturbing and it helps a lot in reducing reducing CPU usage.
Alternatively you can also play with the ResizeRate value, I recommend a value of 4 (pixels).
Finally you can set FullWin=0 so that AltSnap only resizes a hollow rectangle. instead of the full window however you might not appreciate the look and feel of this.
EDIT to change the color of the hollow rectangle you can use FrameColor=RR GG BB (hex R G B values) in the [Input] section of the .ini file default is FrameColor=80 00 80 (violet)
PS: If adjusting the above parameters is not enough, I suggest you add OBS to the blacklist so that you do not accidentally move/resize it before I fix the bug (hopefully). Check the wiki on how to add programs/windows to the blacklists: https://github.com/RamonUnch/AltSnap/wiki#blacklists
Some applications can be very slow on resize, this is because the native resizing is a bit different than what AltSnap does.
Is this the same issue that causes https://github.com/stefansundin/altdrag/issues/162 ?
Oh wow this fork actually causes the cursor to not get glitched / slowed down, OK definitely using this :O
I do resize the window in a separated thread and thus avoids locking the cursor in place when the window is slow to resize.