Duplicate copyOnSelect actions #4255
Labels
Area-TerminalControl
Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)
Area-User Interface
Issues pertaining to the user interface of the Console or Terminal
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-0
Bugs that we consider release-blocking/recall-class (P0)
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Severity-DataLoss
A bug that causes the user's data to be lost, unintentionally
Milestone
Environment
Platform ServicePack Version VersionString
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal Version 0.8.10091.0
Steps to reproduce
Open WSL Ubuntu terminal
Select a block on text with copyOnSelect enabled (for example "TEST1")
Ensure block of text remains highlighted
Switch to notepad instance
Paste selected text into Notepad
Make some change to text, (for example change string to "TEST999")
Copy string inside Notepad
Highlight Windows Terminal
Paste string into Windows Terminal
Expected behavior
TEST999 is pasted into Windows Terminal window
Actual behavior
TEST1 is pasted into Windows Terminal window
Notes
It appears that each time the window is made active, a new copyOnSelect action is performed if there is some text previously highlighted. I would expect the Terminal to only perform the copy operation the very first time the text is highlighted.
The text was updated successfully, but these errors were encountered: