microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.61k stars 275 forks source link

"Cannot reconnect. Please reload the window" mbox not modal #9630

Open RYDB3RG opened 7 months ago

RYDB3RG commented 7 months ago

hi,

This messagebox comes when a connection to remote ssh or dockercontainer is lost. image

Would it be possible to make it less obnoxious / focusflashy / non-modal? Maybe a reload-link in statusbar, or even completely remove it (since the statusbar already tells you about the disconnection) ?

thx

VSCodeTriageBot commented 6 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

chrmarti commented 6 months ago

Most of the UI cannot be meaningfully interacted with in this case, so a modal dialog seems to make sense.

On macOS the window appears to take focus, not sure about other platforms, but this might be an unexpected side-effect here. Is that the issue you are seeing?

RYDB3RG commented 6 months ago

Yes it takes the focus, and it seems to take it for all open VSCode instances (even the connected ones) If new UI cant be created, could it still be removed? Like I said, it already tells you about disconnection anyway.

chrmarti commented 6 months ago

This might be the same as https://github.com/microsoft/vscode-remote-release/issues/9535.

janhieber commented 5 months ago

This focus stealing happens to me every day.

When I wake up my computer from standby in the morning I do things and suddenly VSCode steals the focus with the reload dialog... It's the most annoying thing currently. So I would really love this behavior to be changed.