vscode-vibrancy icon indicating copy to clipboard operation
vscode-vibrancy copied to clipboard

[macOS] Effect disabled when window is not in focus

Open Mladja89 opened this issue 4 years ago • 3 comments
trafficstars

What the title said, is this normal to be disabled once the window is not in focus? 'Cause I really love the extension and it's the only annoying thing.

VS Code -v 1.62.3 macOS -v 12.0.1

Mladja89 avatar Nov 19 '21 23:11 Mladja89

Facing the same issue here, I have to alt-tab a lot and this gets real annoying

surajmandalcell avatar Dec 22 '21 08:12 surajmandalcell

This is probably happening since BrowserWindow.options.visualEffectState is presumably set to the default value of followWindow. Changing this to active should fix this.

I've figured this out by looking at the electron docs (Just ctrl+f for visualEffectState).

Unfortunately I have no idea how to access the options object of a BrowserWindow using an extension or if changing it after its creating is even possible. I'd appreciate if anyone with any knowledge about electron and vscode extensions could chime in.

playduck avatar Dec 26 '21 18:12 playduck

Hi! I'm facing the same issue... Any help?

mrsilph avatar May 10 '22 16:05 mrsilph