[BUG] Desktop file pane: right-click on a text selection offers no Copy — the context menu is entirely file-scoped

Status Open
Reported on v2.1.232
Maintainer reply None cached
Activity 2 comments · opened Aug 16, 2026

What happened

In the desktop app's Code tab, I opened a file in the file pane, drag-selected a block of
lines, then right-clicked inside the selection. The context menu that appears is entirely
file-scoped:

  • Attach as context
  • Copy file contents
  • Copy path
  • Open in → Cursor / VS Code / Windsurf
  • Show in Explorer

There is no Copy / Copy selection item. The highlighted text cannot be copied from the
context menu at all — the only copy action, Copy file contents, ignores the selection and
copies the whole file.

The menu does not change when a selection exists, so from the user's side right-click on
selected text is a dead end.

Expected

When a non-empty selection exists in the file pane, the context menu should include a
selection-scoped Copy (plain text) item, ideally as the first entry — the standard behavior
for any read-only text view. The existing file-scoped items can stay below it.

Repro steps

  1. Desktop app → Code tab.
  2. Open any file in the file pane (mine was a plain-text .txt; ~25 lines of a table).
  3. Drag-select a block of lines.
  4. Right-click inside the selection.
  5. The menu lists only the file-scoped items above. No way to copy the selected text.

Screenshot

Menu items transcribed above from a screenshot of the file pane with lines 52–76 selected;
the context menu overlaps the right edge of the selection and shows
Attach as context / Copy file contents / Copy path / ─── / Open in (dimmed) / Cursor / VS Code /
Windsurf / ─── / Show in Explorer
.

Related, but not duplicates

  • #85158 — asks for a selection-scoped attach in this same file-pane menu. That request

notes in passing that the menu is file-scoped by design; this report is that the same design
leaves plain copy with no selection-scoped path either.

  • #76747, #74239 — the chat transcript's selection menu lacking "Copy selection". Different

surface: there the menu is at least selection-triggered; the file pane offers no
selection-scoped action whatsoever.

Environment

  • Claude Desktop 1.25927.0 (verified from the running claude.exe file version)
  • Windows 11 Pro 10.0.26200
  • Claude Code CLI 2.1.232

Not tested as part of this report: whether <kbd>Ctrl</kbd>+<kbd>C</kbd> copies the file-pane
selection. Even if it does, the context menu should still expose it.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