microsoft / microsoft/terminal

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

Open
#12,576 1 comment 0 reactions 0 assignees View on GitHub
Area-SettingsUI Help Wanted Issue-Bug Priority-3 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on Windows Terminal Preview 1.13.10395.0 using the listed steps, especially closing the Settings tab with the middle mouse button. Trace the tab-close and focus behavior, then verify that the previously active profile tab receives keyboard input without an extra click.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.