Skip to content

Restore ToolStripContentPanel double buffering after switching professional renderers - #15533

Open
XFEstudio wants to merge 1 commit into
dotnet:mainfrom
XFEstudio:fix/winforms-toolstrip-content-buffer-nov30
Open

XFEstudio wants to merge 1 commit into
dotnet:mainfrom
XFEstudio:fix/winforms-toolstrip-content-buffer-nov30

Conversation

@XFEstudio

@XFEstudio XFEstudio commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

Save the panel's original double-buffering setting when the first professional renderer takes over. Restore that value when switching back to a system renderer.

Customer Impact

Switching from one professional renderer to another overwrites the saved setting with the temporary value true. A panel that started with double buffering off then keeps it on after returning to system rendering.

Regression?

Reproduced on .NET 10 and the current main baseline. The introduction point is unknown.

Risk

The state change is limited to renderer transitions. Tests cover existing renderer-change behavior alongside the new sequence.

Test methodology

The added regression failed on the baseline. All 62 renderer-related tests passed on the candidate, with zero skipped. Both builds completed with zero warnings or errors. Windows validation.

Test environment(s)

Windows x64, Debug, repository .NET 12 SDK.

Developed with AI assistance and independently reviewed by an AI agent.

Microsoft Reviewers: Open in CodeFlow

@XFEstudio
XFEstudio requested a review from a team as a code owner November 30, 2026 01:11
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.

1 participant