Repository navigation
Conversation
Refresh 1,766 API30 baselines from unchanged-crop CI artifacts while preserving existing image dimensions. Leave pre-existing failures and unexplained content/state/geometry changes unblessed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d79af75a-1980-4a92-8856-8915baf0d11e
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39566Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39566" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This reverts commit 7763a41 (#36226). Restore the previous Android system-bar behavior while #39566 prepares the native edge-to-edge implementation together with its updated screenshot baselines. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 39af0031-8c13-4af0-99df-367a03d03792
…lines Reapply the original implementation, system-bar theme updates, Android resources, and Issue32987 tests from #36226 on top of rollback PR #39579. Keep #39566's existing 1,766 screenshot baseline updates and exclusions unchanged. (cherry picked from commit 7763a41) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d79af75a-1980-4a92-8856-8915baf0d11e
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Azure Pipelines: 1 pipeline(s) were filtered out due to trigger conditions. |
1 similar comment
|
Azure Pipelines: 1 pipeline(s) were filtered out due to trigger conditions. |
|
2 similar comments
|
|
|
3 similar comments
|
|
|
|
<!-- 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 `net11.0` intentionally.** Temporarily reverts [#36226](#36226), squash commit `7763a4136e8068120c7a5bf62dfa7a342efd9ef1`, while its Android edge-to-edge implementation and corresponding screenshot baselines are prepared together in [#39566](#39566). This is the exact inverse of the original ten-file change, with no conflict resolutions or unrelated edits: - Restore `SetDecorFitsSystemWindows` activity initialization and fullscreen WebView transitions. - Restore the previous modal system-bar setup, API 30+ window appearance initialization, and `maui_edgetoedge_optout` theme entries. - Remove the two Issue32987 HostApp/NUnit files added by the reverted implementation. This deliberately restores the earlier Android behavior, including deferring the original transparency, navigation-scrim, and dynamic icon-color improvements until reintroduction. It does not alter screenshots or pipeline configuration. The plan is to stack #39566 on this rollback and reintroduce the implementation with the updated API 30 baselines; this PR does not merge either change. #### Validation | Command | Result | | --- | --- | | `git diff --cached --check` | Passed before commit. | | `diff <(git diff --binary 7763a41 7763a41^) <(git diff --cached --binary)` | Passed before commit: byte-for-byte inverse of #36226. | | `xmllint --noout src/Core/src/Platform/Android/Resources/values/attr.xml src/Core/src/Platform/Android/Resources/values/styles-material3.xml src/Core/src/Platform/Android/Resources/values/styles.xml` | Passed. | | `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore --verbosity quiet -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false` | Passed; zero warnings/errors. A session-local binlog was also recorded. | | `dotnet build src/Controls/src/Core/Controls.Core.csproj --no-restore --framework net11.0-android37.0 --verbosity quiet` | Passed; zero warnings/errors. A preceding non-incremental build also passed, with three Gradle Java 8 source/target warnings. | Scoped C# whitespace verification also passed: ```bash dotnet format whitespace Microsoft.Maui.sln --no-restore --exclude Templates/src --include src/Controls/src/Core/Platform/ModalNavigationManager/ModalNavigationManager.Android.cs src/Core/src/Handlers/Window/WindowHandler.Android.cs src/Core/src/Platform/Android/MauiAppCompatActivity.Lifecycle.cs src/Core/src/Platform/Android/MauiAppCompatActivity.cs src/Core/src/Platform/Android/MauiWebChromeClient.cs --verify-no-changes --verbosity quiet ``` **Limits:** Local compilation used installed SDK `11.0.100-preview.6.26359.118`, not the repository's `11.0.100-rtm.26514.118` pin. Initial no-restore builds needed package assets; after restore, the unrestricted build was blocked by unsupported Apple 27.0 targets on this machine's 26.5 workload. The Android-only prerequisite and targeted Android builds passed without changing repository settings. Android UI/device suites and the CI environment were not validated locally; no claim is made that all CI passes. ### 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. --> Reverts [#36226](#36226). Follow-up: [#39566](#39566). Related original issue: [#32987](#32987), which is not closed by this temporary rollback. <!-- 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: 39af0031-8c13-4af0-99df-367a03d03792
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Tests Failure Analysis🧪 CI Analysis — click to expand📊 maui-pr
🧪 maui-pr-devicetests
🧪 maui-pr-uitests
🧭 Follow-up — actions and refreshNext action: Reapply native edge-to-edge after the net11.0 rollback so the merged tree, not just the PR head, contains the restoration. Collect missing comparable diagnostics separately.
|
PR Test Gate🧪 Gate analysis — click to expand⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect. 🖥 UI tests
Execution log excerptsWithout fix Without fix PR head: 7f1883fc. Without-fix baseline: e6d22838. |
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Reintroduce the exact original native Android edge-to-edge implementation and regression tests from #36226, together with the existing 1,766 Android API30 screenshot baseline updates. This is no longer a PNG-only PR.
Temporary stack dependency — do not merge yet
This PR temporarily targets
kubaflo-edge-to-edge-rollback, the branch of standalone rollback PR #39579, rather thannet11.0:net11.0← #39579: temporarily roll back #36226 ← this PR: reintroduce #36226 with updated screenshotsAfter #39579 lands, this PR must return to
net11.0before the reintroduction is landed. Neither PR is merged by this update, and auto-merge is not enabled. The temporary base keeps the restored implementation visible in this PR's review diff and prevents the rollback from silently dropping the reintroduction. Native stack record 39580 preserves this bottom-to-top order.History is preserved: screenshot commit
8c90f34444bbfb76af421a9433e0f83215b62b91remains an ancestor; normal merge0f7236272fincorporates rollback headb6456a1d358aa35b7e27d6e95fbff26bc5994e37; restoration commit7f1883fc4f001a6efef00b586698375a7d09dd23reapplies original commit7763a4136e8068120c7a5bf62dfa7a342efd9ef1. No rebase, force-push, amend, or history replacement was used.Implementation and scope
The diff against the rollback branch is 1,776 files: 10 exact original implementation/test/resource files (+219/-35 text lines) and 1,766 existing baseline PNG updates. All ten restored file blobs match #36226 byte-for-byte; no new functional approach or unrelated style changes are introduced.
WindowCompat.EnableEdgeToEdgefor the activity and modal dialog windows.maui_edgetoedge_optouttheme/resource entries.The 1,766 PNGs are unchanged from the previously published screenshot commit. Every PNG change is under
src/Controls/tests/TestCases.Android.Tests/snapshots/android/. No new snapshots or diff/teardown images. API36 baselines are untouched. Existing image dimensions are preserved, including the standard 1080x1735 size and the existing landscape/custom-crop sizes. The existing API30 top-60/bottom-125 crop is unchanged; images were copied directly, not recropped or synthesized. No cropping, tolerance, pipeline, documentation, or script changes are included.CI source and visual inspection
uitest-snapshot-results-android-android_ui_tests_coreclr-<lane>-1PipelineArtifacts in maui-pr-uitests build 1643893, commit216c8045cbfa9d6a00f44ec2dad574ca1b9ec13e.Issue32394CurrentItemShouldnotChange.png, comes from first-merge build 1643594, commit7763a4136e8068120c7a5bf62dfa7a342efd9ef1. That actual retains the baseline's item content while updating the landscape system-bar appearance; build 1643893 also contained a different item label, which was not blessed.Overlapping alternative
#39545 is a cropping-based alternative and currently also changes snapshots. This PR deliberately does not adopt that crop logic or its cropped images. For example,
Shadow_SetRadius.pngis 1080x1735 here (SHA-2561494a0c8b78c43ee2a09abd549bcb17610c10647eff54edae5aca5e08967bf00), versus 1080x1732 in #39545 atd50214568d6ccc734d01ad46d63ae7b8cc1677e5(SHA-256e677c358c66fef2c9bc7bfb8d6fdf2027870f12d9a18a226d608fd0ce60327c2). This is not a byte-for-byte duplicate refresh: it preserves net11.0's existing crop contract, excludes API36 changes, and leaves the failures below visible. The overlapping alternatives need to be reconciled rather than combined blindly. #39545 is not modified by this work.Exclusions and remaining failures
24 PNGs already failed before #36226, in build 1642871, commit
e38973ae145c6ef20895eefeace2991eab748a1c, and remain unchanged. The two pre-existing Navigation timeouts are not addressed either. 40 additional PNGs with unexplained geometry, content, color, or test-state differences were conservatively left unchanged instead of treating a red comparison as permission to bless them. The original exclusion set is preserved by the stacked update.24 pre-existing API30 snapshot failures left unchanged
40 unexplained content/state/geometry PNGs left unchanged
19 substantial shape-geometry differences, beyond system bars or shadow rasterization:
Six theme screenshots with a different retained Picker selection:
Seven unexplained Switch color/state changes:
Eight other content/state differences:
No API36 snapshots are refreshed, including the pre-existing
Material3_TabbedPage_BottomTabsOverflowingContents,SafeAreaBottomPaddingIsRemovedWhenTabBarShownAgain, andToolbarExtendsAllTheWayLeftAndRight_Shellfailures.Validation of the stacked update
dotnet build src/Controls/src/Core/Controls.Core.csproj -f net11.0-android37.0 -p:TargetFrameworks=net11.0-android37.0 --no-restore --nologo -v:quiet— PASS, Android Core and Controls compile; zero warnings/errors. Executed with installed SDK11.0.100-preview.6.26359.118; this is not a claim of pinned-RTM CI validation.dotnet format whitespace Microsoft.Maui.sln --no-restore --include src/Controls/src/Core/Platform/ModalNavigationManager/ModalNavigationManager.Android.cs src/Controls/tests/TestCases.HostApp/Issues/Issue32987.cs src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32987.cs src/Core/src/Handlers/Window/WindowHandler.Android.cs src/Core/src/Platform/Android/MauiAppCompatActivity.Lifecycle.cs src/Core/src/Platform/Android/MauiAppCompatActivity.cs src/Core/src/Platform/Android/MauiWebChromeClient.cs --verbosity quiet— PASS, no changes. The broader formatter's verify-only precheck reports existingIMPORTS/IDE0031diagnostics in the original implementation; those are not fixed here in order to preserve the exact requested restoration.git diff --check b6456a1d358aa35b7e27d6e95fbff26bc5994e37...HEAD— PASS.python3 verify_stacked_reintroduction.py b6456a1d358aa35b7e27d6e95fbff26bc5994e37— PASS: rollback and original screenshot commits are ancestors; exactly ten original file blobs plus 1,766 PNG updates; the entire screenshot directory matches the original screenshot commit; exact CI-source bytes, dimensions, all 64 exclusions, resource XML, and clean worktree verified. Audit helpers/provenance remain outside the repository.Exact independent PNG validation command and result
Result: PASS, 1766/1766 PNGs; 145,894,172 new PNG bytes.
CI blocker on the temporary base: fresh
/azp run maui-prand/azp run maui-pr-uitestsrequests were both filtered out due to trigger conditions, as reported by Azure Pipelines (build request response, UI request response). Both checks are neutral, not passed; no new AzDO run for stacked head7f1883fc4f001a6efef00b586698375a7d09dd23was queued. CI must be requested again after the PR returns tonet11.0(or through a separately authorized compatible validation route). No pipeline configuration was changed to bypass this.No local UI automation or XCTest was run. The screenshot-source builds are failing builds, not proof that this PR's complete UI suite passes. Earlier PR-head builds 1645687/1645689 also failed and are not validation of this new stacked head. Excluded failures can remain red. This PR is not declared ready to merge.
Issues Fixed
Reintroduces #36226 / its Issue32987 implementation and tests after temporary rollback #39579, accompanied by updated API30 visual expectations. No issue-closing claim for the excluded failures.