Allow modal dialog to show on focus (don't show when window is inactive)ย #176542
Description
First, thanks for VSCode - it's by far my favorite code editor!
The problem
I use multiple VSCode windows, all connected to the same remote host, each dedicated to a different task.
When I lose connection to my dev remote host, all these windows pop up and steal focus, complaining that they've lost the connection.
If I'm on a different MacOS Desktop when I lose the connection, the VSCode app in my Dock starts to bounce and doesn't stop until I click on it.
I find this all very annoying.
It's even more annoying because I mostly work from my laptop at various cafes, etc, with intermittent internet access, so I'm constantly getting these pop-ups.
Also, focus-stealing in this context defies logic.
I.e. if I'm not using VSCode, then I don't care that I lost the connection, so no notification is needed.
If I am using VSCode, then you don't need to steal focus to tell me that I've lost the connection.
In neither case does focus-stealing help.
Proposed solution
Please add an option to blanket-disable all focus-stealing in VSCode.
This should also prevent the Dock icon from bouncing.
Thanks!
Activity