Repository navigation
Merge .NET MAUI 10 SR10 servicing changes into main - #38301
Conversation
<!-- 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>
…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
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38301Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38301" |
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
🟡 Changes recommended
ContentViewHandler’s WinUI detachment helper still misses the generic Panel-parent removal fallback, which can leave a view parented and undermine the COM-exception mitigation.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR is a release-integration merge that brings .NET MAUI 10 SR10 (10.0.101) servicing fixes and dependency updates from release/10.0.1xx-sr10 back into main, including the SkiaSharp 4.150.1 band update and the associated platform/graphics adjustments and tests.
Changes:
- Updates MAUI Graphics/Resizetizer for SkiaSharp 4.150.1 (API shifts like
SKFontusage,SKPathBuilder, sampling options, and updated SVG dependencies). - Improves platform behavior across Android/iOS/Windows (Android activity-result lifecycle correctness, iOS safe-area arbitration + invalidation, Windows reparenting/COM-exception avoidance).
- Adds/adjusts regression coverage via device tests, UI tests, and unit tests for the servicing fixes.
File summaries
| File | Description |
|---|---|
| src/SingleProject/Resizetizer/test/UnitTests/ResizetizeImagesTests.cs | Updates SVG test inputs to validate good vs invalid SVG handling. |
| src/SingleProject/Resizetizer/test/UnitTests/images/invalid.svg | Adds a deliberately malformed SVG for negative test coverage. |
| src/SingleProject/Resizetizer/src/TizenSplashUpdater.cs | Removes obsolete SkiaSharp paint filtering property usage. |
| src/SingleProject/Resizetizer/src/SkiaSharpTools.cs | Removes obsolete FilterQuality usage in SKPaint initialization. |
| src/SingleProject/Resizetizer/src/SkiaSharpAppIconTools.cs | Suppresses obsoletion warning around SKPath.AddCircle usage. |
| src/SingleProject/Resizetizer/src/ResizetizerPackages.projitems | Adds additional Svg.* dependencies and includes their assemblies for packing. |
| src/Graphics/tests/Graphics.Tests/ImageAssert.cs | Fixes assertion message and aligns threshold reporting with the parameter. |
| src/Graphics/src/Graphics.Skia/SKPaintExtensions.cs | Removes now-obsolete text/font-related SKPaint member copying. |
| src/Graphics/src/Graphics.Skia/SkiaTextLayout.cs | Routes SKPaint overload to SKFont path (paint no longer carries font info). |
| src/Graphics/src/Graphics.Skia/SkiaCanvasStateService.cs | Moves default typeface handling to SKFont (not SKPaint). |
| src/Graphics/src/Graphics.Skia/SkiaCanvasState.cs | Shifts text sizing/typeface logic from SKPaint to SKFont; updates reset behavior. |
| src/Graphics/src/Graphics.Skia/SkiaCanvas.cs | Replaces obsolete SKPath APIs with SKPathBuilder; updates text draw and bitmap sampling overload. |
| src/Graphics/src/Graphics.Skia/SKGraphicsExtensions.cs | Uses SKPathBuilder for path construction to match newer SkiaSharp APIs. |
| src/Essentials/test/DeviceTests/Tests/ActivityStateManagerRecreation_Tests.Android.cs | Adds device test coverage for activity recreation and pending activity-result requests. |
| src/Essentials/test/DeviceTests/Tests/ActivityStateManager_Tests.cs | Adds unit test coverage for adopting pending requests from recreated state. |
| src/Essentials/src/Platform/ActivityStateManager.android.cs | Plumbs activity-result request lifecycle hooks through activity lifecycle callbacks. |
| src/Essentials/src/Platform/ActivityForResultRequest.android.cs | Reworks activity-result request handling to be per-activity, recreation-safe, and cancellation-aware. |
| src/Essentials/src/MediaPicker/MediaPicker.android.cs | Ensures launches use the correct ComponentActivity owner (prevents hangs/ownership issues). |
| src/Core/tests/DeviceTests/Handlers/Window/WindowHandlerTests.Android.cs | Adds regression coverage for status bar appearance resolution under Material2/Material3 themes. |
| src/Core/tests/DeviceTests/Handlers/View/ViewHandlerTests.iOS.cs | Adds regression coverage for safe-area cache invalidation during keyboard transitions. |
| src/Core/src/Platform/iOS/TabbedViewExtensions.cs | Removes iOS 26-specific tab bar background workaround logic. |
| src/Core/src/Platform/iOS/SafeAreaPadding.cs | Adds descendant invalidation helper and shared per-edge parent-blocking resolver. |
| src/Core/src/Platform/iOS/MauiView.cs | Implements per-edge safe-area ancestor arbitration with cached blocked-edge resolution. |
| src/Core/src/Platform/iOS/MauiScrollView.cs | Aligns scroll view safe-area behavior with per-edge ancestor arbitration for both inset paths. |
| src/Core/src/Platform/iOS/ButtonExtensions.cs | Preserves native UIButton background styling on initial mapping when Window is null. |
| src/Core/src/Platform/Android/WindowExtensions.cs | Centralizes status bar appearance calculation and adds Material3 surface-based resolution. |
| src/Core/src/Platform/Android/MauiSwipeView.cs | Adjusts SwipeItem measurement to keep icon/text alignment stable (esp. with CollectionView). |
| src/Core/src/Handlers/View/ViewHandler.iOS.cs | Invalidates safe area (including descendants) when SafeAreaEdges changes. |
| src/Core/src/Handlers/ContentView/ContentViewHandler.Windows.cs | Changes reparenting strategy to avoid WinUI COM exceptions by detaching from prior parents. |
| src/Core/src/Handlers/Border/BorderHandler.Windows.cs | Adds robust detachment from various parent types to avoid reparenting COM exceptions. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7396.cs | Removes the iOS 26 ignore guard from an existing Shell UITest. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue37706.cs | Adds Android UITest for root page back button override invocation. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36749.cs | Adds iOS/MacCatalyst UITest for preserving native UIButton styling on initial render. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36298.cs | Adds UITest for Windows content switching scenario that previously crashed. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35826.cs | Adds Android UITest coverage for MediaPicker child-activity activity-result behavior. |
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34563.cs | Adds iOS/MacCatalyst UITest for safe-area edge arbitration with mismatched parent/child edges. |
| src/Controls/tests/TestCases.HostApp/MauiProgram.cs | Registers test-only iOS/MacCatalyst handler for Issue36749 custom button. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue37706.cs | Adds HostApp reproduction page for root back-button override behavior. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue36749.cs | Adds HostApp reproduction page + handler to validate native UIButton styling preservation. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue36298.cs | Adds HostApp reproduction page for Windows content switching crash. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue35826.cs | Adds HostApp reproduction page (and Android child activity) for MediaPicker request behaviors. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue34563.cs | Adds HostApp reproduction page for safe-area edge arbitration scenarios. |
| src/Controls/tests/DeviceTests/Elements/SwipeView/SwipeViewTests.cs | Ensures handler registrations cover Label/CollectionView for new SwipeView device test coverage. |
| src/Controls/tests/DeviceTests/Elements/SwipeView/SwipeViewTests.Android.cs | Adds Android device test validating SwipeItem icon/text alignment with CollectionView content. |
| src/Controls/tests/Core.UnitTests/WindowsTests.cs | Adds unit tests for back navigation consumption logic based on overrides. |
| src/Controls/src/Core/Window/Window.cs | Uses HasBackButtonPressedOverride to decide if back navigation can be consumed. |
| src/Controls/src/Core/Page/Page.cs | Adds cached detection of external OnBackButtonPressed override presence. |
| eng/Versions.props | Updates SkiaSharp/Svg/ExCSS and related dependency versions. |
| eng/Signing.props | Adds signing entries for newly included Svg.* assemblies. |
| eng/NuGetVersions.targets | Wires new Svg.* package version updates through central versioning. |
Review details
- Files reviewed: 49/55 changed files
- Comments generated: 1
- Review effort level: Lite
| 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); | ||
| } | ||
| } |
|
Tese are backports from SR10.1 |
|
@dalexsoto stamp |
1 similar comment
|
@dalexsoto stamp |
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) fromrelease/10.0.1xx-sr10back intomain.Highlights include:
MediaPicker,SwipeView, root-page back handling, status-bar contrast, screenshots, translated views, and window behavior.CollectionView.Merge Notes
The merge preserves the active version branding, XHarness versions, and localization pipeline on
mainwhile retaining SR10's SkiaSharp 4.150.1 dependency set and servicing fixes. Duplicate Issue37361 and Issue37418 UI-test additions already present onmainuse themainversions.Supersedes #38300.
Issues Fixed
This is a release integration PR. The individual fixes are linked through the included commits and their original pull requests.