vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

vscode-server: back button captured by browser

Open leifwalsh opened this issue 3 years ago • 3 comments

Using VS Code Server, connected from Chrome, and running in Progressive Web App mode in its own window, the "back" button has unwanted behavior.

Normally, on other VS Code platforms, the back button takes you to the previous file you were looking at (or does other useful IDE things in other contexts, presumably).

Using VS Code Server, if you haven't changed folders or workspaces yet, it still has this behavior. However, after opening a folder/workspace, or after changing to a different one, VS Code does appear to register the back event and have the normal behavior briefly, but the event also appears to effect the browser, and this causes it to navigate back to the previous folder/workspace context. This rips you out of the project context you were working on and is disruptive to flow if you're used to using the normal back behavior.

Can you do something to prevent this event getting captured by the browser?

  • VSCode Version: 1.72.0-insider
  • Local OS Version: Windows 10
  • Remote OS Version: Debian 10
  • Remote Extension/Connection Type: Server
  • Logs:

Steps to Reproduce:

  1. Open a connection, and go through the "install" flow to open PWA mode
  2. Open a different project folder
  3. Navigate between some files
  4. Click the "back" button on a mouse (notably, Alt-Left does not have this problem, but changing muscle memory is hard)

Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No

leifwalsh avatar Oct 01 '22 19:10 leifwalsh