Left-clicking selected text to copy copies the single character accidentally selected #2598

Closed
opened 2026-01-30 22:59:19 +00:00 by claunia · 3 comments
Owner

Originally created by @439bananas on GitHub (Jul 5, 2019).

Environment

Windows build number: 10.0.18922.1000
Windows Terminal version (if applicable): 0.2.1715.0

WSL, Node.JS, Git-SCM (shouldn't really affect anything, right?)

Steps to reproduce

  • Select text by dragging over it
  • Click the text, which copies
  • Notice that now one character where you clicked is selected
  • Right-click into your input
  • Observe the text actually pasted is just that character selected after (or during) copying

Expected behavior

The original selected text should be pasted

Actual behavior

The character below where you clicked to copy that was accidentally selected is pasted

Originally created by @439bananas on GitHub (Jul 5, 2019). # Environment ```none Windows build number: 10.0.18922.1000 Windows Terminal version (if applicable): 0.2.1715.0 WSL, Node.JS, Git-SCM (shouldn't really affect anything, right?) ``` # Steps to reproduce - Select text by dragging over it - Click the text, which copies - Notice that now one character where you clicked is selected - Right-click into your input - Observe the text actually pasted is just that character selected after (or during) copying # Expected behavior The original selected text should be pasted # Actual behavior The character below where you clicked to copy that was accidentally selected is pasted
Author
Owner

@carlos-zamora commented on GitHub (Jul 6, 2019):

The copy specifically happens when you right-click. So, on step 3, you created a new selection. Then, you actually copied it on step 4.

Are you saying that you want the selection to be copied when you left-click on the selection?

@carlos-zamora commented on GitHub (Jul 6, 2019): The copy specifically happens when you right-click. So, on step 3, you created a new selection. Then, you actually copied it on step 4. Are you saying that you want the selection to be copied when you left-click on the selection?
Author
Owner

@439bananas commented on GitHub (Jul 6, 2019):

The copy specifically happens when you right-click. So, on step 3, you created a new selection. Then, you actually copied it on step 4.

Are you saying that you want the selection to be copied when you left-click on the selection?

Pretty much...

@439bananas commented on GitHub (Jul 6, 2019): > The copy specifically happens when you right-click. So, on step 3, you created a new selection. Then, you actually copied it on step 4. > > Are you saying that you want the selection to be copied when you left-click on the selection? Pretty much...
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 8, 2019):

This will be helped by #1553

@DHowett-MSFT commented on GitHub (Jul 8, 2019): This will be helped by #1553
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2598