previous tab does not receive keyboard input after closing setting tab with middle mouse button #16871

Open
opened 2026-01-31 05:25:43 +00:00 by claunia · 1 comment
Owner

Originally created by @heruji on GitHub (Feb 25, 2022).

Windows Terminal version

1.13.10395.0

Windows build number

10.0.22000.527

Other Software

No response

Steps to reproduce

  1. Open Windows Terminal Preview and get the default profile tab
  2. Open setting tab from the dropdown
  3. Randomly click some profiles in the Profile list
  4. Close the setting tab with middle mouse button
  5. The default profile tab does not receive keyboard input (as if the window not focused)
  6. Have to click the tab to make it work again

Expected Behavior

The previous tab gets automatically focused and receives keyboard input after closing the setting tab with middle mouse button

Actual Behavior

The previous tab does not automatically get focused and receive keyboard input

Originally created by @heruji on GitHub (Feb 25, 2022). ### Windows Terminal version 1.13.10395.0 ### Windows build number 10.0.22000.527 ### Other Software _No response_ ### Steps to reproduce 1. Open Windows Terminal Preview and get the default profile tab 2. Open setting tab from the dropdown 3. Randomly click some profiles in the Profile list 4. Close the setting tab with middle mouse button 5. The default profile tab does not receive keyboard input (as if the window not focused) 6. Have to click the tab to make it work again ### Expected Behavior The previous tab gets automatically focused and receives keyboard input after closing the setting tab with middle mouse button ### Actual Behavior The previous tab does not automatically get focused and receive keyboard input
claunia added the Help WantedIssue-BugPriority-3Product-TerminalArea-SettingsUI labels 2026-01-31 05:25:44 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 25, 2022):

WHAT

We have so many places that yeet focus back into the tab content when something unexpected gets focused. How did this new one slip through?

This repros on 1.12 as well, which means it's not just a Controlsv2 thing.

(#6680 for linking purposes)

@zadjii-msft commented on GitHub (Feb 25, 2022): WHAT We have so many places that yeet focus back into the tab content when something unexpected gets focused. How did this new one slip through? This repros on 1.12 as well, which means it's not just a Controlsv2 thing. (#6680 for linking purposes)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16871