Skip to content

Merge .NET MAUI 10 SR10 servicing changes into main - #38300

Closed
kubaflo wants to merge 25 commits into
mainfrom
release/10.0.1xx-sr10
Closed

kubaflo wants to merge 25 commits into
mainfrom
release/10.0.1xx-sr10

Conversation

@kubaflo

@kubaflo kubaflo commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

Merges the fixes and release updates delivered in .NET MAUI 10 SR10 (10.0.101) from release/10.0.1xx-sr10 back into main.

Highlights include:

  • Android fixes for activity-result handling, MediaPicker, SwipeView, root-page back handling, status-bar contrast, screenshots, translated views, and window behavior.
  • iOS fixes for safe-area behavior, button styling, the iOS 26 tab bar, and pull-to-refresh with an empty CollectionView.
  • Windows handler fixes and regression coverage.
  • The SkiaSharp 4.150.1 update, including the corresponding Graphics and Resizetizer changes.
  • Device, UI, and unit-test coverage for the servicing fixes.

Merge Notes

When reconciling this release branch with main, preserve main's active version branding, XHarness versions, and localization pipeline while retaining SR10's SkiaSharp 4.150.1 dependency set and servicing fixes. Duplicate Issue37361 and Issue37418 UI-test additions already present on main should use the main versions.

Issues Fixed

This is a release integration PR. The individual fixes are linked through the included commits and their original pull requests.

kubaflo and others added 25 commits August 10, 2026 22:32
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Summary

Completes the SR10 servicing-version transition by using the `servicing`
prerelease label, removing the `inflight/current` override, and enabling
stable package versions.
…ed containers (#37312)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

Backport of #37291 to `release/10.0.1xx-sr10`.

/cc @kubaflo

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…#37594)

Removes the repository-owned VG20 import and synchronizes the relevant
Arcade credential-removal changes on `release/10.0.1xx-sr10`.

Tracked by https://dev.azure.com/dnceng/internal/_workitems/edit/12131

Copilot-Session: e890b71a-c1aa-416c-a15c-be8da9fdd9b4
### Description of Change

Backport of #37607 to `release/10.0.1xx-sr10`.

Replace MAUI's long-lived `dn-bot-ceapex-package-r` dependency with a
short-lived Entra token for OneLocBuild package restores. The pipeline
acquires the token through the existing DevDiv
`dnceng-onelocbuild-ceapex` workload-identity service connection and
Arcade's shared federated-token helper. GitHub PR authentication is
unchanged.

The DevDiv service connection is configured for workload identity
federation and MAUI pipeline 13330 is authorized to use it.

### Validation

- Parsed the updated pipeline as YAML.
- Verified the shared federated-token helper exists on this release
branch.
- Verified the legacy ceapex PAT is no longer referenced by MAUI's
repo-owned localization pipeline.

### Issues Fixed

Tracks [dnceng work item
10151](https://dev.azure.com/dnceng/internal/_workitems/edit/10151).

Copilot-Session: 80f6a0c6-7947-4200-bb78-7f0fc01d671a
…ies (#37724)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1e7f77e3-4862-4b92-a662-d12b5918bb59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d00747b7-96f3-4e7a-8dfb-e3a48db04b2d
Backport the isolated four-file Shell payload from #37542 without its unrelated inflight branch history.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d00747b7-96f3-4e7a-8dfb-e3a48db04b2d
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d00747b7-96f3-4e7a-8dfb-e3a48db04b2d
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->


### Root cause
 
This PR addresses Android, iOS, and Mac Catalyst test failures.
 
#### Android
 
The MediaPicker tests searched for a specific Android Photo Picker
"Cancel" button using XPath. The system picker UI differs across Android
versions, causing the tests to time out.
 
#### Mac Catalyst
 
Issue36769 test fails because the OnAppearing code in CI runs before the
button is loaded in the UI.

### Description of Change
 
- Removed `WaitForPhotoPicker()` from the Android MediaPicker tests.
- Used `App.Back()` directly to close the picker before verifying
cancellation.
- Re-saved the expected iOS snapshots.
- Fixed test case failure in Issue36769 - Switched Issue36749 button
background verification from OnAppearing to the Button's Loaded event
for reliable pass/fail checks
 
### Tests
 
#### Android
 
- `OverlappingPhotoPickerRequestsAreRejected`
- `PickPhotosAsyncShouldReturnFromChildActivity`
 
#### iOS
 
- `ShellTabBarBackgroundColor`
- `MoreTabShouldRespectNavBarCustomization`
- `BottomTabColorTest`
 
#### Mac Catalyst
 
- `NativeStyledButtonPreservesInitialAndClearsDetachedBackground`
…37960)

### Issue Details
On Windows, dynamically updating the content of a ContentPresenter can
throw a System.ArgumentException when the content contains controls such
as RefreshView or ScrollView.
 
This happens when a platform view is reused while it is still attached
to its previous WinUI parent, causing a “PointerEventRouter object
already has an owner” exception.

The initial fix detached the platform view from its previous parent, but
some scenarios still failed because:
* The logical content was not detached before creating the
control-template platform tree.
* ContentPanel.Content = null could leave stale children in
CachedChildren.

### Description of Change

<!-- Enter description of the fix in this section -->
Updated the Windows ContentViewHandler content-update flow to properly
handle direct, templated, and empty content.
* Detach the existing content before creating the template platform
tree.
* Added a RemoveFromParent helper to safely detach the incoming platform
view without disconnecting its handler.
* Clear ContentPanel.CachedChildren before assigning new content or when
the content becomes null.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Fixes #37958 

Fixed below test cases:
Control.DeviceTests:
* ControlTemplateInitializesCorrectly 
* ControlTemplateCanBeReplacedCorrectly 
* ContentView updating it's ControlTemplate works 
* PropagateContextCorrectly

Core.DeviceTests:

* Content Initializes Correctly
* Content Updates Correctly
* ContentIsSetInitially
* WindowSupportsEmptyPage_Platform
This pull request makes a minor UI adjustment to the `Issue35826` test
case in the host app. The only change is to the padding of the
`pickerAvailabilityLabel`, increasing the top padding to improve visual
spacing.

* UI Adjustment:
* Increased the top padding of pickerAvailabilityLabel from 0 to 150 in
Issue35826.cs to prevent the label from being hidden behind the status
bar, which could cause a timeout exception during the test.

Removed the unnecessary changes added by Copilot that caused an
exception in the test, while retaining the original test and the fix
from #36769

**Fixes:** #37746

---------

Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>
Backport of #37772.

(cherry picked from commit 9d587ce)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b603f8b0-824a-48b4-92e5-c891584266bf
Backport of #37404 for #37361.

(cherry picked from commit 53ba0db)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b603f8b0-824a-48b4-92e5-c891584266bf
Backport of #37680 for #37638.

(cherry picked from commit 1cdf1b6)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b603f8b0-824a-48b4-92e5-c891584266bf
…load (#37746)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!-- release-readiness-agent: human-approval-required -->
## Summary

Integrates the staged **.NET MAUI 10.0.101 (SR10.1)** payload from
`inflight/10.0.101` into `release/10.0.1xx-sr10`, based on the shipped
`10.0.100` release.

The full release inventory and servicing decisions are tracked in
#37723. The [authoritative regression
query](https://github.com/dotnet/maui/issues?q=repo%3Adotnet%2Fmaui%20is%3Aissue%20is%3Aopen%20%28label%3A%22regressed-in-10.0.10%22%20OR%20label%3A%22regressed-in-10.0.20%22%20OR%20label%3A%22regressed-in-10.0.30%22%20OR%20label%3A%22regressed-in-10.0.40%22%20OR%20label%3A%22regressed-in-10.0.50%22%20OR%20label%3A%22regressed-in-10.0.60%22%20OR%20label%3A%22regressed-in-10.0.70%22%20OR%20label%3A%22regressed-in-10.0.80%22%20OR%20label%3A%22regressed-in-10.0.90%22%20OR%20label%3A%22regressed-in-10.0.100%22%29)
remains the source for the servicing-regression scope.

> [!IMPORTANT]
> Checked items under **Staged in this PR** are merged into
`inflight/10.0.101`, not yet into `release/10.0.1xx-sr10`. They reach
the release branch only when this aggregate PR is merged.

## Status at a glance

- [x] Stage the selected regression backports independently on
`inflight/10.0.101`.
- [x] Stage the SkiaSharp 4.150.1 payload and selective
`SKPath.AddCircle` compatibility fix.
- [x] Stage the isolated iOS 26 Liquid Glass TabBar payload from #37542.
- [ ] Complete or explicitly defer the six unresolved servicing
regressions listed below.
- [ ] Complete the release gates and merge this PR into
`release/10.0.1xx-sr10`.

## Staged in this PR

### Servicing regressions

- [x] #35826 — Android MediaPicker completion from child activities.
Source #35944; component backport #37724.
- [x] #36298 — Windows dynamic `ContentPresenter` assignment. Source
#36430; component backport #37725.
- [x] #36749 — preserve custom iOS Button styling. Source #36769;
component backport #37726.
- [x] #36736 — align Android SwipeItem content. Source #36820; component
backport #37727.
- [x] #34563 — per-edge iOS safe-area handling. Source #37033; component
backport #37728.
- [x] #37706 — Android root-page back handling. Source #37709; component
backport #37729.
- [x] #37705 — Android Material 3 status-bar contrast. Source #37710;
component backport #37730.
- [x] #37423 — restore native iOS 26 Liquid Glass TabBar behavior
through the isolated four-file payload from merged PR #37542.
- [x] #37418 — Android off-screen `TranslationY` layout padding. Source
fix #37772; focused backport commit `10799e67df`.
- [x] #37361 — iOS RefreshView pull-to-refresh with an empty
CollectionView. Source fix #37404; focused backport commit `d26faa8e93`.
- [x] #37638 — Android `Screenshot.CaptureAsync` synchronous UI-thread
deadlock. Source fix #37680; focused backport commit `778040a233`.

### Planned Skia payload

- [x] Port the Skia/Svg.Skia update from #36255 through component
backport #37731.
- [x] Include only the required `SKPath.AddCircle` compatibility change
from #36787; exclude its unrelated SourceGen changes.
- [x] Confirm a matching SkiaSharp 4.150.1 native-assets/PDB build for
`_SkiaSharpNativeAssetsVersion`, or record an explicit release-owner
waiver.

### Integration follow-ups

- [x] Apply the aggregate review fixes for safe-area cache invalidation,
Activity-for-result cancellation ownership, and Android theme-test
semantics.
- [x] Keep the final branch payload as focused release commits without
unrelated `inflight/current` history.
- [x] Validate the #37418 and #37638 focused Android UI tests on the
aggregate branch (2/2 passed).
- [ ] Validate the #37361 focused iOS UI test on the aggregate branch.

## Already present on the SR10 base — no new merge needed

- [x] #36852 — Android Shell hidden-fragment leak; fix #36903 is already
in SR10.
- [x] #36735 — Android ActivityIndicator visibility; fix #36748 is
already in SR10.
- [x] #36853 — Android Shell DI-singleton route blank page; fix #36903
is already in SR10.
- [x] #36942 — Android UI event handling; fix #36988 is already in SR10.
- [x] #37281 — Android scrolling inside shadowed containers; backport
#37312 is already in SR10.

## Completed disposition — no backport required

- [x] #37700 — closed as intended SR10 `SwipeView.Threshold` behavior
from #36878; any SwipeItem sizing concern should be tracked separately.

## Not included yet — merge, defer, or explicitly disposition before
payload freeze

- [ ] #35301 — Windows CollectionView applies WinUI styling by default;
no linked fix PR.
- [ ] #34491 — Android CollectionView selection with
`PointerGestureRecognizer`; replacement fix #37952 remains draft against
`main`.
- [ ] #35059 — iOS app becomes unresponsive when opening a ComboBox
dropdown in landscape; no linked fix PR.
- [ ] #37407 — iOS TimePicker default `t` format forces en-US; fix
#37797 remains draft against `main`.
- [ ] #36269 — Android `SafeAreaEdges` with Shell tab navigation and
hidden TabBar; source fix #36474 remains open against `main` and has no
SR10 backport.
- [ ] #37657 — Android Shell/root-page `OnBackButtonPressed()` in
Release builds; no linked fix PR.

## Release completion

### Before merging this PR

- [ ] Refresh the authoritative query and reconcile #37723 with its
current results.
- [ ] Record an include/defer/close decision for every unresolved
regression above.
- [ ] Validate every included regression on its reported OS/version
using the `10.0.101` candidate packages.
- [ ] Complete current-head aggregate CI and resolve or explicitly waive
every required build/device/UI-test failure.
- [ ] Resolve or waive the Skia native-assets/PDB release gate.
- [ ] Bump `eng/Versions.props` from patch `100` to `101` after the
payload is frozen.
- [ ] Obtain the required independent current-head maintainer approvals.
- [ ] Merge #37746 into `release/10.0.1xx-sr10`.

### After merge

- [ ] Confirm BAR promotion and the per-build validation feed used by
the ship assessment.
- [ ] Publish and tag `10.0.101`.
- [ ] Complete the Visual Studio insertion/default-MAUI-version update.

## Notes

- No automated `/backport` command was used for this release payload.
- Supersedes #37745, which GitHub automatically closed when the
integration branch was renamed from `vs/10.0.101` to
`inflight/10.0.101`.
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Summary

Bumps the SR10 release branch package patch version from `10.0.100` to
`10.0.101` after the SR10.1 payload merge.

## Changes

- Updates `eng/Versions.props` `PatchVersion` from `100` to `101`.
- Leaves `SdkBandVersion`, `PreReleaseVersionLabel=servicing`, and
stable-package settings unchanged.

## Context

Follow-up to #37746 for the 10.0.101 release completion checklist.
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Description

Removes the empty Azure Pipelines conditional left in
`eng/pipelines/common/variables.yml` after #37594 removed the
`Publish-Build-Assets` variable group.

The dangling mapping prevents the official `dotnet-maui` pipeline from
compiling:

```text
/eng/pipelines/common/variables.yml (Line: 81, Col: 70): Expected a mapping
/eng/pipelines/common/variables.yml (Line: 81, Col: 7): Expected at least one key-value pair in the mapping
```

This blocked [official build
3063359](https://dev.azure.com/dnceng/internal/_build/results?buildId=3063359)
before any jobs ran, preventing creation and default-channel promotion
of the SR10.1 BAR build.

## Validation

- Parsed `eng/pipelines/common/variables.yml` successfully with Ruby
Psych.
- `git diff --check` passes.

After merge, rerun the `dotnet-maui` official pipeline for
`release/10.0.1xx-sr10`; its existing `.NET 10.0.1xx SDK`
default-channel mapping should create the per-build validation feed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b603f8b0-824a-48b4-92e5-c891584266bf
Copilot AI lite review requested due to automatic review settings September 7, 2026 21:51
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool September 7, 2026 21:52 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38300

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38300"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

There are confirmed functional regressions/bugs in changed code paths (Android screenshot fallback threading, iOS empty-view frame under transforms, Skia bitmap sampling quality, Windows reparent detach coverage) that should be addressed before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR is a broad servicing-oriented update spanning dependency/version changes, platform behavior fixes (Android/iOS/Windows), and new regression test coverage across unit/device/UI tests.

Changes:

  • Updates servicing/versioning settings and upgrades SkiaSharp/SVG-related dependencies, with follow-up code changes for newer Skia APIs.
  • Refactors Android activity-result request handling to support per-ComponentActivity registration, activity recreation adoption, and task-removal cancellation, plus new device/UI tests.
  • Improves multiple platform behaviors (iOS safe-area edge arbitration + empty view RTL behavior, Android status-bar appearance + safe-area animation heuristics + SwipeView measurement, Windows reparenting logic) with new tests.
File summaries
File Description
src/SingleProject/Resizetizer/test/UnitTests/ResizetizeImagesTests.cs Adjusts SVG test coverage to use a new invalid SVG and moves link_out.svg to the “good” set.
src/SingleProject/Resizetizer/test/UnitTests/images/invalid.svg Adds a deliberately invalid SVG to validate error handling.
src/SingleProject/Resizetizer/src/TizenSplashUpdater.cs Removes obsolete SkiaSharp FilterQuality usage (sampling options used instead).
src/SingleProject/Resizetizer/src/SkiaSharpTools.cs Removes obsolete SkiaSharp FilterQuality and establishes sampling options via SKSamplingOptions.
src/SingleProject/Resizetizer/src/SkiaSharpAppIconTools.cs Adds local pragma around an obsolete Skia API call to preserve compatibility.
src/SingleProject/Resizetizer/src/ResizetizerPackages.projitems Adds new SVG-related package references and includes their assemblies in the packaged file set.
src/Graphics/tests/Graphics.Tests/ImageAssert.cs Fixes error message text and uses the actual threshold parameter in the failure message.
src/Graphics/src/Graphics.Skia/SKPaintExtensions.cs Removes obsolete SKPaint text/font member copying for SkiaSharp 4.x.
src/Graphics/src/Graphics.Skia/SkiaTextLayout.cs Routes legacy SKPaint overload to the SKFont overload with null font and updated rationale.
src/Graphics/src/Graphics.Skia/SkiaCanvasStateService.cs Removes obsolete SKPaint.Typeface default initialization.
src/Graphics/src/Graphics.Skia/SkiaCanvasState.cs Migrates font-related behavior away from removed SKPaint text members and updates reset path for SkiaSharp 4.x.
src/Graphics/src/Graphics.Skia/SkiaCanvas.cs Migrates path creation to SKPathBuilder, updates text drawing overload usage, and adds explicit bitmap sampling.
src/Graphics/src/Graphics.Skia/SKGraphicsExtensions.cs Migrates SKPath building to SKPathBuilder and returns detached paths.
src/Essentials/test/DeviceTests/Tests/ActivityStateManagerRecreation_Tests.Android.cs Adds device tests validating activity-result request completion across recreation/task-removal/security-exception scenarios.
src/Essentials/test/DeviceTests/Tests/ActivityStateManager_Tests.cs Adds unit test coverage for adopting a pending request across recreated owner state.
src/Essentials/src/Screenshot/Screenshot.android.cs Changes PixelCopy callback threading/await behavior to avoid UI-thread deadlocks and adjusts fallback behavior.
src/Essentials/src/Platform/ActivityStateManager.android.cs Reworks activity lifecycle callback wiring to coordinate activity-result request state save/destroy hooks; adds test-only disposal helper.
src/Essentials/src/Platform/ActivityForResultRequest.android.cs Major refactor: per-activity launchers via ConditionalWeakTable, per-owner pending requests, saved-state adoption, and task-presence monitoring/cancellation.
src/Essentials/src/MediaPicker/MediaPicker.android.cs Requires ComponentActivity for photo picker path and launches using per-activity request instances.
src/Core/tests/DeviceTests/Handlers/Window/WindowHandlerTests.Android.cs Adds tests validating status bar appearance calculation for Material2/Material3 themes.
src/Core/tests/DeviceTests/Handlers/View/ViewHandlerTests.iOS.cs Adds reflection-based device test for safe-area cache invalidation on keyboard transitions.
src/Core/tests/DeviceTests/Handlers/View/ViewHandlerTests.Android.cs Adds Android test to ensure shadow invalidation logic is scoped to the immediate child.
src/Core/src/Transforms/Metadata.xml Exposes PlatformWrapperView.shouldInvalidateShadow to bindings (internal visibility).
src/Core/src/Platform/iOS/TabbedViewExtensions.cs Removes iOS 26-specific tab bar background workaround.
src/Core/src/Platform/iOS/SafeAreaPadding.cs Adds safe-area utilities, descendant invalidation helper, and shared ancestor-blocking edge resolution logic.
src/Core/src/Platform/iOS/MauiView.cs Switches from whole-view safe-area parent handling to per-edge blocked-edge caching + invalidation propagation.
src/Core/src/Platform/iOS/MauiScrollView.cs Mirrors MauiView per-edge safe-area ancestor-blocking behavior for scroll views, including uniform inset path.
src/Core/src/Platform/iOS/ButtonExtensions.cs Adjusts background reset behavior to avoid wiping native styling on initial mapping when Window is null.
src/Core/src/Platform/Android/WindowExtensions.cs Refactors status bar icon appearance computation and exposes an internal helper for tests.
src/Core/src/Platform/Android/SafeAreaExtensions.cs Refines “animating vertically” detection heuristic to reduce false positives.
src/Core/src/Platform/Android/MauiSwipeView.cs Adjusts measurement modes to keep SwipeItem content vertically centered while preserving width requirements.
src/Core/src/Handlers/View/ViewHandler.iOS.cs Ensures safe-area changes invalidate platform safe-area state across descendants.
src/Core/src/Handlers/ContentView/ContentViewHandler.Windows.cs Changes reparenting logic to detach the existing platform view from its current parent before reusing.
src/Core/src/Handlers/Border/BorderHandler.Windows.cs Adds broader reparent-detach logic to avoid WinUI COM exceptions when reusing elements under different parents.
src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformWrapperView.java Narrows wrapper invalidation to “immediate child invalidated while shadow active” and exposes helper.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7396.cs Removes an iOS 26-specific ignore guard from a Shell UI test.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37706.cs Adds Android UI test for root page OnBackButtonPressed being invoked per press.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37638.cs Adds Android UI test regression for Screenshot.CaptureAsync deadlock scenario.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37418.cs Adds UI test for safe-area padding correctness during translated bottom-sheet animation.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37361.cs Adds UI test for RefreshView pull-to-refresh when CollectionView is empty.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36749.cs Adds iOS/MacCatalyst UI test for preserving native UIButton styling on initial render.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36298.cs Adds UI test for Windows ContentPresenter dynamic content switching crash regression.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35826.cs Adds Android UI tests covering child-activity photo picker lifecycle/overlap/cancellation behaviors.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34563.cs Adds iOS/MacCatalyst UI test for per-edge safe-area handling when parent/child constraints differ.
src/Controls/tests/TestCases.HostApp/MauiProgram.cs Registers a new custom handler used by the Issue36749 regression scenario.
src/Controls/tests/TestCases.HostApp/Issues/Issue37706.cs Adds HostApp page for back button override regression reproduction.
src/Controls/tests/TestCases.HostApp/Issues/Issue37638.cs Adds HostApp page to reproduce synchronous screenshot capture deadlock.
src/Controls/tests/TestCases.HostApp/Issues/Issue37418.cs Adds HostApp bottom-sheet Shell scenario used by safe-area padding regression test.
src/Controls/tests/TestCases.HostApp/Issues/Issue37361.cs Adds HostApp page to reproduce RefreshView + empty CollectionView pull-to-refresh behavior.
src/Controls/tests/TestCases.HostApp/Issues/Issue36749.cs Adds HostApp page + custom handler + native UIButton subclass to validate initial styling preservation.
src/Controls/tests/TestCases.HostApp/Issues/Issue36298.cs Adds HostApp page for Windows ContentPresenter dynamic content switching regression.
src/Controls/tests/TestCases.HostApp/Issues/Issue35826.cs Adds HostApp page + Android child activity for MediaPicker child-activity request behavior.
src/Controls/tests/TestCases.HostApp/Issues/Issue34563.cs Adds HostApp page for per-edge safe-area ancestor arbitration scenario.
src/Controls/tests/DeviceTests/Elements/SwipeView/SwipeViewTests.cs Extends test handler registration to include Label/CollectionView for SwipeView device tests.
src/Controls/tests/DeviceTests/Elements/SwipeView/SwipeViewTests.Android.cs Adds Android device test validating SwipeItem icon+text alignment when wrapping a CollectionView.
src/Controls/tests/Core.UnitTests/WindowsTests.cs Adds unit tests verifying Window.CanConsumeBackNavigation behavior for overrides/containers.
src/Controls/src/Core/Window/Window.cs Adjusts back navigation consumption logic to treat app/3P overrides as consuming candidates.
src/Controls/src/Core/Page/Page.cs Adds cached detection for whether OnBackButtonPressed is overridden outside the framework assembly.
src/Controls/src/Core/Handlers/Items2/iOS/ItemsViewController2.cs Changes empty view attachment/alignment/RTL behavior to keep gestures working while avoiding RTL flips.
eng/Versions.props Updates servicing/versioning flags and bumps several dependency versions (including SkiaSharp band).
eng/Signing.props Adds signing entries for new SVG assemblies.
eng/pipelines/common/variables.yml Removes a conditional variable-group inclusion related to publish assets.
eng/pipelines/common/localization.yml Updates localization pipeline to use federated token acquisition instead of a Ceapex PAT parameter.
eng/NuGetVersions.targets Adds package version wiring for new SVG assemblies.
eng/common/core-templates/steps/publish-logs.yml Updates secret redaction token list used when publishing logs.
eng/common/core-templates/post-build/common-variables.yml Removes Publish-Build-Assets variable-group inclusion from post-build variables.
eng/common/core-templates/jobs/codeql-build.yml Removes Publish-Build-Assets variable-group inclusion from CodeQL job.
eng/common/core-templates/job/publish-build-assets.yml Removes Publish-Build-Assets variable-group inclusion from publish-assets job.
Review details
  • Files reviewed: 67/73 changed files
  • Comments generated: 5
  • Review effort level: Lite

Comment on lines +679 to 687
if (!_emptyUIView.Frame.Equals(frame))
{
// UIKit's Frame is undefined under a non-identity transform.
_emptyUIView.Transform = CGAffineTransform.MakeIdentity();
_emptyUIView.Frame = frame;
}

AlignEmptyView();

Comment on lines +50 to 64
static void RemoveFromParent(FrameworkElement? platformView)
{
if (platformView?.Parent is ContentPanel existingContentPanel)
{
existingContentPanel.CachedChildren.Remove(platformView);
if (existingContentPanel.Content == platformView)
{
existingContentPanel.Content = null;
}
}
else if (platformView?.Parent is MauiPanel existingPanel)
{
existingPanel.CachedChildren.Remove(platformView);
}
}
Comment on lines +71 to +73
// PixelCopy may complete off the UI thread, where view-based fallbacks are unsafe.
if (!MainThread.IsMainThread)
return null;
Comment on lines 876 to 880
var destRect = new SKRect(rx1, ry1, rx2, ry2);
var paint = CurrentState.GetImagePaint(1, 1);
_canvas.DrawBitmap(bitmap, srcRect, destRect, paint);
var sampling = new SKSamplingOptions(SKFilterMode.Nearest, SKMipmapMode.None);
_canvas.DrawBitmap(bitmap, srcRect, destRect, sampling, paint);
paint?.Dispose();
Comment thread eng/Versions.props
Comment on lines +6 to +14
<PatchVersion>101</PatchVersion>
<SdkBandVersion>10.0.100</SdkBandVersion>
<PreReleaseVersionLabel>ci.main</PreReleaseVersionLabel>
<PreReleaseVersionLabel Condition="'$(BUILD_SOURCEBRANCH)' == 'refs/heads/inflight/current'">ci.inflight</PreReleaseVersionLabel>
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
<PreReleaseVersionIteration>
</PreReleaseVersionIteration>
<!-- Servicing builds have different characteristics for the way dependencies, baselines, and versions are handled. -->
<IsServicingBuild Condition=" '$(PreReleaseVersionLabel)' == 'servicing' ">true</IsServicingBuild>
<!-- Enable to remove prerelease label and produce stable package versions. -->
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>
@kubaflo kubaflo changed the title Release/10.0.1xx sr10 Merge .NET MAUI 10 SR10 servicing changes into main Sep 7, 2026
@kubaflo kubaflo closed this Sep 7, 2026
kubaflo added a commit that referenced this pull request Sep 8, 2026
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Merges the fixes and release updates delivered in .NET MAUI 10 SR10
(`10.0.101`) from `release/10.0.1xx-sr10` back into `main`.

Highlights include:

- Android fixes for activity-result handling, `MediaPicker`,
`SwipeView`, root-page back handling, status-bar contrast, screenshots,
translated views, and window behavior.
- iOS fixes for safe-area behavior, button styling, the iOS 26 tab bar,
and pull-to-refresh with an empty `CollectionView`.
- Windows handler fixes and regression coverage.
- The SkiaSharp 4.150.1 update, including the corresponding Graphics and
Resizetizer changes.
- Device, UI, and unit-test coverage for the servicing fixes.

### Merge Notes

The merge preserves the active version branding, XHarness versions, and
localization pipeline on `main` while retaining SR10's SkiaSharp 4.150.1
dependency set and servicing fixes. Duplicate Issue37361 and Issue37418
UI-test additions already present on `main` use the `main` versions.

Supersedes #38300.

### Issues Fixed

This is a release integration PR. The individual fixes are linked
through the included commits and their original pull requests.
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 27, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — ef44a8c0 Deployed Sep 7, 2026 by kubaflo via conclusion #1783
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants