Skip to content

Conversation

@CGNonofr
Copy link
Contributor

Because the empty message div is hidden AFTER the actual webview is layout, the first webview layout occurs while it's placed outside of the workbench (at the bottom on the empty message div).

So another layout is required to place it correctly, leading to a flicker

fix #270776

@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/paneCompositePart.ts

}

protected override showComposite(composite: Composite): void {
this.layoutEmptyMessage(false);
Copy link
Contributor Author

@CGNonofr CGNonofr Oct 10, 2025

Choose a reason for hiding this comment

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

The parameter is mandatory, because at that point, this.getActiveComposite() still returns null (for overlay webviews at least)

CGNonofr pushed a commit to CodinGame/monaco-vscode-api that referenced this pull request Oct 10, 2025
CGNonofr pushed a commit to CodinGame/monaco-vscode-api that referenced this pull request Oct 10, 2025
Copy link
Collaborator

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

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

Thanks!

@mjbvz mjbvz enabled auto-merge October 10, 2025 16:02
@vs-code-engineering vs-code-engineering bot added this to the October 2025 milestone Oct 10, 2025
@bpasero bpasero requested a review from benibenj October 11, 2025 06:52
@bpasero
Copy link
Member

bpasero commented Oct 11, 2025

Adding @benibenj for a proper review.

@mjbvz mjbvz modified the milestones: October 2025, November 2025 Nov 4, 2025
@bpasero
Copy link
Member

bpasero commented Nov 24, 2025

@microsoft-github-policy-service rerun

@benibenj benibenj modified the milestones: November 2025, December 2025 Nov 24, 2025
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.

Flicker when opening a panel

4 participants