Skip to content

Conversation

@joaomoreno
Copy link
Member

Complement to #281773

Copilot AI review requested due to automatic review settings December 8, 2025 10:26
@joaomoreno joaomoreno enabled auto-merge (squash) December 8, 2025 10:26
@joaomoreno joaomoreno self-assigned this Dec 8, 2025
@vs-code-engineering
Copy link

vs-code-engineering bot commented Dec 8, 2025

📬 CODENOTIFY

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

@bpasero

Matched files:

  • src/vs/workbench/browser/layout.ts

benibenj
benibenj previously approved these changes Dec 8, 2025
@joaomoreno joaomoreno added this to the December / January 2026 milestone Dec 8, 2025
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.

Pull request overview

This PR complements #281773 by refactoring the panel hiding logic in setPanelHidden() to fix a timing issue (#281772) when hiding a maximized panel. The changes reorder when the panel unmaximize operation occurs relative to other state updates.

  • Moves the isPanelMaximized() call earlier (before runtime state changes) to capture the initial maximized state
  • Repositions the unmaximize operation to occur before the grid visibility change rather than after all panel visibility logic
  • Updates the comment to reflect the reason for the fix (preventing conflicts) rather than the previous caching-related explanation

@joaomoreno joaomoreno merged commit c779c3d into main Dec 8, 2025
38 of 39 checks passed
@joaomoreno joaomoreno deleted the joao/indigo-constrictor branch December 8, 2025 11:40
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.

3 participants