Skip to content

Fix panel alignment command breaking with maximized auxiliary bar#292022

Merged
bpasero merged 2 commits intomainfrom
copilot/fix-justify-panel-command
Jan 31, 2026
Merged

Fix panel alignment command breaking with maximized auxiliary bar#292022
bpasero merged 2 commits intomainfrom
copilot/fix-justify-panel-command

Conversation

Copy link
Contributor

Copilot AI commented Jan 31, 2026

Panel alignment commands (e.g., "Set Panel Alignment to Justify") cause a blank screen when the auxiliary bar is maximized.

adjustPartPositions() moves views relative to the editor part, which is hidden when auxiliary bar is maximized. This causes the grid layout to break.

Change:

  • Exit auxiliary bar maximized state before adjusting part positions in setPanelAlignment()
  • Follows existing pattern used in setPanelHidden, setEditorHidden, setSideBarHidden
// Leave auxiliary bar maximized state because changing
// panel alignment requires the editor part to be visible
this.setAuxiliaryBarMaximized(false);
Original prompt

This section details on the original issue you should resolve

<issue_title>In agent sessions window, running the justify panel command breaks</issue_title>
<issue_description>1. Using a fresh vs code --transient
2. Run open agent sessions window
3. Run command to "Set panel alignment to justify"

🐛 blank screen</issue_description>

Comments on the Issue (you are @copilot in this section)

@bpasero Good catch, this actually reproduces in code stable and all you need is a maximised 2nd sidebar.

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix justify panel command break in agent sessions window Fix panel alignment command breaking with maximized auxiliary bar Jan 31, 2026
Copilot AI requested a review from bpasero January 31, 2026 07:09
@bpasero bpasero marked this pull request as ready for review January 31, 2026 12:57
Copilot AI review requested due to automatic review settings January 31, 2026 12:57
@bpasero bpasero enabled auto-merge (squash) January 31, 2026 12:57
@bpasero bpasero added this to the February 2026 milestone Jan 31, 2026
Copy link
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@bpasero bpasero merged commit 306d939 into main Jan 31, 2026
27 of 28 checks passed
@bpasero bpasero deleted the copilot/fix-justify-panel-command branch January 31, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In agent sessions window, running the justify panel command breaks

3 participants