Skip to content

Fix panel tab overlap when terminal title changes - #334927

Open
wynn (wynnsimon) wants to merge 1 commit into
microsoft:mainfrom
wynnsimon:wynnsimon/fix-terminal-title-overlap
Open

Fix panel tab overlap when terminal title changes#334927
wynn (wynnsimon) wants to merge 1 commit into
microsoft:mainfrom
wynnsimon:wynnsimon/fix-terminal-title-overlap

Conversation

@wynnsimon

Copy link
Copy Markdown

Fixes #334923

When the terminal title grows after changing directories in Modern UI, it can overlap the panel tabs because their available width is not recalculated.

This change forwards inline title content changes through the toolbar and schedules the existing panel layout on the next animation frame, without rebuilding toolbar items.

Verified with Modern UI and classic UI at narrow and wide widths. Added regression tests for change notifications and toolbar item preservation. Related tests, type checking, and lint pass.

Copilot AI balanced review requested due to automatic review settings September 7, 2026 14:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Benjamin Christopher Simmonds (@benibenj)

Matched files:

  • src/vs/workbench/browser/parts/paneCompositePart.ts

Anthony Kim (@anthonykim1)

Matched files:

  • src/vs/workbench/contrib/terminal/browser/terminalView.ts
  • src/vs/workbench/contrib/terminal/test/browser/terminalView.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modern UI: terminal cwd label overlaps panel tabs after changing directory

6 participants