External links fail to open in Glass chat with UriError on Linux

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Description

Most external links rendered in Agent chat cannot be opened.
Clicking the link or selecting “Open in External Browser” produces no visible response.
Links to github and cursor work, while links to domains such as the following fail:

  • code.visualstudio
  • example.com
    System URL handling works correctly with both xdg-open and gio open.

Steps to Reproduce

  1. Open an Agent chat in the Glass layout.
  2. Render a Markdown link such as:
    https://example.com/
  3. Click the link.
  4. Select “Open in External Browser” if prompted.

Operating System

Linux

Version Information

Version: 3.12.17
VS Code Extension API: 1.128.0
Commit: 0fb762053c34788bb7760d5673f8a6d4c8589d50
Date: 2026-07-17T02:53:53.006Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Linux x64 6.8.0-134-generic

Additional Information

  • xdg-open and gio open work correctly.
  • No workbench.externalBrowser or workbench.externalUriOpeners setting is active.
  • The failure happens before the system browser is invoked.
  • Trusted Domains do not explain the behavior.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Chen_Chen24 Thank you for the post. I tried to replicate this problem on Linux, but I could not. The link opened in the external browser without a problem. I see you are a couple of versions behind. Could you try updating to 3.15.x and see if you have the same issue?