Open
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.101.0
- OS Version: Ubuntu 24.04
Steps to Reproduce:
- Create a CodeLens from an LSP server.
- Have the server send a
"window/showDocument"
request to an external (non-trusted) URL when the CodeLens command is executed.
Because the command executes too fast, the cursor is still focused on the CodeLens, resulting in buttons from the external website popup confirmation being unclickable:
vscode.mp4
(video doesn't show cursor because of https://gitlab.gnome.org/GNOME/mutter/-/issues/3182, but my cursor is in hand mode and I can't click on any button unless I use Tab).
This can be worked around by adding a small timeout on the LSP server (e.g. 0.1 seconds) before sending the "window/showDocument"
request.