Skip to content

Conversation

@alexr00
Copy link
Member

@alexr00 alexr00 commented Jan 9, 2026

Fixes #286280

@alexr00 alexr00 requested review from Copilot and joaomoreno January 9, 2026 16:11
@alexr00 alexr00 enabled auto-merge (squash) January 9, 2026 16:11
@alexr00 alexr00 self-assigned this Jan 9, 2026
@vs-code-engineering
Copy link

📬 CODENOTIFY

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

@bpasero

Matched files:

  • src/vs/workbench/browser/parts/views/viewPane.ts

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 fixes an issue where the welcome view's "wide" state (applied when width > 640px) was not remembered when the welcome view element was recreated. The wide state is now persisted in a private field and reapplied when a new element is created.

Key changes:

  • Added _wide boolean field to track the wide state across element recreations
  • Modified layout() to store the wide state calculation
  • Modified onDidChangeViewWelcomeState() to apply the stored wide state to newly created elements

@alexr00 alexr00 removed the request for review from joaomoreno January 22, 2026 11:08
@alexr00 alexr00 merged commit 97c316e into main Jan 22, 2026
27 of 28 checks passed
@alexr00 alexr00 deleted the alexr00/issue286280 branch January 22, 2026 11:48
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.

"Forward a Port" button inconsistent alignment

3 participants