Skip to content

[Unhandled Error] Cannot set a copy on selection override multiple times #301201

@bryanchen-d

Description

@bryanchen-d

Error Message

Cannot set a copy on selection override multiple times

Stack Trace

    at RT.overrideCopyOnSelection (./src/vs/workbench/contrib/terminalContrib/clipboard/browser/terminal.clipboard.contribution.ts:162:0)
    at Sbe.value (./src/vs/workbench/contrib/terminalContrib/find/browser/terminalFindWidget.ts:117:102)
    at E._deliver (./src/vs/base/common/event.ts:1338:12)
    at E.fire (./src/vs/base/common/event.ts:1369:8)
    at (anonymous) (./src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts:642:0)
    at t.Emitter.fire (node_modules/@<REDACTED: user-file-path>:1:2652) [not deminified]
    at d.findPrevious (node_modules/@<REDACTED: user-file-path>:1:16852) [not deminified]
    at uM.findPrevious (./src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts:601:0)
    at async tUe._findPreviousWithEvent (./src/vs/workbench/contrib/terminalContrib/find/browser/terminalFindWidget.ts:227:21)

Raw Stack Trace (minified)
Error: Cannot set a copy on selection override multiple times     at RT.overrideCopyOnSelection (out/vs/workbench/workbench.desktop.main.js:3974:2574)     at Sbe.value (out/vs/workbench/workbench.desktop.main.js:3975:3213)     at E._deliver (out/vs/workbench/workbench.desktop.main.js:405:2892)     at E.fire (out/vs/workbench/workbench.desktop.main.js:405:3211)     at out/vs/workbench/workbench.desktop.main.js:3670:6060     at t.Emitter.fire (node_modules/@<REDACTED: user-file-path>:1:2652)     at d.findPrevious (node_modules/@<REDACTED: user-file-path>:1:16852)     at uM.findPrevious (out/vs/workbench/workbench.desktop.main.js:3670:5041)     at async tUe._findPreviousWithEvent (out/vs/workbench/workbench.desktop.main.js:3977:1596)

Details

Property Value
Bucket ID b6fe929a-ff8b-ee45-34d6-33a7d32d8998
Version 1.111.0
Commit ce099c1e
Last Seen 2026-03-12
Platforms Windows, Mac, Linux
Product VSCode

This issue was automatically created from the VS Code Errors Dashboard

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugerror-telemetryVS Code - Issues generated by telemetry

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions