Repository navigation
[automated] Merge branch 'net11.0' => 'release/11.0.1xx-rc2' - #39790
Closed
github-actions[bot] wants to merge 482 commits into
Closed
github-actions[bot] wants to merge 482 commits into
github-actions[bot] wants to merge 482 commits into
Conversation
…38665) <!-- 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 Fix the two Android API 36 / Pixel 3 XL SafeAreaEdges failures in [build 1602666](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1602666&view=logs&j=217a4b68-6397-5ebe-0d4b-1177e8401828&t=3a87bec2-0591-537a-1f29-40eb70176265). - Preserve the full top inset throughout a full-height page's navigation transition, including `0 < viewTop <= topInset`. Check animation before partial overlap, and preserve the translated-child height guard from #38295. - Replace catch-and-retry NUnit assertions in `SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` with delayed constraints. NUnit 4.0.1 records an assertion failure before throwing, so catching it and succeeding on a later attempt still leaves the test failed. The original CI device log actually shows the grid shrinking from 2705 to 1613 pixels and returning to 2705 after dismissal. - Preserve the 15-second polling window, 500-ms interval, keyboard visibility checks, and one-pixel restoration tolerance. Check restored height and Y together on the same rectangle. - Add six Android native cases exercising the production inset helper: full-height offsets 0, 1, 99, 100, and 101 with a 100-pixel top inset, plus a translated short child. Assert padding and inset consumption. No snapshots, screenshot tolerances, public APIs, dependencies, or CI configuration are changed. `LayoutShouldBeCorrectOnFirstNavigation` remains unchanged. ### Regression origins | Failure | Introducing change | Evidence | | --- | --- | --- | | Persistent incorrect top inset during navigation | #33788, commit `9c0887b8c343a1a98762acfccb64190355e175ee` | Removed the deferred inset reapplication added in #33285 and introduced `viewTop > top`, leaving the final `0 < viewTop <= top` transition range unprotected. | | Transient keyboard measurements retained as NUnit failures | #31022, commit `0371d318282cc6f0cbb96d36315e7fc2f70680ff` | Introduced catch-and-retry `RetryAssert` while the Android UI project already referenced NUnit 4.0.1. | | The specific keyboard test exposing that defect | #35083 | Added `SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` using that helper. The later keyboard waits in #37741 did not isolate recorded NUnit failures. | These are source-history attributions, not a historical full-build bisect. The keyboard failure is a test-harness defect, not proof that the grid never resized. ### Validation Tested commit: `8aa80ab8d9312be1aeddfbb200ff580e5c678598`. Environment: dedicated Android API 36 / Pixel 3 XL ARM64 emulator, 1440x2960 at density 560, Release HostApp, existing NUnit 4.0.1 / adapter 4.5.0. Actual TRX and xUnit XML results were inspected, not inferred from process exit codes. | Coverage | Result | | --- | --- | | `SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` | Passed in **3 consecutive focused runs**, on the first attempt each time. | | `LayoutShouldBeCorrectOnFirstNavigation` | Passed in **3 consecutive focused runs**, on the first attempt each time, against the unchanged snapshot and tolerance. | | Six native inset boundary cases, without native fix | Three expected failures: offsets 1, 99, and 100 produced padding 99, 1, and 0 instead of 100. Settled-origin, offset-101, and translated-child controls passed. | | Same six native cases, with native fix | **6 passed, 0 failed**. | | Complete `Issue28986_ContentPage` fixture, final with-fix A/B leg | **5 passed, 0 failed**, first attempt. | | Standalone NUnit 4.0.1 probe | All five expected outcomes confirmed: caught assertions remain failed; delayed height and compound bounds constraints recover; permanently incorrect height or bounds still fail. | The repository `verify-tests-fail.ps1` finished with **`VERIFICATION PASSED`**, using frozen base `49b62062536b4a2b957d965f76035eb56806615c` and restoring only the two fix files. The final native A/B evidence is deterministic. The without-fix keyboard fixture was timing-dependent and also encountered element-lookup failures; its logs contain the original retained `2705` assertion. The standalone NUnit probe independently isolates that bookkeeping defect. No claim is made that every broad-fixture failure was caused by this PR's targeted bug. Initial verification attempts were blocked by the pinned XHarness runtime and its default instrumentation selection. They are not counted as native proof. Final native execution used the manifest's explicit `com.microsoft.maui.core.devicetests.TestInstrumentation` with a session-local runtime. No repository tool versions or machine-wide SDKs were changed. Focused UI command, executed three times: ```powershell pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android -Configuration Release -DeviceUdid emulator-5554 -TestFilter 'FullyQualifiedName~Issue33038|FullyQualifiedName~SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle' ``` The worktree was clean after verification. PR CI is separate: [maui-pr build 1602977](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1602977) is running; this is not a full-CI-green or full-suite-green claim. No `maui-pr-uitests` build had been scheduled at the time of this update. ### Related work and constraints The native correction follows the narrowly scoped approach proposed in closed, unmerged #38641, without its unrelated MacCatalyst skip. Open #37953 proposes a broader SafeArea redesign; this PR keeps a small correction and fixes the separate NUnit bookkeeping defect. Do not replace the navigation baseline, widen its tolerance, or remove the translated-child guard to make the test pass. Do not use caught NUnit assertions as a polling predicate. The generic Appium helper remains unchanged here to avoid adding an NUnit dependency or broad test-infrastructure changes. ### Issues Fixed Fixes #37555 Fixes #37556 Refs #33038 Refs #38135 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…nect (#38653) <!-- 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. !!!!!!! --> ### Issue Details When a CollectionView has an EmptyView, MAUI posts a layout callback to size it. If the handler is disconnected before that callback runs, the code still tries to access PlatformView. it crashes the application. ### Root Cause Android queues the empty-view layout work to run during the next UI-loop cycle. Meanwhile, navigation can disconnect the handler and clear its PlatformView. The queued callback later reads PlatformView, causing the “PlatformView cannot be null here” exception. ### Description of Change The native RecyclerView is saved before scheduling the delayed empty-view layout update, so the callback does not access the handler after it disconnects. The callback safely uses this saved view to find the empty-view item and request a new layout, preventing the PlatformView cannot be null here crash. Validated the behavior in the following platforms - [x] Android - [ ] Windows - [ ] iOS - [ ] Mac ### Issues Fixed Fixes #38526 ### Output ScreenShot |Before|After| |--|--| | <video src="https://github.com/user-attachments/assets/b61c5b9c-cb57-400d-9f82-64bb08a68b4f" >| <video src="https://github.com/user-attachments/assets/fa9e3ab3-cd52-4eca-8966-489f5d753613">| --------- Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…#38651) <!-- 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. !!!!!!! --> ### Issue Details label?.SetBinding(...) should create a compiled binding when label is not null. Instead, MAUI did not generate the required interceptor, so the app compiled but threw Call to SetBinding<...> was not intercepted at runtime. ### Root Cause label.SetBinding(...) and label?.SetBinding(...) have different C# syntax-tree shapes. The MAUI generator recognized only the ordinary call shape, so it skipped null-conditional calls and did not generate an interceptor. ### Description of Change GetInvokedMethodName now recognizes both syntax types. Therefore, ordinary and null-conditional SetBinding calls follow the same interceptor-generation process. Validated the behavior in the following platforms - [x] Android - [x] Windows - [x] iOS - [x] Mac ### Issues Fixed Fixes #38365 ### Output ScreenShot |Before|After| |--|--| | <video src="https://github.com/user-attachments/assets/0c5a735d-4a06-4261-8488-f19f464a2be9" >| <video src="https://github.com/user-attachments/assets/b700be4b-776f-4def-bbd2-8325d1007bd1">|
…s not reactive at runtime (#38551) <!-- 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! ### RootCause: In `GesturePlatformManager.iOS.cs`, the native `UITapGestureRecognizer` is created once in `CreateTapRecognizer` with the `NumberOfTapsRequired` value snapshotted at creation time. The PropertyChanged handler OnTapGestureRecognizerPropertyChanged only reacted to TapGestureRecognizer.ButtonsProperty changes (triggering LoadRecognizers()), so changing NumberOfTapsRequired at runtime never propagated to the native recognizer. (Android already reads NumberOfTapsRequired dynamically on each tap via a predicate filter, so it wasn't affected.) ### Fix Description: Mirrored the existing `OnSwipeGestureRecognizerPropertyChanged` pattern — when NumberOfTapsRequiredProperty changes, look up the already-created native `UITapGestureRecognizer` instances in `_gestureRecognizers` and update NumberOfTapsRequired directly, since UIKit allows changing this property on a live recognizer. ### Issues Fixed Fixes #38291 ### Tested the behaviour in the following platforms - [ ] Android - [ ] Windows - [x] iOS - [x] Mac ### Output Screenshot Before Issue Fix | After Issue Fix | |----------|----------| |<video width="100" height="100" alt="Before Fix" src="https://github.com/user-attachments/assets/24f29bdd-e499-474a-9f38-adf317cb3add">|<video width="100" height="100" alt="After Fix" src="https://github.com/user-attachments/assets/c8d078fb-c5c4-4762-a559-5f8c885bfb52">|
…38784) <!-- 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 Backports #38769 from `inflight/current` to `inflight/candidate`. - Restores immediate Android `Loaded` callbacks when a view attaches, reverting the `view.Post()` deferral introduced by #31590. - Removes the deferral-specific detach/re-attach workaround from #34734, which is no longer needed. - Removes the `Issue14364` test page and UI test, as in the source PR. The landed commit `c47caea729ac2e9b14e34407f426e6c5c88290e7` was applied without conflicts. The backport is patch-identical to the source commit. ### Issues Fixed Addresses #38360 on `inflight/candidate`, matching #38769. ### Validation - Android Core build succeeded: `dotnet build src/Core/src/Core.csproj -f net10.0-android36.0 -p:TargetFrameworks=net10.0-android36.0` (three Gradle Java 8 obsolescence warnings). - Repository formatting completed, scoped to `src/Core/src/Platform/Android/ViewExtensions.cs`. - Verified matching stable patch IDs and a clean worktree. - Device/UI tests were not run. Co-authored-by: BagavathiPerumal <93652794+BagavathiPerumal@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…iOS device rotation (#38815) <!-- 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 Backport of #38771 from `inflight/current` to `inflight/candidate`. The fix, regression test, and all three screenshot baselines are unchanged from the original PR. ### Root cause The issue occurs because of the cell being arranged too early during the preferred layout pass when the collection view constraints change during device rotation. This updates the cached arranged size before LayoutSubviews receives the final native bounds, which can cause the layout to skip the required final arrangement and result in incorrect item positioning or sizing in RTL layouts. ### Solution description The fix involves deferring the arrangement to LayoutSubviews when the layout constraints change, such as during device rotation, so the cell can be arranged using the actual native bounds. At the same time, inline arrangement is retained for dynamic content changes to preserve the behavior introduced by the existing CollectionView2 dynamic content fix. ### Regression PR #37437 ### Validation The original PR reports validation on iOS. Platform tests were not rerun for this backport. Repository formatting completed successfully, and the candidate patch ID matches the original commit exactly, including the binary screenshot baselines. ### Issues Fixed Fixes #38622 ### Output ScreenShot Before/after recordings from the original PR: |Platform|Before|After| |--|--|--| |iOS| <video src="https://github.com/user-attachments/assets/4c2b5c8f-fd29-40b0-a8f3-5063684dc6fd">| <video src="https://github.com/user-attachments/assets/948ef0eb-f31d-47e7-b7a9-509a54680f16">| Co-authored-by: BagavathiPerumal <bagavathiperumal.a@syncfusion.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…test (#39060) <!-- 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! ### Issue Details The ScrollView Does Not Leak test fails in CI after PR [#37428](#37428), while the test passes locally. ### Root Cause The ScrollViewer has direct event subscriptions to ScrollViewHandler for Loading, Loaded, Unloaded, and ViewChanged. These event subscriptions can keep the ScrollViewHandler and its associated MAUI ScrollView alive during teardown, causing the ScrollView Does Not Leak test to fail in CI. The queued dispatcher callback from PR [#37428](#37428) can also retain the ScrollViewHandler and native ScrollViewer while it is pending. ### Description of Change Updated the native ScrollViewer event subscriptions to use a ScrollViewEventProxy that holds a weak reference to the ScrollViewHandler for Loading, Loaded, Unloaded, and ViewChanged. This prevents the native event subscriptions from strongly retaining the handler and the associated MAUI ScrollView during teardown. The queued dispatcher callback also uses weak references to avoid retaining the ScrollViewHandler and native ScrollViewer while the callback is pending. These changes preserve the existing event and focus-restoration behavior while preventing the ScrollView from being retained during teardown. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dhivya-SF4094 <127717131+Dhivya-SF4094@users.noreply.github.com>
…etrics (#39230) <!-- 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. !!!!!!! --> <!-- Enter description of the fix in this section --> Ports the issue reproduction and font-image centering approach from [kubaflo#719](kubaflo#719), with additional native regression coverage and fresh before/after verification against upstream `main` (`84b1fb39ad56e22a51d29d4bbf141b03b02e4648`). **Root cause:** centering a font's typographic line box does not necessarily center the visible glyph. The difference is visible in the iOS 26 glass navigation back button used by ManualTests **Categories → Commands → G4**. **Fix:** on iOS 26+, use CoreText glyph-path bounds to center the actual ink in the existing image renderer. Unlike the source PR, this does **not** compress glyphs horizontally by 0.75 or crop the image height. It retains the original image dimensions, natural glyph shape, color, and rendering mode. Older iOS and MacCatalyst retain the original drawing path; glyphs without usable path bounds also retain that path. **Coverage:** adds a Shell reproduction with OpenSansRegular, a valid bound back command, and an iOS screenshot-centroid regression test. Adds nine native image-source cases covering multiple glyphs, sizes, scales, a combining mark, a bundled custom font, image/ink dimensions, colors, and rendering modes. Updates five reviewed `ios-26` visual baselines for existing ImageButton, ToolbarItem, and Button scenarios; older-iOS and other-platform snapshots and all test tolerances remain unchanged. Both apps were built from this worktree's source project references, not substituted packaged MAUI libraries. The original ManualTests G4 files, including their OpenSansSemibold icon, were left unchanged. | Scenario | Unfixed product | Fixed product | | --- | --- | --- | | Original ManualTests G4, iOS 26.5 | Glyph midpoint **3.83 pt below** button center | **0.17 pt below** center | | Original G4 glyph ink dimensions | **22 × 38 physical pixels** | **22 × 38 physical pixels**, unchanged | | New HostApp issue scenario, iOS 26.5 | Glyph midpoint **4.00 pt below** center | **0.00 pt** offset | | Native `FontImageSourceServiceTests`, iOS 26.5 | **16 executed: 10 passed, 6 centering cases failed** | **16 executed: 16 passed, 0 failed** | | Native compatibility run, iOS 18.5 | Not rerun as an unfixed control | **16 executed: 16 passed, 0 failed** | Measurements use the native accessibility back-button frame and screenshot ink, excluding the glass rim. Six new centering assertions were proven to fail with **only the product fix removed**, while the existing tests and rendering-mode cases passed. Restoring the fix made the entire selected suite pass. The compiled UI test's actual `MeasureGlyphOffset` method was also executed offline against the real HostApp screenshots: the unchanged product failed its 1-point tolerance, and the fixed product passed, using both floor and nearest integer conversions of accessibility frames. Both apps' back navigation was exercised and recorded. The original G4 app has a pre-existing `BackCommand`/`GoBackCommand` binding-name mismatch; that was not modified or treated as proof of a valid command invocation. The new reproduction has a matching command binding. **No XCTest, WebDriverAgent, or Appium iOS execution was used locally.** Navigation, screenshots, and recordings used dedicated background simulators; native xUnit tests ran through the repository's managed XHarness test app launched with `simctl`. The complete NUnit/Appium UI fixture was compiled but **not executed through its driver locally**. No physical-device verification is claimed. Raw simulator recordings, without overlays or rescaling. Each demonstrates opening G4, using the custom back button, and opening G4 again. **Original ManualTests app — before** https://github.com/user-attachments/assets/46c57727-f03a-4c7c-ab2b-91f957d2b9f4 **Original ManualTests app — after** https://github.com/user-attachments/assets/227a9545-319d-4db6-ac39-fb0b357e7483 **New HostApp reproduction — before** https://github.com/user-attachments/assets/16cd530d-fe9d-4d42-9be4-50cc692fc820 **New HostApp reproduction — after** https://github.com/user-attachments/assets/a08b273b-f91b-4a01-84c9-58bef36aa010 `A` below is the local evidence directory; these are the exact session-helper invocations used. Build helpers invoke `dotnet build` on the checked-in projects with `UseMaui=false`, source references, the original net10 target frameworks, and `iossimulator-arm64`. Native execution helpers install the checked-in test app, launch its managed runner, and assert fresh xUnit XML contains exactly the 16 selected cases. | Command | Result | | --- | --- | | `bash "$A/verification-build.sh" app final-fixed` | ManualTests built; 0 warnings/errors | | `bash "$A/verification-build.sh" host final-fixed` | HostApp built; 0 warnings/errors | | `bash "$A/verification-build.sh" device final-fixed` | Core.DeviceTests built; 0 warnings/errors | | `bash "$A/verification-build.sh" ui-tests final-fixed` | iOS NUnit assembly built; 0 warnings/errors | | `python3 "$A/run-image-source-tests.py" unfixed-control-native fail` | Expected regression reproduced: 6 centering failures, 10 passes | | `python3 "$A/run-image-source-tests.py" final-fixed-native pass` | iOS 26.5: 16/16 passed | | `python3 "$A/run-image-source-tests.py" final-ios18-compatibility pass 4DAEF62A-DEB2-48AC-B9B4-AA491DFAE3A1` | iOS 18.5: 16/16 passed | | `dotnet run --no-build --project ../oracle/Oracle.csproj -- unfixed-hostapp fail` | Compiled screenshot oracle reproduced the mismatch | | `dotnet run --no-build --project ../oracle/Oracle.csproj -- final-fixed-hostapp pass` | Compiled screenshot oracle passed the 1-point tolerance | Repository `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822` was run with `--include` restricted to the four changed code files: exit 0, no formatting changes; workspace-loading warnings were reported. `git diff --check` passed. **Toolchain qualifications:** the exact repository servicing SDK was unavailable, so an external SDK-selection directory pinned installed .NET SDK **10.0.100**, without modifying `global.json` or changing the framework targets. Builds used the installed iOS SDK **26.0.11017**, Xcode **26.6**, `ValidateXcodeVersion=false`, and ad-hoc simulator signing (`EnableCodeSigning=true`, `CodesignKey=-`, `CodesignRequireProvisioningProfile=false`). iOS 26.5 ran on an iPhone 17 Pro Max simulator; the compatibility run used an iPhone 16 Pro Max simulator on iOS 18.5. CI results are separate from these local results. The first full CI cycle at `2781d7f3c3` passed [maui-pr](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626655) and [maui-pr-devicetests](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626657). The actual results XML from both iOS Core Helix work items confirms **16/16 `FontImageSourceServiceTests` passed**, including all nine new cases; all seven device-test Helix job inventories were inspected for hidden failures. In [maui-pr-uitests build 1626656](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626656), **`Issue31936.FontImageSourceBackGlyphIsVerticallyCentered` actually passed** (run `45111838`, result `100329`, 4.703 seconds). This is an executed CI UI test result, not an inference from its attributes or the job status. The overall UI pipeline was not green. Three iOS 26 visual failures reflect the intentional font-image ink placement change: `Issue13474Test`, `VerifyToolbarItemIconColor`, and `Issue22433_Default`. Their actual CI images were reviewed and copied as the new baselines. The Button test stops at Default on failure, so its subsequent `Issue22433_Layout` and `Issue22433_Spacing` pages were also exercised and captured in the source-built HostApp on a dedicated background **iPhone 11 Pro / iOS 26.5**. The Default capture was **pixel-identical to CI**, including alpha, after the normal status/home-indicator crop and excluding the single right-edge pixel absent from CI's screenshot. No resizing or image compositing was used. The two follow-on captures preserve all button text, borders, dimensions, padding, and spacing; their differences are the centered font-image glyphs plus negligible one-channel-value navigation-shadow noise. Only the five `ios-26` PNGs changed. No assertions, tolerance settings, older-iOS baselines, or other-platform baselines were weakened or replaced. The compiled repository `MagickNetVisualComparer`, using its unchanged **0.005 / 0.5%** threshold, rejected all five old baselines and accepted all five replacements. `S` below denotes this worktree's `src/Controls/tests/TestCases.iOS.Tests/snapshots/ios-26` directory; comparer commands ran from the external SDK-selection directory described above. | Command | Result | | --- | --- | | `python3 "$A/capture-ci-button-snapshots.py"` | All three Button pages captured twice; repeated body pixels identical, Default matches CI exactly; no local XCTest or UI driver | | `dotnet run --project ../snapshot-oracle/SnapshotOracle.csproj -- "$S" fail` | Expected mismatches verified for all five old baselines: 1.06%, 0.79%, 1.37%, 1.03%, 1.03% | | `dotnet run --no-build --project ../snapshot-oracle/SnapshotOracle.csproj -- "$S" pass` | All five replacement baselines passed the actual repository comparer | The snapshot-only follow-up is `9699ac1d18`. Fresh remote UI validation has been [requested](#39230 (comment)); remaining UI failure attribution and the new CI cycle are not claimed complete or green. <!-- 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 #31936 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> ---------
<!-- Please keep the note below for people who 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 whether this change resolves your issue. Thank you! ### Root cause : - [PR38613](#38613) made `Microsoft.Maui.Controls.Xaml trimmable`. The `x_Array_Parsed` device test uses runtime `LoadFromXaml` with `x:Type` and `x:Array`, which instantiate `TypeExtension` and `ArrayExtension` through reflection. - In linked iOS/Mac Catalyst builds, the linker cannot discover those types from the XAML string and removed TypeExtension’s default constructor, resulting in MissingMethodException. ### Description of Change - The fix adds targeted `DynamicDependency` annotations in` XamlTests.cs` to preserve `TypeExtension` and `ArrayExtension` for this reflection-based test path. ### 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 #38882 <!-- Enter description of the fix in this section --> ### Tested the behavior in the following platforms - [ ] Windows - [ ] Android - [x] iOS - [x] Mac | Before Issue Fix | After Issue Fix | |----------|----------| | <video src="https://github.com/user-attachments/assets/9e958631-7af7-44e2-9d82-ea6776e168b2"> | <video src="https://github.com/user-attachments/assets/628dc8ab-48aa-4af0-9bb9-425486e51d87"> | <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dhivya-SF4094 <127717131+Dhivya-SF4094@users.noreply.github.com>
…tint on IsEnabled changes (#39062) <!-- 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! ### Root Cause The iOS/Mac Catalyst compatibility `NavigationRenderer` handled every relevant `ToolbarItem` property change by rebuilding the complete native toolbar. Primary `IsEnabled` changes therefore replaced the existing `UIBarButtonItem` instances, even though `PrimaryToolbarItem` already updates the native `Enabled` state directly. This unnecessary reconstruction discarded native-only styling such as custom per-item tint colors. ### Description of Change • Skip the complete toolbar rebuild for primary `ToolbarItem.IsEnabled` changes and allow the existing native button to update in place. • Recreate only the secondary `UIAction` collection and `UIMenu` when a secondary item’s text, icon, or enabled state changes. • Preserve the existing primary buttons and overflow button during secondary menu updates. • Keep the existing complete rebuild behavior for structural changes such as adding or removing toolbar items. ### Issues Fixed Fixes #39061 Tested the behaviour in the following platforms - [ ] Android - [ ] Windows - [x] iOS - [x] Mac ### Note Regression is specific to the iOS/Mac Catalyst compatibility NavigationRenderer and UIKit toolbar items. ### Regression Details: Regressed by PR #28185 ### Output Video Before Issue Fix | After Issue Fix | |----------|----------| |<video width="40" height="60" alt="Before Fix" src="https://github.com/user-attachments/assets/f02dc9b4-9472-49e9-9416-e208ca32a2a5">|<video width="50" height="40" alt="After Fix" src="https://github.com/user-attachments/assets/f1c880b8-b4b9-418c-bed7-3ce750633037">|
…uring cell reconfiguration (#39254) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of [#39228](#39228) from `inflight/current` to `inflight/candidate`, cherry-picking source commit [`0a504feccf`](0a504fe) without conflicts or code changes. This PR intentionally targets `inflight/candidate` rather than `main`. Preserve the existing UIKit cell reuse identifier during item size-change reconfiguration, preventing `NSInternalInconsistencyException` when a CarouselView template selector returns a fresh `DataTemplate`. The reconfiguration flag is restored in `finally`, and normal cell creation outside reconfiguration remains unchanged. Includes the original four iOS device-test cases covering cached/fresh templates with looping disabled/enabled. Only the shared Items2 iOS controller and its CarouselView device tests are changed; there are no public API changes. #### Validation - `dotnet build Microsoft.Maui.BuildTasks.slnf -c Release /p:TreatWarningsAsErrors=false -v minimal` — passed; three existing Gradle Java source/target warnings. - `pwsh -NoProfile .github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project Controls -Platform ios -BuildOnly` — passed with zero warnings and zero errors after building the required MSBuild tasks. The iOS simulator app and regression tests compile successfully. - `git diff --cached --check` — passed before commit. The backport's stable patch ID matches the merged source commit exactly. Device tests were not executed locally for this backport; validation was build-only, with no simulator launch or XCTest. The original PR documents its before/after runtime evidence. ### 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 #39211 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Sheik Syed <sheiksyedm@syncfusion.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
## Description This PR addresses the test failures that occurred in the inflight/candidate branch: #38782, and includes updates to improve rendering and test stability across platforms. This PR adds and updates the expected baseline images for all platforms so the tests validate the current intended output. Fixes: #38782 It also updates the iOS ScrollView safe-area test to compare the content size with the viewport after UIKit applies the adjusted content inset. #### Images - DataTrigger_ButtonDisabled - Issue37440EmptyAutoSizeEditorDoesNotSnapToMaximumHeight - ItemsWrapGridWithDefaultWidth - LabelNotTruncatedWithMaxLines - LabelsShouldNotBeTruncatedAfterItemsSourceIsReplaced - NoScrollbarsTest - RtlCollectionViewShouldNotBeTruncatedAfterLandscapeRotation - ScrollViewShouldRenderWithinBounds - ShadowsDontRespectControlShape - VerifyBindableLayoutWithBasicItemTemplate - VerifyBindableLayoutWithGridItemTemplate - VerifyBindableLayoutWithItemTemplateSelector - VerifyBindableLayoutWithItemsSourceNone - VerifyBindableLayoutWithItemsSourceObservableCollection - VerifyCarouselViewKeepScrollOffsetAdd - VerifyModelItemsObservableCollectionWhenMultipleModePreSelection - VerifyModelItemsObservableCollectionWhenSingleModePreSelection - ScrollViewGradientBackground - ScrollViewWithoutGradientBackground - TitleBar_Window - TitleBar_Icon_WithTrailingContentAndLeadingContent - TitleBar_TrailingContentAndLeadingContent_WithTitleAndSubtitle - TitleBar_TrailingContentAndLeadingContent_WithSearchBar - TitleBar_TrailingContentAndLeadingContent_WithGrid - TitleBar_TrailingContentAndLeadingContent_WithHorizontalStackLayout - TitleBar_TrailingContentAndLeadingContent_WithBackgroundColor --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: LogishaSelvarajSF4525 <logisha.selvaraj@syncfusion.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Spacing_Page on iOS 27 (#39319) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #39246 to `inflight/candidate` for SR12 Apple compatibility. This intentionally targets Candidate rather than `main`. Computes CollectionView empty state from the current `ItemsSource.ItemCount` instead of the delayed cached state, preventing the initially blank grouped-grid page on the Apple 27 runtime. Includes the original Issue38730 reproduction page, regression test, and platform snapshots unchanged. Source commit: `4c8d2bf20e2f7940fa3b324c2086750da4a7877e`. Automation replayed the original commit series; its final complete seven-file patch exactly matches the merged source change, including binary snapshots. ### 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 #38730 (backport). <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> ### Validation - `git diff --check origin/inflight/candidate...origin/backport/pr-39246-to-inflight/candidate` — passed. - Source and backport binary-inclusive diffs have the same `git patch-id --stable`: `84a0d347e0c3a620bb65e0389a5d73eacb70a2fb`. - Candidate baseline: `29eb037ad1cac21acdc052bc7a1211a8bb37d3c9`; backport head: `fb9e99559abcc11e620f0309fd5c12f49728e4f5`. - `maui-pr` [build 1631864](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1631864) is running for this exact PR head; its result is not yet available. - Device/UI runtime tests were not rerun locally. No simulator, Appium, or XCTest was launched. /cc @kubaflo @devanathan-vaithiyanathan --------- Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
… (#39320) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> This intentionally targets **inflight/candidate**, rather than the template's generic main target, as an explicitly requested Candidate servicing backport. Backports only the nine added lines in `src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs` from #39264, source commit `e0eb61af616187a56f2b0df0f7ea65826420747e` (parent `f3c581a6879e6b284a0ed97607e2b2d4b8328429`). The unrelated issue-triage scripts, workflows, documentation, and `eng/Versions.props` changes in that commit are deliberately excluded. Calls `base.TraitCollectionDidChange(previousTraitCollection)` before the existing vertical-size-class early return so UIKit recomputes tabs/More on fold/unfold, then clears `CustomizableViewControllers` when nonempty to prevent an Edit button. Source comments and behavior are preserved exactly; the Shell-file stable patch ID is `8d5cea33df9281ce8f773a1d8ad4a47305de244e` for both source and backport. **Validation (build-only, no GUI or runtime execution):** - `dotnet format whitespace src/Controls/src/Core/Controls.Core.csproj --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs --verbosity quiet` — passed. - `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -v:q` — failed initially with `NETSDK1004` because this fresh worktree had no restored assets; the default CLI selected SDK `11.0.100-preview.6.26359.118`. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed after restore, 0 warnings / 0 errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings / 0 errors. - `git diff --check` — passed. - `git diff -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` and `git diff e0eb61a^ e0eb61a -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` — identical patch IDs before commit. Local builds used installed SDK 10.0.100, **not** the repository's pinned servicing SDK `10.0.113-servicing.26454.107`; no tracked SDK/dependency versions were changed. Runtime fold-state tests were **not run**. No new automated test is added: the existing infrastructure cannot change fold state, as documented by the source PR. No XCTest, Appium, simulator boot/launch, or MacCatalyst app execution was used. ### 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 #39263 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…mulator. (#39318) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #39047 to `inflight/candidate` for SR12 Apple compatibility. This intentionally targets Candidate rather than `main`. Preserves Editor scrolling after device rotation by using the remeasured native `sizeThatFits.Height` when deciding whether to cap the Editor height. Includes the original Issue38802 reproduction page and automated rotation regression test unchanged. Source commit: `0c5ddc05a22704148d02d6468494f211a7c0230e`. The complete three-file source patch is preserved; no unrelated changes are included. ### 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 #38802 (backport). <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> ### Validation - `git diff --check origin/inflight/candidate...origin/backport/pr-39047-to-inflight/candidate` — passed. - Source and backport diffs, including all tests, have the same `git patch-id --stable`: `636f90901cbd9aca608a2305086a28a4f7a2eb59`. - Candidate baseline: `29eb037ad1cac21acdc052bc7a1211a8bb37d3c9`; backport head: `6f961236f3df824d8e8f41c8bcbd410752f53070`. - `maui-pr` [build 1631863](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1631863) is running for this exact PR head; its result is not yet available. - Device/UI runtime tests were not rerun locally. No simulator, Appium, or XCTest was launched. /cc @kubaflo @SubhikshaSf4851 Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…entation (#39321) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Focused manual SR12 backport of #38947, intentionally targeting **inflight/candidate**, not main. Original merge commit: `e7d746154382c0b449c2dd82a6139ce79c06de8b`; equivalent rebased source used: `25f148397192c18f435036c7ca82bfafe07f346b`. Candidate starting point: `29eb037ad1cac21acdc052bc7a1211a8bb37d3c9`. Retains both title and icon for native primary toolbar items only on iOS 27.1+, preserves legacy iOS/MacCatalyst rendering, refreshes dynamic Shell secondary metadata, and carries the original stale-image-load/disposal safeguards and both original device-test files unchanged. No public API, ordering, axis, Priority, or scene changes. Exactly the four source files are included; no other Apple compatibility backports are bundled. The automatic backport [failed](https://github.com/dotnet/maui/actions/runs/38235392353) and was not retriggered. The complete-source cherry-pick conflicts only in `ToolbarItemExtensions.cs` because Candidate already contains #39062. Resolution retains `CreateSecondaryPlatformAction`, its enabled state and accessibility identifier, and uses the source's synchronous `GetPlatformMenuImage` path to initialize fresh actions for the Candidate-only secondary-menu refresh. This avoids reintroducing the source-removed redundant asynchronous image load. `NavigationRenderer.cs` and its #39062 in-place primary enabled-state / secondary-menu-only updates are untouched, preserving existing native button identity and tint. Shell and original tests match source exactly. **Build-only validation** (all commands run in this isolated worktree with installed SDK 10.0.100 via `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll`; Candidate pins 10.0.113-servicing.26454.107, while default `dotnet --version` selects 11.0.100-preview.6.26359.118; no tracked SDK/workload/package pins changed): - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf --no-restore -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — initially failed: missing assets/reference assemblies. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed after restore, 0 warnings / 0 errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings / 0 errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/tests/DeviceTests/Controls.DeviceTests.csproj -f net10.0-ios26.0 -p:RuntimeIdentifier=iossimulator-arm64 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — failed: test project declares `net10.0-ios`, not this TFM. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/tests/DeviceTests/Controls.DeviceTests.csproj -f net10.0-ios -p:RuntimeIdentifier=iossimulator-arm64 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — full native app build blocked: installed iOS SDK 26.1.10494 requires Xcode 26.1, but local Xcode is 26.6. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll msbuild src/Controls/tests/DeviceTests/Controls.DeviceTests.csproj -t:Compile -p:TargetFramework=net10.0-ios -p:RuntimeIdentifier=iossimulator-arm64 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed managed compilation; verified new toolbar test symbols in generated `Microsoft.Maui.Controls.DeviceTests.dll`. This is not native packaging or runtime testing. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll format whitespace . --folder --include src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellPageRendererTracker.cs src/Controls/src/Core/Compatibility/iOS/Extensions/ToolbarItemExtensions.cs src/Controls/tests/DeviceTests/Elements/Toolbar/ToolbarTests.cs src/Controls/tests/DeviceTests/Elements/Toolbar/ToolbarTests.iOS.cs --verify-no-changes --verbosity quiet` — passed. An initial project-format attempt with `-p:TargetFramework=net10.0-ios26.0` was rejected as an unsupported format option; replaced with this four-file folder check. - `git diff --cached --check` — passed before commit; source comparison confirmed both test files and Shell file unchanged from source, with only the documented Candidate action-factory adaptation. No XCTest, Appium, simulator boot/launch, native app execution, or GUI runtime testing was performed. Runtime validation and CI remain required; this PR is not asserted merge-ready. ### 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. --> N/A — source #38947 has no linked issue. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…r orientation change (#39322) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Manual SR12 backport of #39271, using only the parent diff of the final merged source commit `6c215aef9240fe062ed0faee429e6e17ca70c02d` (parent `e0eb61af616187a56f2b0df0f7ea65826420747e`). **Explicit exception to the template's generic main-only guidance: this requested servicing backport targets `inflight/candidate`.** Restore layout invalidation when the Items2 CollectionView's bounds size changes during rotation or resizing. Keep the existing `IsCloseTo(_currentSize)` guard and `PrepareLayout` tracking unchanged, preserving scroll position for unchanged sizes. Carry the source regression page, rotation test, and all three binary snapshots unchanged: exactly six files, one focused fix. The automated backport failed because its historical patch-series fallback started with an unrelated dependency-bump commit. This PR applies the clean merged fix directly; it does not retry automation, replay dependency commits, or include any of the other SR12 backports (#38947, #39047, #39246, #39264). **Patch identity:** both binary-inclusive source and backport diffs produce stable patch ID `c9363ac3e2a9cb0e5643de4a02af0be2b9ac9b84` via `git patch-id --stable`. **Build-only validation performed in this worktree:** The default `dotnet --version` resolves SDK `11.0.100-preview.6.26359.118`; Candidate pins `10.0.113-servicing.26454.107`. Commands below explicitly use the already-installed SDK `10.0.100`, without changing tracked SDK/package/workload pins. - `git diff --cached --check` — passed before commit. - `git diff --binary 6c215ae^ 6c215ae | git patch-id --stable` and `git diff --cached --binary | git patch-id --stable` — passed, identical patch IDs including the PNG snapshots; six-file scope confirmed. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll format whitespace Microsoft.Maui.sln --no-restore --include src/Controls/src/Core/Handlers/Items2/iOS/LayoutFactory2.cs src/Controls/tests/TestCases.HostApp/Issues/Issue39270.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue39270.cs --verify-no-changes --verbosity quiet` — passed, no formatting changes needed. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings/errors. Initial `--no-restore` attempt failed due to missing assets/reference assemblies; the normal restore-enabled build succeeded. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings/errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/tests/TestCases.iOS.Tests/Controls.TestCases.iOS.Tests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings/errors; compiles the carried shared rotation test under the iOS test constants. Initial `--no-restore` attempt failed for missing assets; restore-enabled build succeeded. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -f net10.0-ios -p:RuntimeIdentifier=iossimulator-arm64 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — blocked by local toolchain mismatch: installed .NET iOS `26.1.10494` requires Xcode 26.1, but installed Xcode is 26.6. An earlier `-f net10.0-ios26.0` attempt failed because HostApp's sample TFM is `net10.0-ios`; the corrected documented TFM reached the Xcode compatibility check. **Limitations:** HostApp full build and runtime rotation/screenshot validation remain unverified locally. No XCTest, Appium execution, device/simulator boot or launch, MacCatalyst execution, or GUI actions were performed, as requested. CI must provide the pinned-toolchain and runtime validation; successful local compilation is not a merge-readiness claim. ### 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 #39270 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> This is the explicitly requested `inflight/candidate` SR12 backport, not a new main-branch fix. Co-authored-by: Vignesh-SF3580 <102575140+Vignesh-SF3580@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…39336) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Focused servicing-staging backport to **`inflight/candidate`**, based on Candidate `3d96e23006ea80f58ff2946017eb4593f63a46c6`. Source: #36474, merged into `inflight/current` as [`9e9553d67332b81c9f7f2c0a89bbffa9be716a86`](9e9553d). Regression #36269 was introduced by #34324 in 10.0.70. When a Shell tab's TabBar returns from hidden to visible, the returning view can temporarily measure shorter, recompute bottom safe-area padding to zero, and retain that stale value after growing again. Re-request window insets after changed layout bounds for eligible `ContentViewGroup`, `LayoutViewGroup`, and `MauiScrollView` views. Eligibility is unchanged from the source: explicit non-None, non-SoftInput-only edges, or a view already tracked as inset-padded. Preserve the #34324 fix for #33703, listener lifecycle, existing default behavior, and Candidate compatibility. No public API, SDK/dependency/workflow changes, unrelated control fixes, or release-ref operations. **Source deviations and snapshot decisions** - All executable changes in the four Android production files match the source exactly; only explanatory comments are shortened and made ASCII. The two Issue36269 C# files and seven included PNG blobs are byte-for-byte source copies. - Include both `SafeAreaBottomPaddingIsAppliedWhenTabBarHiddenAtRuntime` and `SafeAreaBottomPaddingIsRemovedWhenTabBarShownAgain` snapshots under Android `android-notch-36` and iOS `ios`/`ios-26`, preserving the source test's Android/iOS coverage. - Retain the existing Android `NavBarHidden.png` update because it is coupled to the resize fix. `ToggleHasNavigationBar_HidesBar_Visual` hides a NavigationPage toolbar around a default-inset-handling ScrollView. That already bottom-inset-tracked ScrollView grows into the status-bar area; the new tracked-view resize branch now reapplies its top inset. Offline comparison shows the source image is an exact **63-pixel downward translation** of the old content in the unchanged interior, restoring the previously clipped `CurrentPage:` row. This is an inset correction, not a NavigationPage implementation change. Runtime confirmation on Candidate remains pending CI. - **Exclude** `EditorPlaceholderRuntimeTextAlignmentChanged.png` and `EditorRuntimeTextAlignmentChanged.png`. Their source refreshes concern existing Editor alignment screenshots, with no explicit safe-area setup or demonstrated link to this regression; preserve the Candidate baselines instead of importing unproven churn. **Local validation** Commands were run without UI automation. The pinned servicing SDK is unavailable, so the installed **10.0.100** SDK was invoked explicitly; `global.json` is unchanged. For the exact commands below, `D` and `P` expand as follows: ```bash D=(/usr/local/share/dotnet/dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll) P=(-p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false) ``` | Exact command | Result | | --- | --- | | `"${D[@]}" build src/Core/src/Core.csproj -f net10.0-android36.0 --no-restore -v:q "${P[@]}"` | Passed; 0 errors, 3 existing Java source/target-8 obsolescence warnings. Initial attempt reported NETSDK1004 before restore. | | `"${D[@]}" restore src/Core/src/Core.csproj -p:TargetFrameworks=net10.0-android36.0 "${P[@]}" -v:q` | Passed after missing-assets failure. | | `"${D[@]}" build Microsoft.Maui.BuildTasks.slnf -v:q -p:BuildTaskOnlyBuild=true "${P[@]}"` | Passed; 0 warnings/errors. Initial `--no-restore` attempt reported missing/incomplete assets and missing net472 references; normal restore/build resolved them. | | `"${D[@]}" test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj --filter FullyQualifiedName~SafeAreaTests -v:q "${P[@]}"` | Passed: 58 tests, 0 failures/skips. These exercise managed safe-area semantics, not the Android resize callback. Initial `--no-restore` attempt reported NETSDK1004. | | `"${D[@]}" build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -f net10.0-android -v:q "${P[@]}"` | Passed; 0 warnings/errors. Compile/package only, no deployment or launch. Initial `--no-restore` attempt reported NETSDK1004. | | `"${D[@]}" build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -v:q "${P[@]}"` | Passed; 0 warnings/errors. NUnit/Appium test assembly compilation only, no UI tests executed. Initial `--no-restore` attempt reported NETSDK1004. | | `git diff --check` and `git diff --cached --check` | Passed. | Formatting: ```bash "${D[@]}" format Microsoft.Maui.sln --no-restore --include src/Core/src/Platform/Android/ContentViewGroup.cs src/Core/src/Platform/Android/LayoutViewGroup.cs src/Core/src/Platform/Android/MauiScrollView.cs src/Core/src/Platform/Android/SafeAreaExtensions.cs src/Controls/tests/TestCases.HostApp/Issues/Issue36269.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36269.cs --exclude Templates/src --exclude-diagnostics CA1822 "${D[@]}" format whitespace --folder --include src/Core/src/Platform/Android/ContentViewGroup.cs src/Core/src/Platform/Android/LayoutViewGroup.cs src/Core/src/Platform/Android/MauiScrollView.cs src/Core/src/Platform/Android/SafeAreaExtensions.cs src/Controls/tests/TestCases.HostApp/Issues/Issue36269.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36269.cs --verify-no-changes ``` Both exited 0. The solution formatter warned about unrestored host/platform-test references at that point; the independent touched-file whitespace verification passed. Analyzers were not disabled during compilation. Restores occurred only after missing-assets/reference failures. **Not run:** Android/iOS runtime regression tests, before/after native reproduction, screenshot regeneration/matching, iOS compilation, XCTest, Appium, simulators/emulators, GUI, or browser automation. The imported snapshots are source evidence, not locally regenerated evidence. CI must verify the new tests and retained NavBarHidden baseline against Candidate. This PR is staging only: no merge, release cut, tag, approval, or CI retry is requested/performed. ### 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 #36269 Backports #36474; introduced by #34324. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: praveenkumarkarunanithi <100338903+praveenkumarkarunanithi@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
#38925 (#39335) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> **Regression-only backport to `inflight/candidate`, explicitly requested for servicing. This is not a backport of the entire mixed source PR.** Candidate baseline: `3d96e23006ea80f58ff2946017eb4593f63a46c6`. #38925 reports the Android `CollectionView` / `GridItemsLayout` regression from **10.0.90 to 10.0.100**, introduced by #35782. `SpacingItemDecoration.GetItemOffsets` calls the uncached `GetSpanGroupIndex(itemCount - 1)` for every child, scanning the adapter through JNI on repeated layout/scroll passes. Large sources stall ItemsSource/layout and can ANR during flings. Bring over only `SpacingItemDecoration.cs` from #38969 (production file is identical to the rebased source): return immediately for zero spacing; identify the first/last span rows by inspecting only the items that can share those rows, using assigned child span indices with the original lookup fallback. Keep existing adapter-position/count bounds, linear-layout behavior, outer-edge spacing, and full-span header/footer handling. Candidate's other Android fixes remain untouched. Source provenance: - Original GitHub merge SHA: [`c6b0c73ccbc7eebd5c9a683e5b803d786cf37cf7`](c6b0c73). - Current rebased equivalent: [`ad38e20f14fa841bd82b3b569256e84c45e48d4f`](ad38e20). **Deliberately excluded:** #38926's longstanding `ObservableGroupedSource.GetGroupAndIndex` optimization and its focused device test; the source page/test's far-group `ScrollTo` actions and timing expectations; general optimization PR #39063. These are not part of the #38925 servicing regression. No version pins, dependencies, CI configuration, or generated manifests/localization files changed. Adapt the directly relevant Issue38925 HostApp and Android-only CollectionView shard-6 test to load **50 groups × 200 items**, check that the first item is rendered, and assert the app-reported ItemsSource/dispatcher elapsed time is **below 15,000 ms**. The in-app time assertion avoids accepting a slow load merely because Appium's tap returns after the stall. No ScrollTo requirement is retained. **Validation (compilation and non-UI checks only):** used the installed SDK explicitly, without changing `global.json`. Restores were performed only after missing assets/build-task dependency failures. Preliminary missing-assets and missing-task failures were resolved; an initial target-framework mismatch was corrected to Candidate's `net10.0-android36.0` graph. | Exact command | Result | | --- | --- | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll restore src/Controls/src/Core/Controls.Core.csproj -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-android36.0 --no-restore -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed; 0 errors, 3 existing Gradle Java-8 source/target deprecation warnings | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed; 0 warnings/errors | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll restore src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -f net10.0-android --no-restore -t:Compile -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed; 0 warnings/errors; Compile target only, no app launch | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll restore src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj --no-restore -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -v:q` | Passed after correcting a nullable timing-text diagnostic; final build 0 warnings/errors; test assembly compilation only | | `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll format whitespace . --folder --include src/Controls/src/Core/Handlers/Items/Android/SpacingItemDecoration.cs src/Controls/tests/TestCases.HostApp/Issues/Issue38925.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue38925.cs --verify-no-changes --verbosity quiet` | Passed; only touched files formatted | | `git diff --check` and `git diff --cached --check` | Passed | | `git diff --quiet ad38e20 -- src/Controls/src/Core/Handlers/Items/Android/SpacingItemDecoration.cs` | Passed; exact production-source identity | Additionally, an uncommitted dependency-free managed harness compiled the **exact production source** against minimal Android/RecyclerView stubs. **809,530 offset comparisons passed**, covering empty/single/mixed/full-span rows, both orientations, assigned/fallback span indices, linear layouts, invalid positions, zero-spacing early return, and bounded lookups for a 10,050-position grouped grid. The same harness with unmodified Candidate source failed the bounded-lookup assertion as expected. This checks managed offset logic and lookup counts, **not native Android/JNI performance or rendering**. **Not run:** the added UI test, existing Issue35700/Issue38321 runtime coverage, native device tests, fling/ANR measurements, or screenshot comparison. No XCTest, Appium execution, simulator/emulator, GUI, or browser automation was used, per the user's active-work restriction. No native runtime proof is claimed; Android CI/artifact validation is still required. ### 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 #38925 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Targeting `inflight/candidate` by explicit servicing-backport request, not `main`. #38926 is intentionally not claimed as fixed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #38887 to `inflight/candidate`, intentionally targeting the SR12 staging branch rather than `main`. Fixes the documented 10.0.100 Shell flyout VisualState re-entrancy regression. Carries the original Android, Apple and Windows Shell flyout item-renderer changes together with the Issue38813 regression page, UI test and all five source snapshots. These are one regression fix, not the independent VisualState trigger-lifecycle changes previously excluded from SR12. Original GitHub merge: `5ab514505fdeec946390cd66820c3118d2f0e387`; rebased current equivalent: `f3759ac68716df9fd0c52006805fccd0fbb930a1`. Backport head: `b4df95c7180fc0bcbb95c9cef707b377396c12e4`. **Validation** - `git diff --binary 3d96e23 b4df95c | git patch-id --stable` — passed: complete binary-inclusive source patch identity matches `fef9eac6901a5399a1eb062408a7f61fe675f3d0`. - `git diff --check 3d96e23 b4df95c` — passed. - Local builds and runtime/UI tests were not rerun for this unchanged automated replay. PR-head CI results are pending; this is not a merge-readiness verdict. No XCTest, Appium, simulator/emulator or GUI execution was performed. ### 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 #38813 in the SR12 Candidate selection. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> /cc @kubaflo @SubhikshaSf4851 --------- Co-authored-by: Subhiksha Chandrasekaran <subhiksha.c@syncfusion.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #39219 to `inflight/candidate`, intentionally targeting the SR12 staging branch rather than `main`. Fixes the documented ScrollView bottom-sheet flicker regression introduced in .NET 10 Preview 7. Avoids artificial content-size inflation inside a PageSheet while preserving the existing behavior for other presentations. PageSheet controller detection is cached and reset when the scroll view changes windows. Exactly the original `MauiScrollView.cs` change is carried; no dependencies, SDK pins or unrelated fixes are included. Source merge: `c6ad18ac7d6a89b806377f4490f5998527e7f2a7`. Backport head: `b4daa1a7581c7532856d31de55a3555219c967ad`. **Validation** - `git diff --binary 3d96e23 b4daa1a | git patch-id --stable` — passed: complete source patch identity matches `ede509d67f5c128501ef292da125bf98dc814db4`. - `git diff --check 3d96e23 b4daa1a` — passed. - The source PR contains no dedicated regression test. Local builds and native/runtime tests were not rerun for this unchanged automated replay. PR-head CI and runtime verification are pending; this is not a merge-readiness verdict. No XCTest, Appium, simulator/emulator or GUI execution was performed. ### 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 #38272 in the SR12 Candidate selection. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> /cc @kubaflo @Dhivya-SF4094 Co-authored-by: Dhivya-SF4094 <127717131+Dhivya-SF4094@users.noreply.github.com>
…39326) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #38798 to `inflight/candidate`, intentionally targeting the SR12 staging branch rather than `main`. Fixes the documented 10.0.80 regression where an Android WebView with nothing to scroll prevents its parent ScrollView from scrolling. Carries the original MauiWebView touch/interception correction and Issue38452 regression page/UI test. No independent WebView, SwipeView, test-timing or dependency changes are included. Original GitHub merge: `8e45dedc5a3f3c653416e8c826ace7e699341740`; rebased current equivalent: `9b3f27a1ec598785b40fc3e8091bf2ceaea77a0a`. Backport head: `899c087f995413bec1e85c23542c5961f75f70cb`. **Validation** - `git diff --binary 3d96e23 899c087 | git patch-id --stable` — passed: complete source patch identity matches `a5fffd5fdf9f80d0aacb4970d1e8d6f1a3f155bf`. - `git diff --check 3d96e23 899c087` — passed. - Local builds and runtime/UI tests were not rerun for this unchanged automated replay. PR-head CI results are pending; this is not a merge-readiness verdict. No XCTest, Appium, simulator/emulator or GUI execution was performed. ### 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 #38452 in the SR12 Candidate selection. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> /cc @kubaflo @HarishwaranVijayakumar --------- Co-authored-by: HarishwaranVijayakumar <harishwaran.vijayakumar@syncfusion.com>
…vigation (#39327) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #38614 to `inflight/candidate`, intentionally targeting the SR12 staging branch rather than `main`. Fixes the documented 10.0.100 iOS CollectionView rendering/selection regression when SelectedItem is assigned in ApplyQueryAttributes during Shell navigation. Carries the original modern Apple CollectionView controller correction, Issue38443 regression page and UI test, and all five source snapshots. No legacy-handler, API, dependency or unrelated inflight changes are added. Original GitHub merge: `4022ea1d0f9a7d945366b59e5a50489d5b27a408`; rebased current equivalent: `63f74ce66c9e92ec9c47af513fc42777030f8041`. Backport head: `ff41f61a3434f7e1f885ff244aa66682373fc889`. **Validation** - `git diff --binary 3d96e23 ff41f61 | git patch-id --stable` — passed: complete binary-inclusive source patch identity matches `c13cebec3bb19538ec0db115d33dced8b732a4d7`. - `git diff --check 3d96e23 ff41f61` — passed. - Local builds and runtime/UI tests were not rerun for this unchanged automated replay. PR-head CI results are pending; this is not a merge-readiness verdict. No XCTest, Appium, simulator/emulator or GUI execution was performed. ### 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 #38443 in the SR12 Candidate selection. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> /cc @kubaflo @devanathan-vaithiyanathan --------- Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #39185 to `inflight/candidate`, intentionally targeting the SR12 staging branch rather than `main`. Fixes the documented runtime XAML regression introduced when the XAML assembly became trimmable; that introducing change is already selected in Candidate. Preserves intrinsic markup-extension members required by runtime XAML, including binding, type and array extensions, and includes the original device-test coverage. This does not duplicate Candidate test-preservation fix #38840. Production `x:Array` behavior for #38882 remains a validation target, not a claimed runtime result. Source merge: `f54a6c82b3d4a7d2fea0ac0a8a4452b464a904c2`. Backport head: `886376bb5dd163871a75ea48ecf55a6e496c9e73`. Exactly two source files; no unrelated changes. **Validation** - `git diff --binary 3d96e23 886376b | git patch-id --stable` — passed: complete source patch identity matches `b12ed79b429d491fb1761826e50ef7dc20df57a2`. - `git diff --check 3d96e23 886376b` — passed. - Local builds and device tests were not rerun for this unchanged automated replay. PR-head CI results are pending; this is not a merge-readiness verdict. No XCTest, Appium, simulator/emulator or GUI execution was performed. ### 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 #39184 in the SR12 Candidate selection. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> /cc @kubaflo @Vignesh-SF3580 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Vignesh-SF3580 <102575140+Vignesh-SF3580@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backport of #39005 to `inflight/candidate`, intentionally targeting the SR12 staging branch rather than `main`. This is a documented 10.0.120/inflight regression fix, not a general inflight-content merge. Preserves the native Windows selection sender and checks handler identity around virtual selection updates, avoiding access through a disconnected handler. Includes the original Issue38618 regression page and UI test, with no unrelated changes. Source merge: `262d95940f646b601093b36db4e27c691670d753`. Backport head: `9650361075f0b122a6eed657998bb2891506a709`. **Validation** - `git diff --binary 3d96e23 9650361 | git patch-id --stable` — passed: complete binary-inclusive source patch identity matches `7cda846792d278b63cf080958e2a6520eb0e0b7f`. - `git diff --check 3d96e23 9650361` — passed. - Local builds and runtime/UI tests were not rerun for this unchanged automated replay. PR-head CI results are pending; this is not a merge-readiness verdict. No XCTest, Appium, simulator/emulator or GUI execution was performed. ### 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 #38618 in the SR12 Candidate selection. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> /cc @kubaflo @BagavathiPerumal Co-authored-by: BagavathiPerumal <93652794+BagavathiPerumal@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…e Device Test (#39217) ### Issue Details - The Windows device test `LoopedVisibleCollectionOverrideDoesNotEnterRealizationRetry` failed intermittently in #38782. - Failures occurred during high-physical-range setup or when validating that the pending override completed without entering the realization-retry path. ### Root Cause - The test assumed logical item `2` must be the **first visible physical item** after `ScrollIntoView()`. - The implementation under test, `IsCollectionCurrentItemOverrideVisible`, only requires the item to appear **anywhere within the visible range** (`FirstVisibleIndex` to `LastVisibleIndex`). - The test could continue while native scrolling, layout, and snap-point processing were still in progress. - The deferred override callback could therefore encounter an unready native state and schedule a realization retry. Diagnostics confirmed a failing run with `RetryCount = 1`. - Repeated successful runs after adding scroll-settling synchronization support a test setup/timing issue. ### Description of Change - Wrapped the initial native `ScrollIntoView()` operation in the existing `WaitForSettleAsync` helper to wait for terminal scroll events and a short quiet period. - Replaced the first-visible-item assumption with a predicate that scans the entire visible range for logical item `2` at a high physical index (`> 1000`). - Reused the predicate for both setup and final post-override validation. - Preserved the original assertions verifying: - Override completion. - Zero realization retries. - A single final centered `ScrollTo` request. - `CenterMode` is not exposed to the `ScrollToRequested` observer. - No product code changes were made; this is a test-only stabilization fix. | Before | After | |----------|----------| | <img src="https://github.com/user-attachments/assets/7efcc482-86ea-4d96-bc6a-f00bd03000fa"> | <img src="https://github.com/user-attachments/assets/da5ded81-340e-4564-b585-168edc9af045"> |
…ectionView during scrolling (#39357) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backports #39352 (merged commit `d3c4280620f4127b17a520af72c03a28826a3c80`) to `inflight/candidate`, as requested. This is the unchanged, single-file source patch, applied without conflicts. The regressing PR #37307 is already present in candidate as commit `0c07863584a1e05405104f8cc43c78bba1176007`. Its stable patch ID matches the original merged commit `8c23a46bba2b214dffcf8b7e2188cf35d92267e8`, and candidate's layout still unconditionally skipped invalidation for same-size bounds changes. The fix preserves the scroll-position guard when bounds size and origin are unchanged, delegates scrolling-related origin changes to the native compositional layout, and retains explicit invalidation when bounds size changes. #### Validation | Command | Result | | --- | --- | | `dotnet format whitespace --folder --include src/Controls/src/Core/Handlers/Items2/iOS/LayoutFactory2.cs --verbosity quiet` | Passed. | | `git diff --cached --check` | Passed; the backport's stable patch ID matches #39352. | | `./build.sh -restore -build -configuration Debug -projects "$PWD/Microsoft.Maui.BuildTasks.slnf" /p:BuildTaskOnlyBuild=true /p:MauiPlatforms= -warnAsError false -verbosity quiet` | Passed with the repository-pinned .NET SDK; 0 warnings, 0 errors. | | `.dotnet/dotnet build src/Controls/src/Core/Controls.Core.csproj -c Debug -f net10.0-maccatalyst -p:MauiPlatforms=net10.0-maccatalyst -v quiet` | Passed; 0 warnings, 0 errors. Confirmed the changed file is included in the native target. | | `.dotnet/dotnet build src/Controls/src/Core/Controls.Core.csproj -c Debug -f net10.0-ios -p:MauiPlatforms=net10.0-ios -v quiet` | Passed; 0 warnings, 0 errors. | Manual/UI validation was not run. The original Mac Catalyst reproduction is ManualMaui's C2/C5 RefreshView scenarios. No XCTest or foreground UI automation was used. ### 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 #39295 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> ---------
…ng Loaded root replacement (#39279) <!-- 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 The issue occurs because (#38784) restored synchronous Android Loaded dispatch. In the two tests added by (#38214), the Shell or FlyoutPage child can raise Loaded while the Android device-test host is still creating its initial WindowTestFragment. The Loaded handler then replaces Window.Page during fragment initialization. In the captured run, the root replacement completed, but the test delegate was never reached because the host was still waiting for its fragment setup to complete. This resulted in the test appearing to hang. Separately, when a loaded outgoing page is disconnected through the Android Window, its handler may not have a usable platform view. Disconnecting it at that point can result in a Handler is not set on element failure. ### Solution description The fix involves using the outgoing page’s native unload event to defer handler disconnection on Android, where the standard Window handler wraps an Activity rather than a platform View. If the outgoing page has no usable native view, its handlers are disconnected directly. Before performing deferred cleanup, the fix checks that the page has not been reparented or reloaded and still has its outgoing handler, ensuring that a reused page is not disconnected. Synchronous Android Loaded behavior remains unchanged. The Shell and FlyoutPage tests now start with a placeholder page and install the root page after the test host is ready. They still replace the root page from the child’s Loaded callback and verify that the replacement is attached successfully. ### Regression PR PR #38784 Validated the behavior in the following platforms - [x] Android - [ ] Mac - [ ] Window - [ ] iOS ### Issues Fixed Fixes #39278 ### Output |Platform|Before|After| |--|--|--| |Android| <video src="https://github.com/user-attachments/assets/12fb957d-c709-412b-824a-8bbea5efc152">| <video src="https://github.com/user-attachments/assets/ff404e4a-2aa9-4e01-a385-6a05415383df">| --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…g Window.Page (#39381) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Backports #39274 to `inflight/candidate`, using the exact six-file delta approved in #39274 (review) at source revision `7bce74fa92e6bd52734c16e5a72b079724fa04a0`. - Android: clear the disconnected Shell handler so restoring the original `Window.Page` creates a fresh native hierarchy. - Windows: disconnect cached Shell hierarchy handlers, remove native event subscriptions, and clear stale references. - Include the original Issue38619 regression page and UI test without modifications. Applied cleanly without conflict resolution. The backport and approved PR have identical stable patch IDs (`c247ef365ef6ab012f5e88aaab9e75809fb94aa0`). The unrelated dependency-update commit on the source branch is excluded. Validation: - `dotnet build Microsoft.Maui.BuildTasks.slnf -p:BuildTaskOnlyBuild=true -v:q` — passed; three Gradle Java 8 obsolescence warnings. - `dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj --filter 'FullyQualifiedName~Shell|FullyQualifiedName~Window' -v:q` — passed, 413 tests. - `git diff --cached --check` — passed before committing. - `dotnet format whitespace Microsoft.Maui.sln --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellRenderer.cs src/Controls/src/Core/Handlers/Shell/ShellHandler.Windows.cs src/Controls/src/Core/Handlers/Shell/ShellSectionHandler.Windows.cs src/Controls/src/Core/Handlers/Shell/Windows/ShellView.cs src/Controls/tests/TestCases.HostApp/Issues/Issue38619.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue38619.cs --verify-no-changes -v:q` — passed. - `dotnet format Microsoft.Maui.sln --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellRenderer.cs src/Controls/src/Core/Handlers/Shell/ShellHandler.Windows.cs src/Controls/src/Core/Handlers/Shell/ShellSectionHandler.Windows.cs src/Controls/src/Core/Handlers/Shell/Windows/ShellView.cs src/Controls/tests/TestCases.HostApp/Issues/Issue38619.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue38619.cs --exclude Templates/src --exclude-diagnostics CA1822 --verify-no-changes -v:q` — failed on pre-existing `IMPORTS` ordering and `IDE0031` diagnostics in unchanged portions of `ShellRenderer.cs`; left unchanged to preserve the approved patch. Android/Windows UI runtime tests were not run locally. Windows compilation/runtime validation requires Windows CI; the local prerequisite build compiled the Android implementation. ### 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 #38619 Backport of #39274. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Targets `inflight/candidate` as explicitly requested.
…ter gestures (#37952) (#39387) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Exact backport of [#37952](#37952), merged into `inflight/current` as [`cc8e3495d1e67c9e84964d80671424c4fa9fa39b`](cc8e349). **Target exception:** `inflight/candidate` is explicitly requested for this servicing backport, rather than the template's usual `main` target. Preserves the final merged fix without additional dependencies, tests, or redesign: inspect the Android native view hierarchy for a clickable view, and retain pointer touch ownership only for the initial Down event when no clickable native view owns the sequence. This prevents a PointerGestureRecognizer inside a CollectionView item template from swallowing native item selection. Only `PointerGestureHandler.cs` and `TapAndPanGestureDetector.cs` change: 19 insertions and one deletion. Candidate `e741040bbd9ed84f5ee9fadab207501e4fa0e0a2` has byte-identical pre-fix contents to the source commit's parent in both files. The backport has byte-identical post-fix contents to the merged source. Both deltas have stable patch-id `845193da6780e357ad479b85bedc5560f875f860`. Open and merged Candidate PRs were rechecked by source number, issue number, and mechanism immediately before publishing; no duplicate was found. **Local validation** Host SDK: `11.0.100-preview.6.26359.118`; the Android build targets `net10.0-android36.0`, and managed tests run on `net10.0`. | Command | Result | | --- | --- | | `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -p:BuildTaskOnlyBuild=true -p:MauiPlatforms=net10.0-android36.0 -p:IncludePreviousTfms=false -v:minimal` | Initial attempt failed with missing dependency assets (`NETSDK1004`) and .NET Framework 4.7.2 reference assemblies (`MSB3644`); resolved by the following restore and retry. | | `dotnet restore Microsoft.Maui.BuildTasks.slnf -p:BuildTaskOnlyBuild=true -p:MauiPlatforms=net10.0-android36.0 -p:IncludePreviousTfms=false -v:minimal` | Passed. | | `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -p:BuildTaskOnlyBuild=true -p:MauiPlatforms=net10.0-android36.0 -p:IncludePreviousTfms=false -v:quiet '-clp:ErrorsOnly;Summary'` | Passed: 3 warnings, 0 errors. | | `dotnet build src/Controls/src/Core/Controls.Core.csproj -f net10.0-android36.0 --no-restore -p:MauiPlatforms=net10.0-android36.0 -p:IncludePreviousTfms=false -v:quiet '-clp:ErrorsOnly;Summary'` | Passed: 0 warnings, 0 errors. | | `dotnet test src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj -f net10.0 --filter 'FullyQualifiedName~Microsoft.Maui.Controls.Core.UnitTests.PointerGestureRecognizerTests' -p:MauiPlatforms=net10.0-android36.0 -p:IncludePreviousTfms=false -v:quiet '-clp:ErrorsOnly;Summary'` | Passed: 25 tests, 0 failed, 0 skipped. | | `dotnet format whitespace --folder --include src/Controls/src/Core/Platform/Android/PointerGestureHandler.cs src/Controls/src/Core/Platform/Android/TapAndPanGestureDetector.cs --verify-no-changes --verbosity minimal` | Passed; source formatting preserved. | | `git diff --check origin/inflight/candidate...HEAD` | Passed. | | `git diff --exit-code cc8e349 HEAD -- src/Controls/src/Core/Platform/Android/PointerGestureHandler.cs src/Controls/src/Core/Platform/Android/TapAndPanGestureDetector.cs` | Passed; exact merged-source postimages. | | `git diff cc8e349^ cc8e349 \| git patch-id --stable` and `git diff origin/inflight/candidate...HEAD \| git patch-id --stable` | Passed; identical patch-id above. | **Native validation gap:** No emulator/device or manual UI validation was performed. The focused tests cover managed recognizer behavior, not Android native touch dispatch, CollectionView selection, or SelectionChanged. No XCTest, MacCatalyst testing, or foreground/device UI automation was run. CI results have not been evaluated in this task. ### 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 #34491 via backport of [#37952](#37952). <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: dac2dd94-1d58-4022-b496-1ffe726b7768
Keep net11 Shell Renderer startup arguments, gallery readiness checks and documentation while retaining the intentional main direct-launch revert. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Replaces only the six existing `gpt-6-astra` literals with `gpt-6.1-sol`: the local `/review tests` runner, its Vally evaluation executor/judge, and the three assertions that previously expected Astra. Existing `gpt-5.6-sol` choices and assertions elsewhere are preserved unchanged. This removes the known unavailable-model reference. It does not prove that `gpt-6.1-sol` is enabled for every CI Copilot credential slot; availability still depends on the configured credentials. Validation: - Targeted Pester suite: 166 passed and 3 pre-existing model-policy assertions failed because they still expect `gpt-5.6-sol` while the local runner or separate hosted workflow now contains `gpt-6.1-sol`. Those non-Astra assertions are intentionally unchanged to keep this PR strictly scoped to Astra literals. - Passed: YAML parse and exact `model`/`judge_model` assertions for `.github/skills/review-test-failures/tests/eval.vally.yaml`. - Passed: repository scan found zero `gpt-6-astra` references. - Passed: `git diff --check`. ### 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. --> N/A <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo * NafeelaNazhir ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
… appearance reset (#39752) <!-- 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. !!!!!!! --> ### Issue Details On iOS, ShellColorsResetOnNavigation fails because the Page2 top tab is not visible after navigation. Regression PR: [#37137 — Render gradient backgrounds on bottom tab bars](#37137). ### Root Cause The PR added restoration of the navigation bar’s original translucency during appearance reset: navBar.Translucent = _defaultTranslucent; Translucent controls whether content can show through the navigation bar. On iOS, it can also affect how content is positioned underneath the bar. In the failing scenario, restoring this setting changes the tab row’s position and exposes a layout-refresh problem. Page2 still exists, but it falls outside the visible tab row. ### Description of Change Removes the saved _defaultTranslucent field, its capture, and its restoration during reset. Keeps the existing restoration of navigation-bar colors and native appearances. Validated the behavior in the following platforms - [ ] Android - [ ] Windows - [x] iOS - [x] Mac
#39748) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change Revert the native Android edge-to-edge implementation introduced in #36226 and reintroduced in #39545, as it changes previously working modal keyboard-resize behavior and causes Android UI test failures. This restores the previous activity and modal window configuration, fullscreen WebView transitions, system-bar initialization, and edge-to-edge opt-out theme entries. The associated Issue32987 sample and tests are removed. Also removed the screenshot top-cropping logic for now while preserving the existing baseline images. Reverting the fix exposes pixel differences at the bottom, so bottom cropping also needs to be addressed. Top and bottom screenshot cropping will be handled separately in a follow-up later. Issues Fixed Reverts #36226. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * PureWeen ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Shane Neuville <5375137+PureWeen@users.noreply.github.com> Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Updated [Microsoft.Web.WebView2](https://aka.ms/webview) from 1.0.4258.31 to 1.0.4314.35. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * dependabot[bot] ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ce animation (#39731) <!-- 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! ### Issue Details - Due to PR #37853, the test cases Issue31366PushingAndPoppingModallyCausesArgumentOutOfRangeException and Issue31366PushingWithModalStackCausesIncorrectStackOrder failed. After reverting the changes introduced in the PR, both test cases passed. ### Root Cause - PR #37853 preserved deferred-pop animations, allowing Android to start the exit animation before the first layout triggered the entrance animation. The entrance animation then replaced the exit animation, preventing dismissal from completing. ### Description of Change - Replaced the ModalFragment.AnimationEnded event and _pendingAnimation flag with a shared AnimationTask backed by a TaskCompletionSource. - Updated modal presentation and animated dismissal to await the same entrance-animation task, ensuring an early exit animation cannot be replaced by the entrance animation. - Completed the task when the entrance animation ends or the fragment is destroyed, preserving teardown safety and preventing pending navigation operations from waiting indefinitely. ### Validated the behaviour in the following platforms - [ ] Windows - [x] Android - [ ] iOS - [ ] Mac ### Output | Before | After | |----------|----------| | <img src="https://github.com/user-attachments/assets/2822b4fd-d129-4907-ba24-3b5e6979764e"> | <img src="https://github.com/user-attachments/assets/e7085450-3231-40b4-ad57-2fee45870138"> |
… through the image service (#39750) <!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Targets `inflight/candidate` as a follow-up to #39685. The Windows `ToolbarItemFontIconSourceChangesAtRunTime` screenshot test failed in candidate PR #39597, with a missing toolbar glyph reported while the page image continued to render correctly. For registered app fonts such as FontAwesome, render toolbar icons through MAUI's existing font-image service and place the resulting image in `AppBarButton.Icon`. This preserves the icon-plus-label presentation introduced by #39685 while avoiding native `FontIcon` rendering for these custom fonts. Default/system fonts retain the native rendering path. Image conversion explicitly uses the toolbar's `MauiContext`, since a replacement image source can be converted before it is attached to its logical parent. This is a proposed mitigation: the original CI failure did not reproduce locally, so its root cause and resolution in CI remain unconfirmed. This change does not skip the test or update screenshot baselines. ### 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. --> Addresses the reported Windows toolbar screenshot failure in #39597 following #39685. Preserves the icon-plus-text behavior for #39537. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. -->
…er reconnect (#39756) <!-- 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 Preserve built-in Windows `WrapperView` containers during handler disconnection so that the existing reconnect logic can reuse the original wrapper and replace only its native child. This restores the wrapper-preservation behavior introduced in #37392, which regressed after the shared container cleanup changes added in #37854. ### Root Cause PR **#37854** introduced shared container teardown in `ViewHandler.OnDisconnecting()` to support external platform backend lifecycle management. During disconnection, the shared implementation: - Sets `HasContainer` to `false` - Clears `ContainerView` This behavior works for normal container teardown scenarios but conflicts with the Windows reconnect implementation introduced in **#37392**. Windows reconnect intentionally preserves the existing `WrapperView` and relies on `ViewHandler.ReconnectContainer()` to attach a newly created platform view to that wrapper. Once the shared teardown removes the wrapper reference, reconnect can no longer reuse it and instead falls back to `SetupContainer()`, creating a new wrapper instance. As a result: - The original wrapper is lost - Wrapper identity is not preserved across reconnects - Existing Windows reconnect tests fail their `Assert.Same` validations ### Fix Add a Windows-specific exception in `ViewHandler.OnDisconnecting()` for containers of type `Platform.WrapperView`. For built-in Windows wrappers: - Preserve the existing `WrapperView` - Retain its position in the visual tree - Allow normal handler disconnection to continue - Reuse the existing `ReconnectContainer()` path to attach the newly created platform view All other container types and platforms continue using the existing teardown behavior introduced in **#37854**. This also avoids re-entering `SetupContainer()` for a retained Windows wrapper, preventing derived handlers from repeating one-time initialization or event subscriptions. ### Regression Coverage Existing Windows tests validate the reconnect scenario: - `ContainerHitTestingIsRestoredWhenHandlerReconnects` - `ReconnectingContainerPreservesWrapperInDifferentPanel` - `ReconnectingContainerPreservesDetachedWrapper` ### Tested the behaviour in the following platforms - [ ] Android - [x] Windows - [ ] iOS - [ ] Mac ### Output Screenshot <img width="827" height="302" alt="image (8)" src="https://github.com/user-attachments/assets/becf181c-e19c-4dc1-9504-bc16aeb9cce1" />
<!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change I have added the correct base/resave images and removed the diff image that was accidentally committed. **Shell flyout selection background not applied** The PR #35491 introduced Shell.BackgroundProperty, causing the Shell-derived test page’s unqualified BackgroundProperty to target the Shell background instead of the flyout item’s background. Explicitly using VisualElement.BackgroundProperty in both visual states restores the intended selection colors Changed the CollectionView's HorizontalOptions from Center to Fill in the **Issue38443** test page so the selected item's outline spans the available row width with CV2 on Windows. - The appearance differs because CV1 and CV2 measure item content differently. CV1's ItemContentControl.MeasureOverride returns at least the available finite width, expanding the item even when its content is small. CV2's ElementWrapper normally returns the measured content size without that unconditional width inflation. - With HorizontalOptions set to Center, the CollectionView can therefore size to its content in CV2. Since the Selected visual state sets the template Border's stroke to black, the outline follows that narrower Border rather than spanning the available width. The selected visual state is still applied; the difference is in layout bounds. - Using Fill makes the intended full-width layout explicit instead of relying on CV1's measurement behavior. This keeps SelectedItemSetDuringShellNavigationUpdatesVisualState focused on verifying that the cyan item's selected visual state is applied during Shell navigation. The **ResetRestoresNativeAppearanceAfterGradientAndSolid** test fails because #39752 intentionally stops restoring the navigation bar’s original translucency to prevent Shell’s top tabs from becoming hidden. The test starts with Translucent = true, but applying gradient and solid backgrounds changes it to false. Reset now leaves it false, so updating Assert.True(...) to Assert.False(...) matches the intended behavior and guards against reintroducing the issue. --------- Co-authored-by: Shalini-Ashokan <102292178+Shalini-Ashokan@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: NafeelaNazhir <nafeela.nazhirhussain@syncfusion.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Draft candidate for .NET MAUI 10 SR13 (10.0.130), using the canonical `dotnet/maui:inflight/candidate` -> `main` flow. Snapshot checked on October 23, 2026: - `inflight/candidate` and `inflight/current`: `5f4a5154acbeef9aa463938818c1f6d5482f2869`. - Captured `main`: `1e01690f3040c7ba41b5c2fc25e2eff436f43826`. - Candidate is 84 commits ahead and 7 behind main. Main is not an ancestor of this snapshot; the combined merge result requires validation. - Candidate version settings retain `PatchVersion=130`, `SdkBandVersion=10.0.100`, the existing `ci.main` / conditional `ci.inflight` prerelease labels, and `StabilizePackageVersion=false` by default. Keep this PR in draft pending candidate review and CI validation. The SR13 release branch must be cut from the approved candidate merge while `PatchVersion` remains 130. Advance main to the next SR cycle only after that cut. This PR does not cut a release branch, stabilize package versions, or authorize a release. The release-readiness survey returned **Conditionally Ready** for main against the prior SR12 baseline. It reported four `merged-non-main-only` regression issues and stale main CI. This main-based survey is not validation of the inflight snapshot or the proposed merge. Evidence: - `pwsh -NoProfile -File .github/skills/release-readiness/scripts/Get-ReleaseReadiness.ps1 -SrBranch release/10.0.1xx-sr12 -Candidate -RegressionLabels regressed-in-10.0.120,regressed-in-10.0.130 -TrackerKey net10-sr13 -OutputDir /Users/kubaflo/.copilot/session-state/bc25de00-15f3-4a12-85a6-e5b49f1d9368/files/sr13-readiness -OutputFormat json` completed successfully. - `git rev-list --left-right --count origin/main...origin/inflight/candidate` returned `7 84`. - `git merge-base --is-ancestor origin/main origin/inflight/candidate` returned 1: main is not an ancestor. - Candidate build, device tests, and UI tests have not been run or verified for this proposed PR. No ship-readiness claim is made. ### 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. --> Tracks #39496 without closing the readiness tracker. No individual bug closure is claimed by this release candidate. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
…Views share the same ObservableCollection (#39760) <!-- 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! ### Issue Details: On Windows, the application crashes when multiple CollectionView controls share the same ObservableCollection and one of the views is hidden. The issue can be reproduced by binding two CollectionView controls to the same ObservableCollection, setting IsVisible to false on one of them, and then adding a new item to the collection. ### Root Cause: Collection changes trigger automatic scrolling. A collapsed WinUI view can still report IsLoaded == true without having its internal item presenter created. The previous loaded-state check therefore allowed an invalid native scroll request. ### Description of Changes: Skip scrolling related logic when the native view is collapsed ### 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 #39751 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [ ] Android - [x] Windows - [ ] iOS - [ ] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/bc48f80f-56f1-436f-9a25-91433ca6cd50" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/c020cd07-b492-48a0-84cb-e94c4bd8c504" width="600" height="300"> |
Integrate native lifecycle, caching, toolbar icons, bindings and regression tests while retaining net11 APIs, removed platforms, AOT profiles and CV2 baselines. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- 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. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> Add .NET MAUI `10.0.130` (SR13) to both bug-report version dropdowns in `.github/ISSUE_TEMPLATE/bug-report.yml`: before `10.0.120` in **Version with bug**, and after `10.0.120` in **Last version that worked well**. This is nonblocking SR13 release housekeeping: exactly two option additions, with all existing options and form settings preserved. It does not change product versions, cut a release branch, or create a next-cycle milestone. The next release is .NET 11 SR1, not .NET 10 SR14. Validation: - `python3 -c 'import yaml; yaml.safe_load(open(".github/ISSUE_TEMPLATE/bug-report.yml")); print("YAML parse: PASS")'` — passed. - `git diff --check` — passed before commit. - `git diff --numstat -- .github/ISSUE_TEMPLATE/bug-report.yml` — exactly two additions and zero deletions before commit. - The pushed issue form was fetched through the GitHub Contents API, parsed successfully, and confirmed to contain `10.0.130` once in each intended dropdown. Product, device, and UI tests were not run for this issue-form-only change. No tests or tooling were added. ### 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. --> Related to #39496; does not close the ongoing SR13 release-readiness tracker. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 270acd48-0a94-48aa-b270-5b1bee345e89
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo * sheiksyedm * NafeelaNazhir * github-actions[bot] ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
In .NET 11, the ShellColorsResetOnNavigation test fails in CI due to image differences on Mac. This is caused by this fix PR - #37137. The ShellColorsResetOnNavigation Mac image was not re-saved in the PR. It has now been re-saved. Changes: - Re-saved the ShellColorsResetOnNavigation test Mac image. - In Windows, when SearchHandler is focused, the focus label does not get updated consistently, making the test flaky. Therefore, the test was restricted to avoid flaky behavior on Windows. - On CI Mac devices, tapping on the layout does not work properly in the ValidateBackgroundColorDoesNotAffectInputTransparent test, causing the test to become flaky. Therefore, the test has been restricted on Mac to avoid flakiness.
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR. This PR merges commits made on main by the following committers: * kubaflo ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout main git pull --ff-only git checkout net11.0 git pull --ff-only git merge --no-ff main # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull https://github.com/dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/main-to-net11.0 origin/net11.0 git pull git@github.com:dotnet/maui merge/main-to-net11.0 (make changes) git commit -m "Updated PR with my changes" git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1. --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
This was referenced Nov 2, 2026
auto-merge was automatically disabled
November 2, 2026 10:13
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I detected changes in the net11.0 branch which have not been merged yet to release/11.0.1xx-rc2. I'm a robot and am configured to help you automatically keep release/11.0.1xx-rc2 up to date, so I've opened this PR.
This PR merges commits made on net11.0 by the following committers:
Instructions for merging from UI
This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.
If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.
Instructions for merging via command line
Run these commands to merge this pull request from the command line.
or if you are using SSH
After PR checks are complete push the branch
Instructions for resolving conflicts
Instructions for updating this pull request
Contributors to this repo have permission update this pull request by pushing to the branch 'merge/net11.0-to-release/11.0.1xx-rc2'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.
or if you are using SSH
Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.