Focus should move to next tab when closing a tab #17244
Labels
Area-User Interface
Issues pertaining to the user interface of the Console or Terminal
Help Wanted
We encourage anyone to jump in on these.
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Product-Terminal
The new Windows Terminal.
Milestone
Description of the new feature/enhancement
When a tab is closed, focus should move to the tab to the right instead of to the left.
In Firefox and Chrome, when a tab is closed by clicking on 馃棛, the cursor naturally lands on the following tab, and the browser shows the content of that tab, allowing the user to close multiple tabs by chain-clicking.
In Terminal, when a tab is closed by clicking on 馃棛 (or by any other method), the previous tab is shown even though the cursor is on the following tab. The user must move their cursor from the 馃棛, click elsewhere on the tab to preview its contents, and then decide whether to close it. An absentminded user may close important tabs because of this unexpected behavior, particularly because Terminal does not confirm tab closing #6549. Before the user moves their cursor, the tab does not show its usual hover effect, adding to the confusion.
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: