Skip to content

[Android] Fix incorrect top padding when translating views offscreen - #37772

Merged
kubaflo merged 17 commits into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-37418
Aug 27, 2026
Merged

kubaflo merged 17 commits into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-37418

Conversation

@devanathan-vaithiyanathan

@devanathan-vaithiyanathan devanathan-vaithiyanathan commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Root Cause

The issue was caused by a small view moved off-screen with TranslationY for a full-screen Shell navigation animation. This incorrectly preserved the top safe-area inset, creating the unwanted gap in the bottom sheet.

else if (top > 0 && viewIsAnimatingVertically)

Issue Details

On Android, moving a view outside the screen using TranslationY incorrectly adds top padding to the layout.

Description of Change

Updated Android vertical animation detection to treat only full-screen views as Shell navigation transitions. Smaller translated controls, are excluded so they no longer receive incorrect top safe-area padding.

Issues Fixed

Fixes #37418

Tested the behavior in the following platforms.

  • Android
  • Windows
  • iOS
  • Mac
Before After
Android
Android

Ahamed-Ali and others added 16 commits August 13, 2026 23:08
### Description of Change
This pull request makes a minor update to the UI test pipeline
configuration

- Pipeline configuration simplification:
* Removed the **duplicate** code that set the `$deviceType` variable and
appended the `--skin` argument to the test command in
`eng/pipelines/common/ui-tests-steps.yml`.


