claude-code
claude-code copied to clipboard
Desktop Code tab: a .zip sent with display 'attach' opens in the file pane as unpreviewable binary
Environment: Claude Desktop on Windows 11, Code tab.
Steps
- In a Code session, Claude calls
SendUserFilewith a.zipfile (about 6 KB) anddisplay: "attach". - 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.