claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Desktop app (Windows): clicking a file in chat opens a blank in-app browser; local HTML and Markdown cannot be opened

Open MovableObject opened this issue 1 month ago • 1 comments

Platform: Windows 11, Claude desktop app, Code tab.

What happens

  1. Clicking a file link or file card in the chat (for example a file sent with SendUserFile, or a linked path to a .md file) opens the in-app browser, which shows a blank page for local Markdown and HTML files.
  2. The in-app browser cannot open local files at all: file:// URLs are not supported. So an HTML page that Claude generates on the user's own computer cannot be viewed inside the app.
  3. A clicked path to a file outside the session's folders opens the file pane with "This file is outside this session's folders" instead of the file. The user then has to copy the path, find the file in Explorer and open it by hand.

Expected

Clicked local files should open in the in-app viewer, or fall back to the system's default app or default browser. A local HTML file should be viewable without a dev server or an artifact.

Impact

Every file Claude hands over in chat is effectively unopenable with one click. Users who listen to replies with text-to-speech and rely on clicking a path are hit hardest.

🤖 Generated with Claude Code

MovableObject avatar Oct 18 '26 01:10 MovableObject

Same on Windows 11 with the Code tab, session working directory inside WSL (/root/extranet). Clicking a path to a file in another WSL folder (/root/llm-harness/...) shows “This file is outside this session’s folders”. Adding the folder to permissions.additionalDirectories in ~/.claude/settings.json gives the agent access to it, but the file pane still refuses to open files there. Expected: open the file, or at least fall back to the system’s default app.

Volosha avatar Oct 21 '26 11:10 Volosha