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

Desktop Code tab: a .zip sent with display 'attach' opens in the file pane as unpreviewable binary

Open wshallwshall opened this issue 1 month ago • 0 comments

Environment: Claude Desktop on Windows 11, Code tab.

Steps

  1. In a Code session, Claude calls SendUserFile with a .zip file (about 6 KB) and display: "attach".
  2. The zip appears in the side file pane as a tab. The pane shows "This file looks like binary data and can't be previewed as text", with "Show in Explorer" and "View as text anyway".

Expected: with display: "attach", the tool's description says a download card is shown with no inline preview. Opening the card should offer to save the file, or open it with the system, not a text previewer.

Actual: the file opens in the text file pane, which cannot show it, and the pane has no save or download action.

Impact: a user who needs to upload the zip somewhere else (for example, a skill to claude.ai) has to find the file on disk by hand. The path is in a temp scratchpad folder.

Unknown: whether the pane opened by itself or after the user clicked the attachment card. Either way, a zip should not land in a text previewer.

wshallwshall avatar Oct 22 '26 18:10 wshallwshall