Skip to content

Every copyOnSelect action crashes the Terminal now #2741

@JDQuackers

Description

@JDQuackers

Environment

Windows build number: Win32NT     10.0.18362.0     Microsoft Windows NT 10.0.18362.0

Windows Terminal version (if applicable): 0.4.2382.0  (installed via Microsoft Store, profiles.json attached)

[profiles.txt](https://github.com/microsoft/terminal/files/3607091/profiles.txt)


Steps to reproduce

With the latest version of Windows Terminal, using the attached profiles.json file with copyOnSelect = True, every time I copy text the Terminal will hang for 1-2 seconds and then crash. After the most recent update to 0.4.2382.0, I enabled copyOnSelect and only saw this crash maybe once a day. Since yesterday (9/11), it happens every time I copy text. No settings changes happened, but I do heavily use the Terminal every day with lots of copy/pasting, so as of yesterday my workflow is severely interrupted

Expected behavior

copyOnSelect adds the selected text to clipboard, and Terminal continues to operate as intended

Actual behavior

As soon as the selection period is over, the Terminal hangs for 1-2 seconds with a spinning cursor, then crashes. No text is copied to the clipboard

Also, here is the Feedback Hub posting: https://aka.ms/AA627yk

Metadata

Metadata

Assignees

Labels

Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.Severity-CrashCrashes are real bad news.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions