-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed as duplicate of#14464
Copy link
Labels
Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIssues pertaining to the user interface of the Console or TerminalIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-3A description (P3)A description (P3)Product-TerminalThe new Windows Terminal.The new Windows Terminal.
Description
Windows Terminal version
1.23.20211.0
Windows build number
10.0.26100.7840
Other Software
No response
Steps to reproduce
- Set copyOnSelect to true.
- Open a shell in Terminal (PowerShell for example).
- Select a text in that shell to copy it. Don't click into the window afterwards to ensure the selection remains.
- Switch to another application (notepad recommended for the next step). The selected text should remain selected.
- Test that the selected text is on the clipboard and then overwrite it by copying some other text.
- Switch back to the terminal with alt+tab and do a paste with right click. Or just right click into the Terminal text area which also brings the window into focus and performs a paste in one go.
Expected Behavior
The new text from step 4 is pasted.
The old selected text should not be copied by right clicking.
Actual Behavior
The already selected text gets copied to the clipboard again before the paste happens. So the text from step 3 is pasted.
Same thing can happen when switching between Terminal tabs without clearing the selection first.
So it seems that right click copies an already selected text first.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIssues pertaining to the user interface of the Console or TerminalIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-3A description (P3)A description (P3)Product-TerminalThe new Windows Terminal.The new Windows Terminal.