jigish / slate

A window management application (replacement for Divvy/SizeUp/ShiftIt)
GNU General Public License v3.0
7.85k stars 510 forks source link

Animated resizing in Visual Studio Code breaks Slate move #535

Open pascalpp opened 1 year ago

pascalpp commented 1 year ago

I have 2 keybindings for 2 chains of operations to resize the window from the left or right edge, with each operation in the chain making the window slightly larger. Something about the animated window resize behavior in Visual Studio Code is breaking this, and a lot of similar resize operations I've defined (demo video below). This used to work great in Code, the same as in other apps, and I've tried to figure out what changed by downgrading to older versions of Code, but it happens in older versions too. Incidentally my slate config is here if anyone wants to try it out. Would love to have confirmation as to whether this is happening in VSCode for other Slate users as well, or if it's something specific to my machine.

https://github.com/jigish/slate/assets/1355312/4f2ea823-b221-4c21-8559-ac3feee1ea7c

pascalpp commented 1 year ago

Update: this appears to be a known issue with a change in VSCode that affects other window managers. https://github.com/microsoft/vscode/issues/169123

@deepak1556 merged a fix for that issue, but as far as I can tell the problem still exists in the current release of VSCode, so I've switched to the VSCode Insiders build which doesn't exhibit this issue.