The same code was already added at [line
133](https://github.com/dotnet/maui/blob/main/eng/pipelines/common/ui-tests-steps.yml#L133)
as part of [PR dotnet#33409](dotnet#33409).

The duplicate code was also added at [line
156](https://github.com/dotnet/maui/blob/main/eng/pipelines/common/ui-tests-steps.yml#L156)
as part of [PR dotnet#31631](dotnet#31631).
<!-- 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

This follow-up repairs the skill-evaluation failures exposed by dotnet#36799
and hardens the credentialed Vally evaluator so skill regressions,
infrastructure failures, incomplete trials, parser differences, and
reporting-side failures are classified accurately.

### Root Causes

- `try-fix-capabilities` could exceed its numeric threshold while
remaining red because Vally independently hard-fails execution errors
and incomplete trials. Aggregate score never overrides those vetoes.
- `pr-review-gh-auth` routed correctly, but its isolated fixture omitted
the phase-specific unauthenticated public-GitHub fallback required by
the grader.
- Later failures exposed evaluator defects rather than skill
regressions: PAT authentication did not prove model entitlement, model
discovery did not initially match Vally 0.12's effective execution plan,
matrix-only token offsets removed run-level rotation entropy, and
parallel legs amplified shared PAT contention.
- Run `31518503277` restored the synthetic target correctly, but one
agent deleted Vally's pre-existing untracked `try-fix/` input to force
an empty `git status`; Vally correctly treated that deletion as
workspace drift.
- Run `31524806025` completed every evaluation successfully, but a
transient GitHub API fetch failure occurred before the comment step
exported its already-computed verdict, making reporting red despite
green suites.
- Review found parser-semantic splits between Psych and Vally's pinned
`yaml@2.9.0`: duplicate keys could be first-wins in AST policy checks
but last-wins at runtime, while YAML merge keys/tags were interpreted
differently and could hide executable evaluator fields from trusted
validation.

### Changes

- Replaced unreliable operational probes with bounded fixtures while
preserving repeated trials, behavioral rubrics, strict thresholds, and
hard-veto semantics.
- Added the unauthenticated GitHub fallback fixture and deterministic
skill-invocation/tool-call graders.
- Upgraded to Vally 0.12 and made aggregation fail closed on execution
errors, incomplete/skipped stimuli, malformed output, invocation
failures, and missing mandatory coverage.
- Added trusted fixture preparation plus path, symlink, Git,
environment, executable, attachment, hook, settings, MCP, executor, and
repository-control isolation.
- Serialized matrix legs while retaining three trials per stimulus.
- Made model discovery use only executed `eval*.vally.yaml` specs and
Vally 0.12's effective executor and prompt-grader fields; implicit
prompt-grader fallbacks are rejected.
- Added model-aware PAT selection with run/rerun/matrix-distributed
rotation and exact sentinel probes through the pinned evaluator runtime;
reused it in the advisory soak.
- Clarified that `try-fix` must preserve every pre-existing untracked
path, including evaluator-loaded skill inputs. Trusted validation
enforces both the skill contract and restoration fixture instruction
while retaining `diff-empty` as the method-independent veto.
- Exported the authoritative evaluation verdict before PR-comment API
calls, added bounded API retries, and made comment publication advisory
so transient GitHub failures cannot erase or invert the commit status.
- Reduced soak workflow permissions to `contents: read` and made `/user`
transport failures explicit without exposing PATs.
- Made required-stimulus policy fail closed when a configured stimulus
is renamed or removed, and bound each fixture marker/ref to the YAML
stimulus that owns it so a correctly named decoy cannot satisfy the
policy.
- Parse each eval spec once and reject duplicate semantic mapping keys,
textual YAML merge keys, and normalized explicit merge tags recursively
before loading. This prevents Psych/Vally parser disagreement from
bypassing prompt, ref, repository-control, or executable-environment
validation.
- Limited frozen-worktree test detection to full immutable commit IDs;
ordinary explicit branch bases continue using authoritative PR file
metadata.
- Added deterministic regressions for model planning, PAT distribution
and transport errors, deleted evaluator controls, host-only XAML
invocation, evaluator-owned input preservation, required-stimulus
rename/decoy/parser bypasses, branch-versus-immutable test detection,
and reporting-side verdict preservation.

### Validation

Current head: `fd8f3d543e1a1eb90e8432a0cbae07a18b52dbdd`.

- Exact-head [Skill Validation run
31807806898](https://github.com/dotnet/maui/actions/runs/31807806898),
[`maui-pr` build
1553690](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1553690),
Build Analysis, CLA, static checks, Pester, and the hermeticity gate are
green.
- All evaluated suites passed. Key suites: `try-fix-restore-protocol`
**1.00 / 1.00**, `try-fix-capabilities` **0.93 / 0.80**,
`pr-review-gh-auth` **1.00 / 0.80**, and
`verify-tests-fail-without-fix-capabilities` **0.94 / 0.87**.
- Local trusted evaluator/reporting harness: **70 tests, 306 assertions,
0 failures/errors/skips**.
- All **16** Vally specs pass strict lint with pinned
`@microsoft/vally-cli@0.12.0`.
- All **8** skill test directories pass trusted validation and resolve
the effective plan to `gpt-5.6-sol` plus `claude-opus-5`; non-eval
soak/hermeticity specs do not contaminate matrix selection.
- Ruby syntax, Bash syntax, ShellCheck, workflow YAML parsing, Pester
(**8 passed**), and `git diff --check` pass.
- Final whole-diff review found no high-confidence correctness or
security blockers; all review threads are resolved.
- `pull_request_target` executes trusted workflow/helper code from
default `main`; candidate selector/reporting helper behavior is
therefore covered deterministically here and becomes the credentialed
trusted path after merge.

### Issues Fixed

Follow-up to dotnet#36799.

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Vally Fixture <vally-fixture@example.invalid>
Copilot-Session: b9f7de2c-86d7-47cd-8ac8-aeff57d0b0f3
Copilot-Session: 806beb89-5041-4c7b-bcbf-998d6fbab8dc
<!-- 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

Extend the existing `release-readiness` skill with deterministic,
copy-ready Preview and servicing-release handoff generation from
readiness JSON plus separately verified public evidence.

- Keep missing or unverified release facts as explicit `TBD` values and
enforce public-safe URLs, structured metadata, NuGet configuration, and
Markdown output.
- Correct Preview workload installation guidance with package-source
mapping and the prior-major public compatibility feed while keeping
workload-set packages isolated to `dotnet-workloads`.
- Add focused regression coverage and run it in the release-readiness
validation workflow.

The renderer is a projection of the existing readiness engines rather
than a second survey, so Preview and SR semantics remain distinct while
sharing one public handoff format.

### Safety and Architecture

- Public output requires an explicit JSON boolean `PublicEvidence:
true`.
- The renderer rebuilds NuGet XML from an allow-list and accepts only
public `dnceng/public` Azure Artifacts feeds or the exact NuGet.org
service index.
- Public evidence URLs, structured build metadata, timestamps, Markdown,
local paths, credential-shaped values, and owner/sign-off prose are
validated or omitted.
- Workload-set packages map only to `dotnet-workloads`; component and
compatibility packages resolve through their appropriate public feeds.

### What Not to Do

- Do not use the handoff renderer as a second readiness survey or let it
select a newer build implicitly.
- Do not copy private source-page content, credentials, owners, or
sign-offs into public evidence.
- Do not map unrelated component packages to `dotnet-workloads`; missing
upstream packages can otherwise surface as misleading authorization
failures.

### Validation

- `pwsh -NoProfile -File
.github/skills/release-readiness/tests/Test-ReleaseHandoff.ps1`
- `pwsh -NoProfile -File
.github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1
-SkipE2E`

### Issues Fixed

N/A

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3db5742d-7e40-4a23-a3ea-de3bc3f0848e
…t#36568)

<!-- 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

MAUI's release flow implemented NuGet.org authentication, retries,
conflict handling, quota rotation, and publishing in
`eng/scripts/push_nuget_org.ps1`. Gather and push failures could also
continue without failing the release. The repository additionally
carried a duplicate internal release YAML.

### Description of Change

This makes `eng/pipelines/ci-official-release.yml` the canonical release
pipeline and moves package publication to the approved 1ES release path:

- Resolve the BAR build once and run one fail-fast `darc gather-drop`,
limited to BAR NuGet package assets rather than unrelated symbol/blob
assets.
- Preserve package include/exclude behavior and validate non-empty
workload-pack and workload-manifest sets.
- Produce separate SBOM-backed `MauiPacksForNuGet` and
`MauiManifestsForNuGet` artifacts.
- Publish from production `releaseJob` jobs with `1ES.PublishNuget@1`,
`useDotNetTask: false`, and the protected `nuget.org (dotnetframework)`
service connection.
- Require workload packs to publish and become resolvable before
manifest approval is available.
- Remove `maui-release-internal.yml`, `push_nuget_org.ps1`, raw API-key
inputs, and the arbitrary feed URL.
- Document the canonical release and recovery procedure.

No public API changes are involved.

### Duplicate and Partial-Publish Recovery

Internal build
[3050066](https://dev.azure.com/dnceng/internal/_build/results?buildId=3050066)
proved that the service connection authenticates, but also proved that
the external-feed-backed task fails on HTTP 409 even with
`allowPackageConflicts: true`. Task-level retries are unsafe after a
partial batch because the retry can immediately encounter duplicates
created by the first attempt.

The final implementation therefore:

- Generates an `expected-packages.json` identity manifest for each
immutable artifact.
- Rejects duplicate package identities, duplicate package file names,
and unexpected `.nupkg` files before publication.
- Verifies the copied helper's SHA-256 before execution.
- Filters packages already visible through NuGet.org's flat-container
API before publishing.
- Uses separate recovery-only `nugetAlreadyAttemptedPackFilters` and
`nugetAlreadyAttemptedManifestFilters` parameters for packages accepted
but not yet visible during NuGet.org validation lag.
- Runs `1ES.PublishNuget@1` only when packages remain and does not use
task-level retries.
- Verifies the complete expected package set with transient-query
retries and a 30-minute deadline.

### Internal Validation

- Internal branch:
[`copilot/replace-custom-nuget-publishing`](https://dev.azure.com/dnceng/internal/_git/dotnet-maui?version=GBcopilot%2Freplace-custom-nuget-publishing)
- Final internal commit:
[`adf2ad774cd3a2092450df153e6b46a09a127552`](https://dev.azure.com/dnceng/internal/_git/dotnet-maui/commit/adf2ad774cd3a2092450df153e6b46a09a127552?refName=refs%2Fheads%2Fcopilot%2Freplace-custom-nuget-publishing)
- Build 3050066 confirmed the registered `dotnet-maui-release`
definition already executes the canonical YAML, so no
pipeline-definition migration is needed.
- Build
[3050237](https://dev.azure.com/dnceng/internal/_build/results?buildId=3050237)
showed that a fail-fast unfiltered gather stops on a missing Foldable
symbol blob even though the shipping NuGet package downloads
successfully. The gather now uses Darc's slash-free package-asset
convention to exclude symbol/blob paths while remaining fail-fast for
every publishable package.
- Build
[3050279](https://dev.azure.com/dnceng/internal/_build/results?buildId=3050279)
confirmed the package-only gather succeeds and the `nuget.org
(dotnetframework)` connection authenticates: it published
`Microsoft.AspNetCore.Components.WebView.Maui.10.0.100`, then NuGet.org
rejected
`Microsoft.AspNetCore.Components.WebView.Maui.Msi.arm64.10.0.100` with
HTTP 403. The first package lists `dotnetframework` as an owner; the MSI
package lists only `Microsoft` and `Xamarin`. This is a NuGet.org
package-ownership/service-connection blocker, not a pipeline task-wiring
failure.
- Pester 5.9.0: 1,668 tests passed, including 15 package-filtering/retry
tests and 3 release-pipeline regression tests.
- PowerShell parsing, YAML parsing, documentation spellcheck, and
whitespace validation pass.

Before production use, either the service-connection identity must be
granted ownership of every MAUI package (including Xamarin-owned MSI
packages), or the release pipeline must be given an approved
Xamarin-scoped NuGet.org service connection. Once that external
credential issue is resolved, rerun the same commit and BAR selection;
the recovery logic will omit the package already published by build
3050279 and continue with the remaining set.

### What Not to Do

- Do not rely on `allowPackageConflicts` for an external NuGet.org feed;
build 3050066 proved it does not make 409 responses successful.
- Do not add task-level retries around a multi-package publish; they are
not safe after partial publication.
- Do not restore broad `--continue-on-error` gather behavior; exclude
non-release symbol/blob assets and keep publishable package gathering
fail-fast.
- Do not gather a different BAR drop while recovering a partial release;
rerun the same commit and selection filters.
- Do not exclude the Xamarin-owned MSI packages to make the build green;
they are shipping assets and require a credential with matching
NuGet.org ownership.

### Issues Fixed

Fixes dotnet#36567

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
Copilot-Session: 150fe76a-707e-48ca-9e9d-38bfccead829
<!-- 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

Enhance local net11 preview release-readiness runs with automatic health
checks for the internal official `dotnet-maui` Azure DevOps pipeline
(definition 1095, `dnceng/internal`). The local release-readiness
skill/agent explicitly requests enriched output, then independently
discovers builds for `refs/heads/net11.0` and the evaluated release
branch when it exists. It requests a bounded, queue-time-ordered
five-build window and prefers the newest exact-HEAD build, then scans in
queue order while skipping candidates proven stale and buffering
indeterminate evidence. Disagreeing possible outcomes remain UNKNOWN; a
later proven-current failure remains RED only when every buffered
candidate is also a completed failure/cancellation. A terminal window
containing only same-branch failed/canceled indeterminate builds is
`failed-or-stale` and BLOCKED because every possible build is either red
or stale.

The check reports build status, ID/number, source SHA, and URL. Current
successful builds are green; failures/cancellations are red; partial
success is a WATCH state requiring manual review; running builds are in
progress; builds behind the newest trigger-eligible commit are stale;
missing or malformed evidence is unknown. When branch HEAD advances,
bounded local Git evaluates exact first-parent history and merge-result
changes against `eng/pipelines/ci-official.yml`. Successful no-op or
excluded-only advances remain current, while add/revert and
merge-result-only source changes still require a newer official build. A
conclusive Git non-ancestor result is stale; unavailable Git evidence
remains unknown unless every possible same-branch result is
independently blocking.

### Public/internal boundary

Direct script output remains public-safe by default. GitHub Actions
skips the internal query before invoking Azure CLI, while the local
skill/agent explicitly passes `'-PublicSafe:$false'` for enriched
artifacts that remain local. Public-safe output omits internal branch
records, build IDs/numbers, SHAs, URLs, and the local-only table.

Missing local Azure authentication fails open. Partial failures preserve
successful branch evidence, so known red/stale results cannot disappear.
Azure, GitHub, and local Git subprocesses have bounded execution;
process exit and redirected-output draining share the same deadline.
Local Git runs from the explicit repository root, performs a bounded
fetch of only the evaluated branch when objects are absent, and maps
unavailable currency evidence through the outcome lattice rather than
assuming current or stale. Windows `.cmd`/`.bat` Azure CLI launchers run
through `ComSpec` with structured arguments. Manual build overrides are
accepted only when the build belongs to definition 1095, and
Azure-controlled build numbers are constrained to the expected numeric
format before entering agent-facing output.

### Tests

- `pwsh -NoProfile -File
.github/skills/release-readiness/tests/Test-ReleaseReadiness.ps1` —
2,276 passed, 0 failed
- PowerShell parser validation for the helper, preview engine, and test
harness
- Live local smoke successfully queried both requested refs through the
enriched local path
- First-parent empty-commit, same-tree merge, merge-result source
change, add/revert, non-ancestor, missing-object, exact/proven-current
candidate selection, old-SHA retry, uncertain-failed/older-green
UNKNOWN, uncertain-failed/older-failed RED, blank-source-SHA/canceled
certainty, terminal failed-or-stale Details/NextAction, public-safe
generic BLOCKED rendering, explicit-CWD, Windows launcher,
trigger-exclusion, exact-path, timeout, auth-ordering, malformed-output,
and public-redaction fixtures
- GitHub Actions/public-safe smoke confirms the internal fetcher is not
invoked and internal coordinates remain absent

### Design tradeoffs

- Azure CLI remains the local adapter so public automation gains no
credentials or SDK dependency.
- A five-build, server-ordered window keeps the query bounded; selection
skips conclusively stale candidates, buffers uncertainty, and reports
only outcomes common to every possible currency result.
- Certain terminal blocking uses a distinct `failed-or-stale`
classification rather than falsely claiming the selected build is
current; local guidance restores currency evidence before choosing
failure repair versus a current-HEAD rerun, while public-safe output
remains generic.
- Local Git inspects exact first-parent commit and merge-result paths
rather than an aggregate compare diff, preventing second-parent history
and net-zero merges from producing false stale results while preserving
add/revert evidence.
- Missing local objects trigger one bounded fetch of the evaluated ref;
unresolved evidence remains UNKNOWN unless every possible outcome
blocks, while a conclusive non-ancestor result is stale.
- Total authentication unavailability is skipped; partial access loss
retains observed branch evidence.
- `-InternalBuildId` remains a diagnostic override, but normal local
skill/agent runs use branch-based discovery.

### Issues Fixed

N/A

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0e39d9d4-19e4-45f5-80f1-2bb3035c18c9
Removes the repository-owned VG20 import and synchronizes the relevant
Arcade credential-removal changes on `main`.

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

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

Replace MAUI's long-lived `dn-bot-ceapex-package-r` dependency with a
short-lived Entra token for OneLocBuild package restores.

- Acquire the Azure DevOps token through the existing DevDiv
`dnceng-onelocbuild-ceapex` workload-identity service connection.
- Reuse Arcade's shared `get-federated-access-token.yml` helper.
- Pass the resulting secret `CeapexEntraToken` to OneLocBuild for the
ceapex LCL/LocTools feeds.
- Keep the existing GitHub PR authentication unchanged.

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

### Validation

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

### Issues Fixed

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

Copilot-Session: 80f6a0c6-7947-4200-bb78-7f0fc01d671a
…atic event with WeakEventManager (dotnet#37645)

<!-- 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 page or view model subscribes to BindingDiagnostics.BindingFailed
(a helpful event that tells you when a data binding fails) and forgets
to unsubscribe, that page never gets cleaned up from memory. Every page
it holds — plus its images, view models, and data — stays alive until
the app closes. Over time, the app uses more and more memory.

### Root Cause
BindingFailed is a static event, which means it lives for the whole life
of the app. Normal C# events keep a strong reference to whoever
subscribed, so as long as the event is alive, its subscribers stay alive
too. Since this event never goes away, any subscriber that doesn't call
-= is stuck in memory forever.

### Description of Change
Switched BindingFailed from a normal event to one backed by
WeakEventManager, which keeps only a weak reference to subscribers — so
the garbage collector can clean them up even if someone forgets to
unsubscribe.
 

Validated the behavior in the following platforms
 
- [x] Android
- [x] Windows
- [x] iOS
- [x] Mac
 
### Issues Fixed
  
Fixes dotnet#37245 

### Fix reference 
[maui/src/Controls/src/Core/Application/Application.cs at
bf62313 ·
…](https://github.com/dotnet/maui/blob/bf62313db2cecf3215f10c353720b341aba0a4ee/src/Controls/src/Core/Application/Application.cs#L263)
[maui/src/Controls/src/Core/Command.cs at
bf62313 ·
dotnet/maui](https://github.com/dotnet/maui/blob/bf62313db2cecf3215f10c353720b341aba0a4ee/src/Controls/src/Core/Command.cs#L128)
[maui/src/Controls/src/Core/ImageSource.cs at
bf62313 ·
dotnet/maui](https://github.com/dotnet/maui/blob/bf62313db2cecf3215f10c353720b341aba0a4ee/src/Controls/src/Core/ImageSource.cs#L175)

### Output  ScreenShot

|Before|After|
|--|--|
| <video
src="https://github.com/user-attachments/assets/86c6d76d-a051-458b-beb3-6c254545f87a"
>| <video
src="https://github.com/user-attachments/assets/e3b02ce7-71a7-4e90-94e0-dd6587c8e3cf">|
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Summary

- regenerate all 14 Copilot-based agentic workflows with gh-aw v0.86.2
- stage the installed Copilot CLI in a portable runner-local path
instead of invoking `/usr/local/bin/copilot`
- explicitly disable shell access in the automatic issue/PR labeler, as
required when `min-integrity: none`
- adopt gh-aw v0.86.2's intentional disabled-expiry sentinel for
action-failure issues when no maintenance workflow exists

## Root cause

The failing runs install Copilot CLI successfully, but gh-aw v0.85.4
then invokes `/usr/local/bin/copilot`. That path no longer exists on the
hosted runner, so the engine exits with `ENOENT` before producing output
or making a model request. gh-aw v0.86.2 includes the upstream
path-portability fix and resolves the installed executable from `PATH`.

The same generated path affected every Copilot workflow, including the
labeler, whose failure reporting is intentionally disabled.

Regeneration also incorporates
[github/gh-aw#51425](github/gh-aw#51425).
Because this repository does not generate an `agentics-maintenance.yml`
consumer for the implicit action-failure expiry, all 14 lockfiles now
set `GH_AW_ACTION_FAILURE_ISSUE_EXPIRES_HOURS` to `"0"`. In gh-aw
v0.86.2, explicit `0` means expiration is disabled; it prevents
unenforceable expiry markers and does not make failure issues expire
immediately.

## Validation

- `gh aw compile --strict --validate --actionlint --no-emit`
- verified all 14 lockfiles use gh-aw v0.86.2 and portable Copilot
staging
- verified no generated workflow references `/usr/local/bin/copilot`
- verified all 14 generated locks use gh-aw's `"0"` disabled-expiry
sentinel consistently

No existing open MAUI PR addresses this gh-aw/Copilot path failure.

Fixes dotnet#37430
Fixes dotnet#37431
Fixes dotnet#37432
Fixes dotnet#37435
Fixes dotnet#37442

---------

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

## Description

Adds .NET MAUI 10.0.100 and 11.0.0-preview.7 to both version selectors
in the bug-report issue form.

This lets users report issues against the released SR10 build and the
active .NET 11 Preview 7 version.

---------
…net#37686)

<!-- 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!

### Problem

The internal `dotnet-maui` official build currently fails to compile the
pipeline YAML, before any stage runs:

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

### Cause

dotnet#37589 removed `- group: Publish-Build-Assets`, but that group was the
only child of the conditional that enclosed it, leaving an empty block
behind:

```yaml
    - group: AzureDevOps-Artifact-Feeds-Pats
    - ${{ if eq(variables['Build.DefinitionName'], 'dotnet-maui') }}:   # <- nothing under it
```

Azure DevOps requires a conditional insertion block to contain at least
one entry, so template expansion fails outright.

### Why PR validation stayed green

The empty block is nested inside an outer guard:

```yaml
- ${{ if or(eq(variables['Build.DefinitionName'], 'dotnet-maui'), eq(variables['Build.DefinitionName'], 'dotnet-maui-build')) }}:
  - ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
```

For the public `maui-pr` definition that outer condition is false, so
Azure DevOps short-circuits and never expands the inner block. The
breakage is therefore invisible to PR CI and only manifests on the
internal official build.

### Fix

Remove the empty conditional. No file in the repository references the
`Publish-Build-Assets` variable group any more, so it is deleted
outright rather than repopulated.

### Validation

- `eng/pipelines/common/variables.yml` parses as valid YAML.
- Swept all 39 YAML files under `eng/pipelines/` for conditional blocks
with no body — this was the only one.
- `grep` for `Publish-Build-Assets` across `eng/` and `.github/` returns
no remaining references.

This blocks the internal build entirely, so it is worth merging ahead of
larger infra work such as dotnet#36257 (which carries the same one-line fix,
but cannot be validated on the internal pipeline until this is on
`main`).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…le with keyboard waits (refs dotnet#37556) (dotnet#37741)

> [!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!

Workflow artifact: ci-fix
Artifact kind: deflake
Refs: dotnet#37556
Target branch: main
Attempt: 1/10


## Attempt 1 of 10

Synchronize the test with actual keyboard visibility before validating
the keyboard-dependent safe-area layouts.

### Previous attempts (prior commits on this PR)

None.

This attempt differs by: this is the first attempt.

## Root cause

The latest `main` build 1563072 failed
`SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` on run 0 because
`ContentGrid` had not shrunk after tapping the entry, then passed on
built-in retry run 1. The test immediately queried layout after the tap
and immediately changed edges after dismissing the keyboard, without
first proving either keyboard transition completed.

Flake class: test-quality

## Why this was flaky


`Issue28986_ContentPage.SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle`
retried its layout assertion but had no synchronization point confirming
that Android had shown the keyboard. It also dismissed the keyboard and
immediately restored all safe-area edges. Depending on keyboard
animation timing, the assertions could observe the pre-transition
layout; build 1563072 demonstrates the intermittent fail-then-pass
behavior.

## De-flake

The test now asserts `WaitForKeyboardToShow()` before measuring the
keyboard-visible layout and `WaitForKeyboardToHide()` before restoring
all safe-area edges. Every existing layout assertion remains unchanged.
No timeout was increased, no retry attribute was added, and no assertion
was weakened.

## Fix

Add the existing Appium keyboard-state waits at the two transition
boundaries so the test evaluates the same behavior in deterministic UI
states.

## What is unverified / where I need help

- The Android UI test could not be run because this runner has no device
rig.
- Please confirm the API 36 SafeAreaEdges leg consistently observes both
transitions and preserves the intended edge-toggle sequence.

## Validation

- Command: `not run because no Android device rig is available`
- Result: not run

## Evidence

- Original failing build:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1554582
- Latest verified-failing build:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1563072

---
Filed by
[`ci-status-fix`](https://github.com/dotnet/maui/blob/main/.github/workflows/ci-status-fix.md).
This is the single PR for dotnet#37556: the workflow watches its
own CI and pushes up to **10 attempts on this same PR** (it never opens
a second PR). It advances only when the fix's own build settles red and
that red is caused by the fix. Comments, reviews, and commits do not
transfer ownership; the loop remains autonomous until this PR is closed.
Eligible `CHANGES_REQUESTED` reviews are handled through Track C. After
10 attempts it stops and defers to humans. In round 1 a maintainer still
needs to comment `/azp run maui-pr` (plus the gated uitests/devicetests
legs when relevant) to exercise each new commit.

> [!WARNING]
> <details>
> <summary>Firewall blocked 1 domain</summary>
>
> The following domain was blocked by the firewall during workflow
execution:
>
> - `dc.services.visualstudio.com`
>
> To allow these domains, add them to the `network.allowed` list in your
workflow frontmatter:
>
> ```yaml
> network:
>   allowed:
>     - defaults
>     - "dc.services.visualstudio.com"
> ```
>
> See [Network
Configuration](https://github.github.com/gh-aw/reference/network/) for
more information.
>
> </details>

> Generated by [CI Failure Fixer
(main)](https://github.com/dotnet/maui/actions/runs/32573008235) · gpt56
· 446.8 AIC · ⌖ 82.9 AIC · ⊞ 31.1K ·
[◷](https://github.com/search?q=repo%3Adotnet%2Fmaui+%22gh-aw-workflow-id%3A+ci-status-fix%22&type=pullrequests)

<!-- gh-aw-agentic-workflow: CI Failure Fixer (main), engine: copilot,
model: gpt-5.6-sol, id: 32573008235, workflow_id: ci-status-fix, run:
https://github.com/dotnet/maui/actions/runs/32573008235 -->

<!-- gh-aw-workflow-id: ci-status-fix -->
<!-- gh-aw-workflow-call-id: dotnet/maui/ci-status-fix -->

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…otnet#37557) (dotnet#37742)

> [!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!

Workflow artifact: ci-fix
Artifact kind: deflake
Refs: dotnet#37557
Target branch: main
Attempt: 1/10


## Attempt 1 of 10

Synchronize `SafeAreaPerEdgeValidation` with actual keyboard visibility
before validating keyboard-dependent safe-area layouts.

### Previous attempts (prior commits on this PR)

None.

This attempt differs by: this is the first attempt.

## Root cause

The latest `main` build 1563072 failed
`Issue28986.SafeAreaPerEdgeValidation` on run 0 because `ContentGrid`
remained at height 2789 after tapping the entry, then passed on built-in
retry run 1. The test immediately queried layout after the tap without
proving that Android had shown the keyboard.

Flake class: test-quality

## Why this was flaky

`Issue28986.SafeAreaPerEdgeValidation` retried its layout assertion but
had no synchronization point confirming that Android had completed the
keyboard transition. Depending on keyboard animation timing, the
assertion could poll the unchanged pre-keyboard layout; build 1563072
demonstrates the intermittent fail-then-pass behavior.

## De-flake

The test now asserts `WaitForKeyboardToShow()` before measuring the
keyboard-visible layout and `WaitForKeyboardToHide()` before validating
the restored layout. Every existing layout assertion remains unchanged.
No timeout was increased, no retry attribute was added, and no assertion
was weakened.

## Fix

Add the existing Appium keyboard-state waits at the two transition
boundaries so the test evaluates the same behavior in deterministic UI
states.

## What is unverified / where I need help

- The Android UI test could not be run because this runner has no device
rig.
- Please confirm the API 36 SafeAreaEdges leg consistently observes both
transitions.

## Validation

- Command: `not run because no Android device rig is available`
- Result: not run

## Evidence

- Original failing build:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1554582
- Latest verified-failing build:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1563072

---
Filed by
[`ci-status-fix`](https://github.com/dotnet/maui/blob/main/.github/workflows/ci-status-fix.md).
This is the single PR for dotnet#37557: the workflow watches its
own CI and pushes up to **10 attempts on this same PR** (it never opens
a second PR). It advances only when the fix's own build settles red and
that red is caused by the fix. Comments, reviews, and commits do not
transfer ownership; the loop remains autonomous until this PR is closed.
Eligible `CHANGES_REQUESTED` reviews are handled through Track C. After
10 attempts it stops and defers to humans. In round 1 a maintainer still
needs to comment `/azp run maui-pr` (plus the gated uitests/devicetests
legs when relevant) to exercise each new commit.

> [!WARNING]
> <details>
> <summary>Firewall blocked 1 domain</summary>
>
> The following domain was blocked by the firewall during workflow
execution:
>
> - `dc.services.visualstudio.com`
>
> To allow these domains, add them to the `network.allowed` list in your
workflow frontmatter:
>
> ```yaml
> network:
>   allowed:
>     - defaults
>     - "dc.services.visualstudio.com"
> ```
>
> See [Network
Configuration](https://github.github.com/gh-aw/reference/network/) for
more information.
>
> </details>

> Generated by [CI Failure Fixer
(main)](https://github.com/dotnet/maui/actions/runs/32573008235) · gpt56
· 446.8 AIC · ⌖ 82.9 AIC · ⊞ 31.1K ·
[◷](https://github.com/search?q=repo%3Adotnet%2Fmaui+%22gh-aw-workflow-id%3A+ci-status-fix%22&type=pullrequests)

<!-- gh-aw-agentic-workflow: CI Failure Fixer (main), engine: copilot,
model: gpt-5.6-sol, id: 32573008235, workflow_id: ci-status-fix, run:
https://github.com/dotnet/maui/actions/runs/32573008235 -->

<!-- gh-aw-workflow-id: ci-status-fix -->
<!-- gh-aw-workflow-call-id: dotnet/maui/ci-status-fix -->

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

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

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

Or

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

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Aug 24, 2026
@devanathan-vaithiyanathan devanathan-vaithiyanathan added the community ✨ Community Contribution label Aug 24, 2026
@github-actions github-actions Bot added area-safearea Issues/PRs that have to do with the SafeArea functionality platform/android labels Aug 24, 2026
@vishnumenon2684

Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests , maui-pr-devicetests

@kubaflo kubaflo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you please check the ai's suggestions?

@devanathan-vaithiyanathan

Copy link
Copy Markdown
Contributor Author

Could you please check the ai's suggestions?

@kubaflo ,
I have addressed the CI suggestions. Regarding the gate failure, the test fails without the fix locally. I have also added a screenshot for reference.
image

@kubaflo
kubaflo changed the base branch from main to inflight/current August 27, 2026 14:19
@github-actions

Copy link
Copy Markdown
Contributor

Skill Validation Results

@devanathan-vaithiyanathan — new skill validation results are available based on this last commit: 6f22aaa.
To request a fresh validation after new comments or commits, comment /evaluate-skills.

Overall Failed Static Failed LLM Needs attention Skills 0 Agents 0

❌ Skill Validation Results — 6f22aaa · [Android] Fix incorrect top padding when translating views offscreen · 2026-08-27T14:20:11Z

❌ Static Checks Failed

Skills: 0 | Eval specs linted:

⏭️ LLM Evaluation: Skipped

No changed skills with eval specs found.

🔍 Full results and investigation steps

@kubaflo
kubaflo merged commit 9d587ce into dotnet:inflight/current Aug 27, 2026
8 of 19 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR11 milestone Aug 27, 2026
kubaflo added a commit that referenced this pull request Aug 27, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
### Root Cause
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.


https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175


### Issue Details
On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

### Description of Change

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

### 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 #37418 

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac


| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Aug 31, 2026
Backport of #37772.

(cherry picked from commit 9d587ce)

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

Copilot-Session: b603f8b0-824a-48b4-92e5-c891584266bf
kubaflo added a commit that referenced this pull request Sep 1, 2026
…load (#37746)

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

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

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

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

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

## Status at a glance

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

## Staged in this PR

### Servicing regressions

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

### Planned Skia payload

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

### Integration follow-ups

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

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

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

## Completed disposition — no backport required

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

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

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

## Release completion

### Before merging this PR

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

### After merge

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

## Notes

- No automated `/backport` command was used for this release payload.
- Supersedes #37745, which GitHub automatically closed when the
integration branch was renamed from `vs/10.0.101` to
`inflight/10.0.101`.
kubaflo added a commit that referenced this pull request Sep 2, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
### Root Cause
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.


https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175


### Issue Details
On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

### Description of Change

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

### 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 #37418 

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac


| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 3, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
### Root Cause
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.


https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175


### Issue Details
On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

### Description of Change

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

### 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 #37418 

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac


| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 6, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
### Root Cause
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.


https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175


### Issue Details
On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

### Description of Change

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

### 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 #37418 

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac


| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 7, 2026
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description

Forward-ports the focused Android fix from #37772 to the current `main`
branch.

The vertical safe-area animation heuristic now treats a translated view
as a full-screen Shell navigation transition only when the view covers
the usable screen height. Smaller translated controls, such as bottom
sheets, no longer retain an incorrect top safe-area inset.

Adds the Issue37418 HostApp scenario and UI regression test. This
intentionally excludes the unrelated
`.github/skills/release-readiness/SKILL.md` change present in source
merge commit `9d587ce9a6ce0b776496e930b5948da629b62ef2`.

### Issues Fixed

Fixes #37418

### Validation

- `dotnet build Microsoft.Maui.BuildTasks.slnf`
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-TestFilter "FullyQualifiedName~Issue37418"`

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 7, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 8, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 9, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 11, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 15, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 18, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Sep 21, 2026
…37772)

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->
The issue was caused by a small view moved off-screen with TranslationY
for a full-screen Shell navigation animation. This incorrectly preserved
the top safe-area inset, creating the unwanted gap in the bottom sheet.

https://github.com/dotnet/maui/blob/19a188896c0e518c0d201db181f67166c740724d/src/Core/src/Platform/Android/SafeAreaExtensions.cs#L175

On Android, moving a view outside the screen using TranslationY
incorrectly adds top padding to the layout.

<!-- Enter description of the fix in this section -->
Updated Android vertical animation detection to treat only full-screen
views as Shell navigation transitions. Smaller translated controls, are
excluded so they no longer receive incorrect top safe-area padding.

<!-- 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 #37418

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [x] iOS
- [ ] Mac

| Before  | After  |
|---------|--------|
| **Android**<br> <img
src="https://github.com/user-attachments/assets/9a17e25d-4b59-4d33-9b22-014bb504e3a0"
width="300" height="600"> | **Android**<br> <img
src="https://github.com/user-attachments/assets/aef1bf14-dca6-411f-94e4-c473ac3b5d0c"
width="300" height="600"> |

---------
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 27, 2026
@github-actions github-actions Bot modified the milestones: .NET 10 SR11, .NET 10 SR12 Oct 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-safearea Issues/PRs that have to do with the SafeArea functionality community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-fix-win AI found a better alternative fix than the PR s/agent-gate-failed AI could not verify tests catch the bug s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android] TranslationY out of screen creates broken layout padding