You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dragging a pinned editor tab to the start of the regular tabs row places it at the end of pinned tabs instead #313987
bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-tabsVS Code editor tab issues
When dragging an editor tab from the pinned tabs row and dropping it at the beginning of the regular (unpinned) tabs row, the tab is not moved as expected.
Instead of becoming the first tab in the regular tabs row, it is placed at the end of the pinned tabs row.
In the screencapture the focus.ts tab is dragged around to illustrate the issue.
took a look in the two-row layout, dropping a pinned tab at the start of the unpinned row targets stickyCount, but the same-group order-preserving decrement lowers it to stickyCount-1, which the group model still treats as sticky (it only unsticks when toIndex > stickyCount-1), so it stays pinned at the end. opened a PR that unsticks it after the move when dropped onto the unpinned row.
bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-tabsVS Code editor tab issues
Activity
dobbydobap commentedon Jul 7, 2026
took a look in the two-row layout, dropping a pinned tab at the start of the unpinned row targets
stickyCount, but the same-group order-preserving decrement lowers it tostickyCount-1, which the group model still treats as sticky (it only unsticks whentoIndex > stickyCount-1), so it stays pinned at the end. opened a PR that unsticks it after the move when dropped onto the unpinned row.meganrogge commentedon Jul 13, 2026
Benjamin Christopher Simmonds (@benibenj) now when I move a pinned tab, it becomes unpinned. Is that expected?