Skip to content

layout - reduce scope of workbench.secondarySideBar.forceMaximized to only apply when editors are closed#291293

Merged
bpasero merged 3 commits intomainfrom
ben/retail-ape
Jan 28, 2026
Merged

layout - reduce scope of workbench.secondarySideBar.forceMaximized to only apply when editors are closed#291293
bpasero merged 3 commits intomainfrom
ben/retail-ape

Conversation

@bpasero
Copy link
Copy Markdown
Member

@bpasero bpasero commented Jan 28, 2026

We later need to revisit how a better layout would be for focus on sessions, but the current implementation has too many bugs.

fix #291080

…to only apply when editors are closed

We later need to revisit how a better layout would be for focus on sessions, but the current implementation has too many bugs.
Copilot AI review requested due to automatic review settings January 28, 2026 14:22
@bpasero bpasero enabled auto-merge (squash) January 28, 2026 14:22
@bpasero bpasero self-assigned this Jan 28, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refines the behavior and messaging of workbench.secondarySideBar.forceMaximized to reduce unintended layout side effects, focusing auxiliary bar maximization on scenarios where editors are not visible.

Changes:

  • Adjusts the setting description for workbench.secondarySideBar.forceMaximized to better reflect intended behavior.
  • Simplifies the auxiliary bar auto-maximization trigger to depend only on “no visible editors”.
  • Removes the “maximize on sidebar/panel hide” listener to reduce layout churn.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/vs/workbench/browser/workbench.contribution.ts Updates the user-facing description for the secondary sidebar force-maximized setting.
src/vs/workbench/browser/layout.ts Narrows when auxiliary bar auto-maximization is triggered and removes a visibility-change hook.

Comment thread src/vs/workbench/browser/layout.ts
Comment thread src/vs/workbench/browser/workbench.contribution.ts Outdated
bpasero and others added 2 commits January 28, 2026 15:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bpasero bpasero merged commit c721687 into main Jan 28, 2026
22 checks passed
@bpasero bpasero deleted the ben/retail-ape branch January 28, 2026 15:01
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Justified panel opening breaks the maximized agent session (2nd side bar)

3 participants