microsoft / microsoft/terminal

The tabs detach too easily.

Open
#18,161 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

External-Blocked-WinUI3 Issue-Bug Needs-Tag-Fix
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Description of the new feature

This is more of a QoL thing against user mistakes and I think it should affect others too since I find it counterintuitive compared to the tabs we're used to on Browsers. Basically if you SLIGHTLY move a tab up or down it detouches from the window (unlike Browsers that it takes more dragging).

It is worsened by the window returning to a smaller size if you try to move it from maximization which leads to the mouse cursor moving from the center of the window bar next to a tab area potentially (making it more prone to mistakes).

Proposed technical implementation details

Detouching should probably be harder to do. Make it so it needs more distance before it detouches a tab (ideally close to the popular Browsers' implementation).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the tab drag and detach handling in the Windows Terminal codebase; no specific file or test is named in the issue. Compare the current detach threshold with common browser behavior and add coverage for small versus sufficiently large vertical drags. Done means slight tab movement no longer detaches the tab, while intentional dragging still does.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.