Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird focus change after multiline paste #17308

Open
j4james opened this issue May 22, 2024 · 0 comments
Open

Weird focus change after multiline paste #17308

j4james opened this issue May 22, 2024 · 0 comments
Labels
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. Product-Terminal The new Windows Terminal.

Comments

@j4james
Copy link
Collaborator

j4james commented May 22, 2024

Windows Terminal version

1.21.1272.0

Windows build number

10.0.19045.4412

Other Software

No response

Steps to reproduce

  1. Enable the rightClickContextMenu option.
  2. Enable the multiLinePasteWarning option.
  3. Copy multiple lines of text to the clipboard from somewhere.
  4. Open two cmd shell tabs.
  5. In the second tab, execute the following command: copy con somefilename.txt
  6. Right click in the terminal window and choose the paste option from the context menu.
  7. When the warning dialog appears, select Paste anyway.
  8. Once the text has pasted, press Ctrl+Z then Enter.

Expected Behavior

You should see 1 files(s) copied and the pasted content should be written to the file.

Actual Behavior

The Ctrl+Z key press has no effect, and Enter switches the focus to the first tab.

@j4james j4james added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 22, 2024
@carlos-zamora carlos-zamora added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Product-Terminal The new Windows Terminal. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 29, 2024
@carlos-zamora carlos-zamora added this to the Terminal v1.22 milestone May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants