Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 10, 2025

Backport of #14022 to release/10.0

/cc @JeremyKuhne @LeafShi1

Customer Impact

When setting a Region on a Control before it is created, it won't be applied when the Control is finally created. This was regressed early in .NET 10 development.

The workaround is after construction to get the Region, set a null Region, then put back the original Region. While this will set the correct Region to the HWND it may have side effects.

Testing

Manual testing and regression tests.

Risk

Low. Removed an added boolean logic error.

@github-actions github-actions bot requested a review from a team as a code owner November 10, 2025 17:35
@JeremyKuhne JeremyKuhne added the servicing-consider .NET Shiproom label indicating a PR seeks to enter into a branch under Tell-Mode criteria label Nov 10, 2025
@JeremyKuhne JeremyKuhne added this to the .NET 10.0 milestone Nov 10, 2025
@JeremyKuhne JeremyKuhne added the 💥 regression-preview Regression from a preview release label Nov 10, 2025
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.13962%. Comparing base (cfb7ae4) to head (4785ede).
⚠️ Report is 1 commits behind head on release/10.0.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           release/10.0      #14035         +/-   ##
======================================================
+ Coverage      77.10282%   77.13962%   +0.03679%     
======================================================
  Files              3273        3273                 
  Lines            644979      645033         +54     
  Branches          47701       47701                 
======================================================
+ Hits             497297      497576        +279     
+ Misses           144002      143780        -222     
+ Partials           3680        3677          -3     
Flag Coverage Δ
Debug 77.13962% <100.00000%> (+0.03679%) ⬆️
integration 19.06233% <0.00000%> (+0.08149%) ⬆️
production 51.99978% <100.00000%> (+0.07815%) ⬆️
test 97.40998% <100.00000%> (+0.00039%) ⬆️
unit 49.33526% <100.00000%> (-0.00418%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@steveisok steveisok added servicing-approved .NET Shiproom approved the PR for merge and removed servicing-consider .NET Shiproom label indicating a PR seeks to enter into a branch under Tell-Mode criteria labels Nov 10, 2025
@LeafShi1 LeafShi1 merged commit 62f001b into release/10.0 Nov 11, 2025
8 checks passed
@LeafShi1 LeafShi1 deleted the backport/pr-14022-to-release/10.0 branch November 11, 2025 01:16
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

💥 regression-preview Regression from a preview release servicing-approved .NET Shiproom approved the PR for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants