Skip to content

[automated] Merge branch 'net11.0' => 'release/11.0.1xx-rc2' - #39708

Closed
github-actions[bot] wants to merge 355 commits into
release/11.0.1xx-rc2from
merge/net11.0-to-release/11.0.1xx-rc2
Closed

github-actions[bot] wants to merge 355 commits into
release/11.0.1xx-rc2from
merge/net11.0-to-release/11.0.1xx-rc2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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:

  • Vignesh-SF3580
  • noiseonwires
  • KarthikRajaKalaimani
  • kubaflo
  • github-actions[bot]
  • dependabot[bot]
  • Ahamed-Ali
  • Dhivya-SF4094
  • SyedAbdulAzeemSF4852
  • HarishKumarSF4517
  • HarishwaranVijayakumar
  • praveenkumarkarunanithi
  • devanathan-vaithiyanathan
  • StephaneDelcroix
  • FullDevStudio
  • rmarinho
  • jfversluis
  • sheiksyedm
  • dotnet-maestro[bot]
  • jsuarezruiz
  • mattleibow
  • Tamilarasan-Paranthaman
  • PureWeen
  • SuthiYuvaraj
  • simonrozsival
  • Shalini-Ashokan
  • kevin68
  • dotnet-oneloc-localization[bot]
  • rolfbjarne
  • morning4coffe-dev
  • edgiardina

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.

merge button instructions

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.

git fetch
git checkout net11.0
git pull --ff-only
git checkout release/11.0.1xx-rc2
git pull --ff-only
git merge --no-ff net11.0

# 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/net11.0-to-release/11.0.1xx-rc2
or if you are using SSH
git push git@github.com:dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

⚠️ If there are merge conflicts, you will need to resolve them manually before merging. You can do this using GitHub or 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/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.

git fetch
git checkout -b merge/net11.0-to-release/11.0.1xx-rc2 origin/release/11.0.1xx-rc2
git pull https://github.com/dotnet/maui merge/net11.0-to-release/11.0.1xx-rc2
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2
or if you are using SSH
git fetch
git checkout -b merge/net11.0-to-release/11.0.1xx-rc2 origin/release/11.0.1xx-rc2
git pull git@github.com:dotnet/maui merge/net11.0-to-release/11.0.1xx-rc2
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc2

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.

kubaflo and others added 30 commits October 14, 2026 18:27
<!-- 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 -->

Remove the automated “a review is already running” PR reply from the
shared `/review` and `/review gate` trigger. Keep the in-progress lock,
stale-lock recovery, Actions step summary, command
acknowledgement/minimization, result reports, and actionable failure
notices unchanged.

Remove the timestamp helper used only to deduplicate these notices and
document quiet command handling. `/review tests` and `/review
performance` already have `status-comment: false`; their reporting is
unchanged.

Configuration validation passed: `actionlint -shellcheck=
.github/workflows/review-trigger.yml`, PowerShell AST parsing of
`.github/scripts/shared/Update-AgentLabels.ps1`, and `git diff --check`.
No pipeline tests added or run. Live command dispatch was not run
because it would trigger a real review.

### 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 unwanted notice at
#39240 (comment). Does
not change the Grid fix or close that PR.

<!--
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: 8321015d-d5f0-4368-a4fe-a4114d23ac3a
)

This pull request updates the following dependencies

[marker]: <> (Begin:1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)
## From https://github.com/dotnet/macios
- **Subscription**:
[1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf](https://maestro.dot.net/subscriptions?search=1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)
- **Build**:
[20261013.4](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15671833)
([336498](https://maestro.dot.net/channel/8298/github:dotnet:macios/build/336498))
- **Date Produced**: October 13, 2026 9:59:57 PM UTC
- **Commit**:
[fd84793d3d479137a74249c43f9dc377ca7cc47f](dotnet/macios@fd84793)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/macios/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [27.0.12211-net11-rc.2 to 27.0.12227][1]
     - Microsoft.iOS.Sdk.net11.0_27.0
     - Microsoft.MacCatalyst.Sdk.net11.0_27.0
     - Microsoft.macOS.Sdk.net11.0_27.0
     - Microsoft.tvOS.Sdk.net11.0_27.0

[1]: dotnet/macios@35d8bf5...fd84793

[DependencyUpdate]: <> (End)


[marker]: <> (End:1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)



[marker]: <> (Begin:9a046932-c60c-436e-8fc7-8ea2f5902cb5)
## From https://github.com/dotnet/android
- **Subscription**:
[9a046932-c60c-436e-8fc7-8ea2f5902cb5](https://maestro.dot.net/subscriptions?search=9a046932-c60c-436e-8fc7-8ea2f5902cb5)
- **Build**:
[11.0.0-rc.2.26513.1+azdo.15674527](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15674527)
([336529](https://maestro.dot.net/channel/8298/github:dotnet:android/build/336529))
- **Date Produced**: October 14, 2026 1:14:49 AM UTC
- **Commit**:
[7373d9301784acae4104c80d38daeca0eccc452c](dotnet/android@7373d93)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/android/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [37.2.7 to 37.2.11][2]
     - Microsoft.Android.Sdk.Windows

[2]: dotnet/android@c6d965b...7373d93

[DependencyUpdate]: <> (End)


[marker]: <> (End:9a046932-c60c-436e-8fc7-8ea2f5902cb5)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Copilot-Session: bd9b5920-121b-4712-acbf-148e8515dfc7
)

This pull request updates the following dependencies

[marker]: <> (Begin:1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)
## From https://github.com/dotnet/macios
- **Subscription**:
[1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf](https://maestro.dot.net/subscriptions?search=1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)
- **Build**:
[20261014.3](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15682547)
([336600](https://maestro.dot.net/channel/8298/github:dotnet:macios/build/336600))
- **Date Produced**: October 14, 2026 1:57:54 PM UTC
- **Commit**:
[90d727952614e8eb37c6a20debaf1a954e798f66](dotnet/macios@90d7279)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/macios/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [27.0.12227 to 27.0.12228][1]
     - Microsoft.iOS.Sdk.net11.0_27.0
     - Microsoft.MacCatalyst.Sdk.net11.0_27.0
     - Microsoft.macOS.Sdk.net11.0_27.0
     - Microsoft.tvOS.Sdk.net11.0_27.0

[1]: dotnet/macios@fd84793...90d7279

[DependencyUpdate]: <> (End)


[marker]: <> (End:1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)



[marker]: <> (Begin:9a046932-c60c-436e-8fc7-8ea2f5902cb5)
## From https://github.com/dotnet/android
- **Subscription**:
[9a046932-c60c-436e-8fc7-8ea2f5902cb5](https://maestro.dot.net/subscriptions?search=9a046932-c60c-436e-8fc7-8ea2f5902cb5)
- **Build**:
[11.0.0-rc.2.26514.1+azdo.15688745](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15688745)
([336714](https://maestro.dot.net/channel/8298/github:dotnet:android/build/336714))
- **Date Produced**: October 15, 2026 1:06:11 AM UTC
- **Commit**:
[b2a6066a60d6df92291ca61e198159b9e3291815](dotnet/android@b2a6066)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/android/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [37.2.11 to 37.2.12][2]
     - Microsoft.Android.Sdk.Windows

[2]: dotnet/android@7373d93...b2a6066

[DependencyUpdate]: <> (End)


[marker]: <> (End:9a046932-c60c-436e-8fc7-8ea2f5902cb5)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
> [!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!

### GitHub Actions pin refresh

This PR updates pinned GitHub Actions SHAs and the gh-aw-node container
digest in `.github/aw/actions-lock.json` using the trusted pre-agent
refresh:

```bash
gh aw update --verbose
```

### Updated actions

| Action | Before | After |
|---|---|---|
| `actions/download-artifact` | `v8.0.1` /
`3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c` | `v8.0.2` /
`9000827ccba6bdab643e8b6fd33ac0654aef8333` |
| `actions/setup-node` | `v7.0.0` /
`820762786026740c76f36085b0efc47a31fe5020` | `v7.1.0` /
`949feb2413d6458794dcd2491c4babbbce0c15c1` |
| `actions/upload-artifact` | `v7.0.1` /
`043fb46d1a93c77aae656e7c1c64a875d1fc6a0a` | `v7.0.2` /
`cf430e030ddbb5b0abf93d22962f4752f3646cd9` |

The `ghcr.io/github/gh-aw-node` digest changes from
`sha256:0d9f1fb5fd6610c0ac1f5194a38e45a8a1e81f8a390d5142d8e4e6f26a4b3196`
to
`sha256:11c2c544876cdbaffefe0f7f1283b74838c209654b4934a78e23ed11f750490f`.

### Scope

- Included: `.github/aw/actions-lock.json`
- Excluded: generated `.github/workflows/*.lock.yml` files; they will
regenerate on the next compile
- Excluded: gh-aw version upgrades and workflow source updates; those
are handled separately

### Sourced workflow drift

The trusted update changed `.github/workflows/daily-repo-status.md` and
its compiled `.github/workflows/daily-repo-status.lock.yml` from the
upstream `githubnext/agentics` source. The source reference changed from
`workflows/daily-repo-status.md@69b5e3ae5fa7f35fa555b0a22aee14c36ab57ebb`
to `workflows/repo-status.md@main`, alongside configuration changes.
Both files were restored and intentionally excluded from this action-pin
PR.

Action-reference updates in the following workflow sources were also
restored and excluded:

- `.github/workflows/ci-status-fix-net11.md`
- `.github/workflows/ci-status-fix.md`
- `.github/workflows/ci-status-main.md`
- `.github/workflows/ci-status-net11.md`
- `.github/workflows/copilot-review-performance.md`
- `.github/workflows/copilot-review-tests.md`
- `.github/workflows/issue-trace-regression.md`
- `.github/workflows/issue-triage.md`
- `.github/workflows/regression-corpus-scanner.md`

All 16 changed compiled workflow locks were restored; no untracked
workflow files remained.

### Validation

- Trusted pre-agent setup ran `gh aw update --verbose` with committed
compiler version `v0.86.2`
- Confirmed final change set and commit contain only
`.github/aw/actions-lock.json`, with a clean worktree after committing
- Validated JSON, action SHA and container digest formats, pinned-image
consistency, and whitespace
- Rechecked open bot-created `[actions]` PRs through the read-only
GitHub search tool; none found


<!-- gh-aw-tracker-id: aw-actions-update -->

> Generated by [Action Pin
Refresh](https://github.com/dotnet/maui/actions/runs/38640973882) · ⊞
31.8K ·
[◷](https://github.com/search?q=repo%3Adotnet%2Fmaui+%22gh-aw-workflow-id%3A+aw-actions-update%22&type=pullrequests)

<!-- gh-aw-agentic-workflow: Action Pin Refresh, gh-aw-tracker-id:
aw-actions-update, engine: copilot, model: gpt-6.1-sol, id: 38640973882,
workflow_id: aw-actions-update, run:
https://github.com/dotnet/maui/actions/runs/38640973882 -->

<!-- gh-aw-workflow-id: aw-actions-update -->
<!-- gh-aw-workflow-call-id: dotnet/maui/aw-actions-update -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@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/*
<!-- 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

This PR fixes unattended CI-fixer evidence, bootstrap, and empty-queue
contracts without expanding credentials, permissions, network policy,
tool trust, model policy, or action/compiler pins.

1. **Azure failed-task evidence:** both workflow twins prepare bounded
Azure timeline and full-log evidence before the agent starts. The agent
consumes retained manifest/log paths instead of improvising a compound
downloader that can require interactive approval. Missing or invalid log
IDs, redirects, malformed/capped/timed-out responses, and ambiguous
previous-attempt provenance remain explicit incomplete evidence and
cannot support absent-signature or fixed conclusions.
2. **Detection ripgrep bootstrap:** production run `37671381210` printed
`ripgrep not found; installing with apt-get...` and then produced no
further installer diagnostics until GitHub cancelled the detection job
at the six-hour maximum. The exact apt cause is unknown. A supported
`jobs.detection.pre-steps` hook now prepares ripgrep before the
compiler-owned installer using an emitted 270-second outer watchdog,
120-second bounds around each apt operation, noninteractive sudo,
lock/network timeouts, retry limits, and explicit `rg --version`
verification. The unchanged pinned installer then sees `rg` and exits
immediately.
3. **Authoritative empty queue:** scheduled run `37711255508` had an
authoritative, untruncated zero-issue/zero-candidate snapshot, but the
agent assembled a denied compound `jq`/`touch` completion command and
emitted `report_incomplete` instead of `noop`. A trusted helper now
revalidates the snapshot, writes zero-byte coverage plus the
deterministic summary header, and registers exactly one expected noop.
Empty success is bound to explicit producer-emitted product-base
provenance (`main` or `net11.0`) and requires actual JSON Boolean,
Int64, string, and array types; missing/wrong base, coercible strings,
fractional/floating counts, null inventories, and malformed values fail
before any success artifact or expectation is written. The prompt
invokes the helper and existing `safeoutputs noop` operation separately.
4. **Blocking evidence-review findings:** Azure timeline and build-query
shapes are structurally validated, including concrete JSON-object
validation for every collection row; newest-build evidence cannot fall
back to an older complete build; response bytes are charged to the
global budget as they are read (including failed/cancelled attempts);
and failed-task inventory includes `partiallySucceeded` Tasks and Tasks
carrying error issues.

Both workflow twins use trusted `main` as their workflow control-plane
revision. The net11 twin still passes `-BaseBranch net11.0` to the
authoritative producer and preserves `net11.0` as its fix/capture/apply
product base.

Build Insights remains the broader CI platform and HLX remains a useful
access/investigation client. The investigation did not establish a
supported replacement headless raw timeline/full-log contract or an
already-provisioned HLX CLI for this workflow's unchanged security
contract. This PR therefore keeps the focused public-Azure producer
rather than adding credentials or a runtime migration. That is a scoped
investigation result, not a claim that no such service contract can
exist.

**Reviewed head:** `0159c81347b37e21195fccb9e50102c67e1574b8`  
**Rebased onto:** `5375f6f87279945656cd5d15ec094f16dd8d9aff` (`main`)

### Rebase and follow-up corrections

- Omitted/null `previousAttempts` no longer creates a synthetic invalid
reference. A fully retrieved previous attempt with zero failed Tasks is
accepted as a legitimate empty inventory. Strict retry-ancestry
validation remains intact.
- Initial current-failure selection excludes `previous_attempt` logs.
Historical failures are examined separately for retry/flakiness
classification rather than promoted to current FINAL failures.
- Canceled-build handling and per-definition PR build queries preserve
relevant evidence without combined-query starvation. The agent consumes
retained timeline evidence rather than attempting an unattended T2
download.
- The rebase preserves current main's hosted-environment/trusted
Node-helper guidance and the authoritative agent-runner candidate file
at `/tmp/gh-aw/agent/ci-fix-context/candidates.json`. It does not use an
undeclared pre-activation output. Node transport helpers are invoked
with `node`, not `pwsh node`.
- JSON deserialization uses `-NoEnumerate` and concrete-object guards so
singleton array roots cannot masquerade as
timeline/build-query/candidate/empty-queue objects. The failed-task
aggregation remains an array when there is exactly one current failure
before previous-attempt results are appended.
- Empty-queue completion explicitly checks the native Node registrar
exit code. Metadata is written before expectation registration, so a
metadata-write failure cannot leave an unmatched expected noop.
Registrar failure cannot return successful empty-queue completion.
- Both Step 0.1 helper examples use Bash fences and Bash continuations,
preserving the existing relative helper path and all main/net11
arguments. Regression tests extract each prescribed command, run `bash
-n`, and capture its seven arguments through a harmless stub without
touching the real `/tmp/gh-aw` paths.

### Current validation and review boundary

- Independently executed all four focused Pester suites against the
exact final committed content: **120 passed, 0 failed, 0 skipped, 0
inconclusive, 0 not run**. Breakdown: evidence 61, empty queue 23, PR
query 30, registrar 6. The final independent run took 18.02 seconds with
native-command error preference explicitly disabled, exercising the
explicit registrar exit-code guard.
- Regression-first evidence includes malformed JSON-root acceptance and
singleton-task aggregation failures before correction, actual native
registrar failure, and both original Step 0.1 blocks failing `bash -n`
with exit 2. The corrected commands pass syntax and exact-argument
checks.
- Both locks were regenerated using repository-pinned **gh-aw v0.86.2**,
strict compilation: **2/2 workflows succeeded, 0 warnings**.
Compiler/action/container/model/security pins were not broadened by
these corrections.
- Final remote/local commit, append parent, required commit trailer,
clean worktree, and all ten authoritative GitHub PR file blobs were
independently checked. Generated environment-key ordering varies between
compilations; this is not a claim of byte-identical compiler output.
- Three full independent review attempts were made against the rebased
source: **two completed; one failed before assessment**. Later
corrections received targeted review and behavioral validation. This is
not three successful reviews or a multi-model result.
- Unsupported retry-ancestry relaxation, extra top-level diagnostic
synthesis, and a timeout bump were not applied. A
registration-before-file-write change introduced during review was
rejected before publication after checking the strict output reconciler.
- **Current Poutine validation is blocked:** Docker is inactive
(container exit 125). Historical Poutine results below do not validate
this head. These focused tests are not a full-repository suite or
hosted-production run.
- At the final discussion snapshot there were **27 threads, 4
unresolved**. All four concerns are corrected in source; three threads
are marked outdated. No discussions or human reviews were resolved,
dismissed, or overridden by this work. Human re-review is still needed.

### Original blocking review dispositions

- `4212363518` - **confirmed and fixed:** parse success no longer makes
timelines complete unless the root is a concrete JSON object with an
actual `records` array containing only concrete JSON-object rows.
Missing, null, scalar, object-valued, or scalar-entry `records` remain
explicitly malformed/incomplete.
- `4212363661` - **confirmed and fixed:** branch-build queries require a
concrete JSON object with a `value` array of concrete JSON-object rows;
an invalid selected build ID makes `queryComplete = false` instead of
silently producing complete evidence.
- `4212363696` - **confirmed and fixed:** PR-build queries enforce the
same collection shape. Scalar rows cannot be filtered away as
nonmatches, and any head-matching row with an invalid build ID makes the
query incomplete.
- `4212363745` - **confirmed and fixed:** the net11 FRESH path must
inspect the newest completed build, and ADVANCE must inspect the newest
matching PR build. An incomplete newest build produces
`report_incomplete`; it cannot be skipped for older evidence.
- `4212363782` - **confirmed and fixed:** the main workflow has the same
newest-build fail-closed requirement.
- `4212363829` - **confirmed and fixed:** each read is bounded by the
remaining per-request and shared byte budgets, and every returned byte
is charged immediately, including bytes consumed before cancellation,
exceptions, or retries.
- `4212363870` - **confirmed and fixed:** failed-task selection includes
failed Tasks, partially-succeeded Tasks, and Task records with
error-typed issues. Non-Task records remain excluded.

<details>
<summary>Historical validation leading to original head 27dbc5e (not
current-head proof)</summary>

The records below belong to the original review sequence through
`27dbc5edd203d7d868225b4c0f252f0878d53525`. They are retained for
provenance, not presented as fresh validation of the rebased head.

- Initial seven-finding regression-first result against the prior
implementation: **14 passed, 16 failed**; corrected targeted
producer/workflow suite: **31 passed, 0 failed**.
- Independent follow-up at `44005dff` found the PowerShell
`[pscustomobject]` accelerator accepted scalar array entries: its probe
was **36/39**, with failures for direct scalar rows, scalar timeline
records, and scalar PR-query rows.
- Production regression-first suite with number/string/Boolean rows
against the old helper: **35 passed, 9 failed out of 44**.
- Corrected `Get-CiFixAzdoEvidence` suite at that stage: **44 passed, 0
failed**.
- The independent 39-case contract probe rebound to that corrected
helper: **39 passed, 0 failed**. Valid empty arrays and object rows were
accepted; number, string, Boolean, and null rows failed structurally
before downstream filtering.
- Four focused Pester suites at original head: **99 passed, 0 failed, 0
skipped**.
- Byte-accounting behavioral probe: a local HTTP server returned headers
and five body bytes, then stalled. The request failed at the shared
deadline and correctly reduced the shared budget from 100 to 95.
- Bounded live anonymous Azure probe from the preceding original review
correction: main build `1628270` had a complete query/timeline/evidence
result; cited build `1626245` had complete evidence with two failed
logs, including log `179` containing `MSB4184` `VersionLessThan('',
11.0)`. Combined reported downloaded bytes: `2,345,580`. Cited
historical build `1528586` separately returned timeline HTTP 404.
- Pinned gh-aw v0.86.2 normal compilation then succeeded for **2/2
workflows, 0 warnings**.
- Historical Poutine compilation then succeeded for **2/2 workflows, 0
warnings**, with byte-identical locks before/after those compilation
modes. This does not establish current Poutine success or current byte
identity.
- Generated manifests and action/container/model/security pins were
unchanged in that verification. PowerShell parsing and `git diff
--check` passed.
- Earlier empty-queue contracts: **38/38** probes, **36/36** invalid
snapshots rejected without artifacts, and producer-generated main/net11
fixtures each produced zero-byte coverage and exactly one expected noop.
- Earlier previous-attempt provenance: **64/64** deduplicated real build
`1626285` Task associations correct, with **0 mismatches**, versus 54
before correction. The later retained native-timeline adjudication found
76 raw associations across eight timelines with zero errors and passed
eight discriminating controls; it did not establish every possible
service response shape.

</details>

**Deployment boundary:** this is a focused source and contract pass, not
a full production pass. Hosted apt behavior, Copilot CLI unattended
helper/noop consumption, and deployment and exercise of this exact
revision remain unproved. Local and retained public-Azure evidence do
not substitute for that hosted observation.

The separate automatic UI/device queue HTTP 400 blocker remains
unresolved and is outside this PR. Diagnostics-only PR #39243 preserves
that Azure response body; it does not make #39237 a queue fix or hosted
canary. This workflow change does not add dispatch/rerun/queue
authority, merge or approval actions, review publication, thread
resolution, or Agent merge.

### Issues Fixed

N/A - internal unattended CI-fixer workflow reliability repair.

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Copilot-Session: 53c9d600-0fd5-46c7-ac9a-03cebae4546d
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:

* github-actions[bot]
* 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>
…39026)

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

- J2 - Clicking "Push Modal Page" causes an exception.

### Root cause 
- On Windows, pushing a modal page creates a scoped MauiContext with a
new WindowRootView. The existing custom TitleBar is reused by the modal
navigation root, requiring its handlers to be recreated for the new
context.
The previous WindowRootView still retained the native TitleBar content
while this handler transition occurred. Consequently, the same TitleBar
remained associated with the previous root while being attached to the
new modal navigation context, causing an exception.
- This regression surfaced after PR #37854 introduced container cleanup
during handler disconnection.

### Description of Change
- Added logic to detect when the current TitleBar is associated with a
different MauiContext. Before disconnecting its handlers, the TitleBar
is cleared from the previous WindowRootView when that root owns the same
instance. This allows the TitleBar to be safely recreated for the new
context without conflicting native ownership.
 

### Issues Fixed
Fixes #38949

### Validated the behaviour in the following platforms
- [x] Windows
- [ ] Android
- [ ] iOS
- [ ] Mac

### Output
| Before Fix | After Fix |
|----------|----------|
| <img
src="https://github.com/user-attachments/assets/b856ba92-28de-4dd2-ab83-677cf3dee5ed">
| <video
src="https://github.com/user-attachments/assets/098577ac-3864-4c1f-a7ff-6108fac6631b">
|
<!-- 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

Enable XAML C# expressions by default instead of requiring
`<EnablePreviewFeatures>true</EnablePreviewFeatures>` in the application
project.

The source generator now always performs C# expression classification
and ambiguity analysis. This removes the `MAUIX2012`
experimental-feature diagnostic, the compiler-visible MSBuild property,
and the corresponding analyzer-config and test plumbing. Existing
diagnostics for ambiguous expressions and unsupported async lambda event
handlers remain unchanged.

The XAML unit-test and benchmark projects no longer set
`EnablePreviewFeatures`, ensuring their C# expressions exercise the
default project configuration.

Validation:

- `dotnet test
src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c
Debug --no-restore` — passed, 550 passed and 37 skipped.
- `dotnet build
src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj -c
Debug --no-restore` — passed without `EnablePreviewFeatures`.
- `dotnet test
src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c
Debug --no-restore --filter
"FullyQualifiedName~CSharpExpression_WithoutPreviewFeatureFlag_GeneratesExpression"`
— passed, 1/1.

### Issues Fixed

No linked issue.

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

Copilot-Session: c95b3039-fd19-4865-94d8-591f6237b063
<!-- 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 a dedicated issue-comment workflow that minimizes standalone `/azp
run` commands, including named-pipeline variants, and success-only
acknowledgments from `azure-pipelines[bot]` as resolved on MAUI pull
requests.

Comments remain expandable. Failures, authorization notices, mixed
success/warning responses, and ordinary discussion remain visible. The
workflow re-reads comments before classification, checks out no PR code,
and does not change pipeline dispatch or authorization.

Document the behavior and activation boundary: after merging into the
default branch, cleanup applies to newly created or edited comments, not
historical comments.

Validation:
- `actionlint .github/workflows/azure-pipelines-comment-cleanup.yml` —
passed.
- `git diff --check` — passed.
- Embedded workflow JavaScript syntax check using Node.js
`AsyncFunction` — passed.
- Live GitHub Actions execution was not run; the new `issue_comment`
workflow requires the default branch to contain it.

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

No linked issue. Addresses comment noise exemplified by
#39377 (comment); does
not modify that PR's product code.

<!--
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: 9da04e32-247a-4969-b4a9-05e872b0763d
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
* 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: PureWeen <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…39408)

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

Follow up to #39189 after the missed related tests and silently skipped
command reported on #39361.

- Discover existing Shared.Tests methods from changed platform-specific
screenshot baselines, including named `VerifyScreenshot` baselines,
using the prepared review checkout rather than querying a moving PR
head.
- Associate HostApp-only issue-page changes with their existing
same-named UI fixture. Preserve explicit warnings when no mapping
exists, direct-test discovery, and the verifier's existing workload
limits.
- Support internal test classes when resolving class names and narrow
baseline-only selection to matching methods instead of entire feature
fixtures.
- Explain lock-blocked `/review` and `/review gate` requests visibly: no
new run was started and the command is not queued. Keep the existing
lock and active review untouched. A publication failure leaves the
original command unacknowledged and recoverable.

Validation:

- `git diff --check` — passed.
- `actionlint .github/workflows/review-trigger.yml` — passed.
- `pwsh -NoProfile -NonInteractive -Command 'Invoke-Pester -Path
".github/scripts/shared/Detect-TestsInDiff.Tests.ps1" -Output Minimal'`
— passed, 22 existing tests.
- `pwsh -NoProfile -NonInteractive -Command 'Invoke-Pester -Path
".github/scripts/ReviewTrigger.Tests.ps1",
".github/skills/verify-tests-fail-without-fix/scripts/Verify-TestsFail.Tests.ps1"
-Output Minimal'` — passed, 135 existing tests. Re-ran the 24 trigger
checks after the final acknowledgement safeguard; all passed.
- Detector-only reproduction on #39361 head
`233efcebeae3e08bd07904c5586de71df22649d4`, pinned to diff base
`40a966c82c8aed0cf3cd41f5814b4475a3fcf59b`, with `-Platform ios` — found
`EditorFeatureTests.VerifyEditorWhenHeightAndWidthRequestSet`,
`Issue38443.SelectedItemSetDuringShellNavigationUpdatesVisualState`,
`Issue38730`, and `Issue39155.VerifyTitleViewRenderingOnNavigation`; the
Android device partial was excluded.
- `gh workflow run review-trigger.yml --ref kubaflo-gate-related-tests
-f pr_number=39408 -f gate_only=true -f platform=ios -f
pipeline_ref=kubaflo-gate-related-tests` — final-source [hosted canary
succeeded](https://github.com/dotnet/maui/actions/runs/38751849112).
With a temporary fresh lock on this PR only, it posted the visible
blocked-command notice and skipped Azure dispatch. The temporary canary
lock was removed afterward.

No new pipeline tests were added. No native/device tests or XCTest were
run locally. Related UI test discovery is verified against the exact
source snapshot, not by a native test run. The existing #39361 review
was not cancelled, unlocked, or duplicated. Automatic platform inference
remains label-based and is unchanged here. The changes are not deployed
to default-branch commands until merged.

### 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 automation defects reported at
#39361 (comment). No
separate issue was filed.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…015.9

On relative base path root
Microsoft.iOS.Sdk.net11.0_27.0 , Microsoft.MacCatalyst.Sdk.net11.0_27.0 , Microsoft.macOS.Sdk.net11.0_27.0 , Microsoft.tvOS.Sdk.net11.0_27.0 From Version 27.0.12228 -> To Version 27.0.12230
….0-rc.2.26515.1+azdo.15699615

On relative base path root
Microsoft.Android.Sdk.Windows From Version 37.2.12 -> To Version 37.2.13
…014.18

On relative base path root
Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Json , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Primitives , Microsoft.JSInterop , Microsoft.NETCore.App.Ref From Version 11.0.0-rtm.26480.113 -> To Version 11.0.0
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.JobMonitor , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.XUnitExtensions From Version 11.0.0-beta.26480.113 -> To Version 11.0.0-beta.26514.118
Microsoft.NET.Sdk From Version 11.0.100-rtm.26480.113 -> To Version 11.0.100-rtm.26514.118
…from dotnet/android, dotnet/dotnet, dotnet/macios
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

- Adds the recently released `11.0.0-rc.2` version to the bug report
issue template dropdowns.

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:

* Tamilarasan-Paranthaman

## 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: Tamilarasan Paranthaman <93904422+Tamilarasan-Paranthaman@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>
Derive runtime manifest package versions from the runtime release suffix rather than the SDK build suffix. Final runtime manifests are published without the SDK's rtm build stamp.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ae556f1f-b397-4b2d-8855-159d872837e9
Resolve the installed SDK version through the repo-local dotnet host instead of assuming the internal build stamp names its SDK directory. Remove the stale XA1040 warning expectation: the updated Android SDK emits that experimental NativeAOT notice as a message. Keep strict assertions against unexpected warnings.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ae556f1f-b397-4b2d-8855-159d872837e9
<!-- 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 -->

When .NET 10 and .NET 11 MAUI templates are installed and the .NET 11
SDK is active, `dotnet new maui-blazor --Empty` can generate a project
targeting .NET 10, while `--empty` correctly targets .NET 11.

The .NET 11 templates no longer recognize the legacy uppercase option
after the duplicate `Empty`/`empty` symbols were removed. The CLI can
therefore select an older template that accepts `--Empty`.

This change restores uppercase-option compatibility for both
`maui-blazor` and `maui-blazor-web`:

- Add a distinct internal `LegacyEmpty` boolean and map it to the hidden
CLI long name `Empty`.
- Keep the existing lowercase `empty` parameter and CLI spelling
unchanged.
- Omit sample content when either parameter is true.
- Add eight regression cases covering both templates, default
generation, both option spellings, and explicit false values. The tests
deliberately omit `--framework` and check every generated project's
target framework to detect an older-template fallback.

The internal names `LegacyEmpty` and `empty` are distinct even under
case-insensitive comparison. The explicit CLI mapping preserves the
behavior introduced in
[#32227](#32227) without
reintroducing case-colliding JSON symbol names.

This PR intentionally targets `net11.0`, where the reported regression
occurs.

**Validation**

Expected template-selection behavior with the fixed templates, without a
`global.json` or explicit `--framework` override:

| Available MAUI templates / active SDK | `--Empty` | `--empty` |
| --- | --- | --- |
| .NET 11 + .NET 10, using SDK 11 | Targets .NET 11 | Targets .NET 11 |
| .NET 11 only, using SDK 11 | Targets .NET 11 | Targets .NET 11 |
| .NET 10 only, using SDK 10 | Targets .NET 10 | Targets .NET 10 |


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

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
…linked files (#39425)

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

Correct source-generated XAML diagnostic paths when
`MauiXamlLineInfo=enable`.

The generator currently writes `ProjectItem.TargetPath` into `#line`
directives. This can be a relative logical path, including the link path
for linked XAML files. Compiler warnings such as CS8622 then resolve
underneath the generated source directory instead of pointing to the
physical XAML input.

Use `ProjectItem.AdditionalText.Path` for line directives so diagnostics
refer to the physical input file. Add regression coverage for ordinary
and linked XAML paths. Only the generator fix and regression tests are
included in this PR.

**Scope:** XAML line information remains opt-in. This does not change
`EmitCompilerGeneratedFiles` defaults, suppress nullability warnings, or
claim to fix all IDE navigation scenarios in the original issue. On MAUI
RC2, `EmitCompilerGeneratedFiles=true` retained the generated file
successfully; that reported failure was not reproduced.

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

Fixed #35908 

Note: This fix corrects physical XAML diagnostic paths with line
information enabled. The issue is not fixed the default-setting IDE
navigation.

<!--
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>
…net/macios (#39415)

This pull request updates the following dependencies

[marker]: <> (Begin:1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)
## From https://github.com/dotnet/macios
- **Subscription**:
[1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf](https://maestro.dot.net/subscriptions?search=1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)
- **Build**:
[20261015.9](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15704693)
([336867](https://maestro.dot.net/channel/8298/github:dotnet:macios/build/336867))
- **Date Produced**: October 16, 2026 1:07:38 AM UTC
- **Commit**:
[e4732a6dcad66fe70491ad3f808db1e3f2a04541](dotnet/macios@e4732a6)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/macios/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [27.0.12228 to 27.0.12230][1]
     - Microsoft.iOS.Sdk.net11.0_27.0
     - Microsoft.MacCatalyst.Sdk.net11.0_27.0
     - Microsoft.macOS.Sdk.net11.0_27.0
     - Microsoft.tvOS.Sdk.net11.0_27.0

[1]: dotnet/macios@90d7279...e4732a6

[DependencyUpdate]: <> (End)


[marker]: <> (End:1ae85174-dfc1-4a00-b3c3-5a31c41fb9cf)



[marker]: <> (Begin:9a046932-c60c-436e-8fc7-8ea2f5902cb5)
## From https://github.com/dotnet/android
- **Subscription**:
[9a046932-c60c-436e-8fc7-8ea2f5902cb5](https://maestro.dot.net/subscriptions?search=9a046932-c60c-436e-8fc7-8ea2f5902cb5)
- **Build**:
[11.0.0-rc.2.26515.1+azdo.15699615](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15699615)
([336837](https://maestro.dot.net/channel/8298/github:dotnet:android/build/336837))
- **Date Produced**: October 15, 2026 9:32:51 PM UTC
- **Commit**:
[d3edb446c0705f26d15c2461c520d44b4a50d338](dotnet/android@d3edb44)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/android/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [37.2.12 to 37.2.13][2]
     - Microsoft.Android.Sdk.Windows

[2]: dotnet/android@b2a6066...d3edb44

[DependencyUpdate]: <> (End)


[marker]: <> (End:9a046932-c60c-436e-8fc7-8ea2f5902cb5)



[marker]: <> (Begin:f4928934-9e75-4ba7-b3d0-757a5edf906c)
## From https://github.com/dotnet/dotnet
- **Subscription**:
[f4928934-9e75-4ba7-b3d0-757a5edf906c](https://maestro.dot.net/subscriptions?search=f4928934-9e75-4ba7-b3d0-757a5edf906c)
- **Build**:
[20261014.18](https://dev.azure.com/dnceng/internal/_build/results?buildId=3106041)
([336755](https://maestro.dot.net/channel/8298/github:dotnet:dotnet/build/336755))
- **Date Produced**: October 15, 2026 10:56:35 AM UTC
- **Commit**:
[a586537b3872e4e2f69c0b1ce7017a97bc3bcd55](dotnet/dotnet@a586537)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/dotnet/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [11.0.0-rtm.26480.113 to 11.0.0][3]
     - Microsoft.AspNetCore.Authentication.Facebook
     - Microsoft.AspNetCore.Authentication.Google
     - Microsoft.AspNetCore.Authentication.MicrosoftAccount
     - Microsoft.AspNetCore.Authorization
     - Microsoft.AspNetCore.Components
     - Microsoft.AspNetCore.Components.Analyzers
     - Microsoft.AspNetCore.Components.Forms
     - Microsoft.AspNetCore.Components.Web
     - Microsoft.AspNetCore.Components.WebAssembly
     - Microsoft.AspNetCore.Components.WebAssembly.Server
     - Microsoft.AspNetCore.Components.WebView
     - Microsoft.AspNetCore.Metadata
     - Microsoft.Extensions.Configuration
     - Microsoft.Extensions.Configuration.Abstractions
     - Microsoft.Extensions.Configuration.Json
     - Microsoft.Extensions.DependencyInjection
     - Microsoft.Extensions.DependencyInjection.Abstractions
     - Microsoft.Extensions.FileProviders.Abstractions
     - Microsoft.Extensions.Hosting.Abstractions
     - Microsoft.Extensions.Logging
     - Microsoft.Extensions.Logging.Abstractions
     - Microsoft.Extensions.Logging.Console
     - Microsoft.Extensions.Logging.Debug
     - Microsoft.Extensions.Primitives
     - Microsoft.JSInterop
     - Microsoft.NETCore.App.Ref
  - From [11.0.0-beta.26480.113 to 11.0.0-beta.26514.118][3]
     - Microsoft.DotNet.Arcade.Sdk
     - Microsoft.DotNet.Build.Tasks.Feed
     - Microsoft.DotNet.Build.Tasks.Installers
     - Microsoft.DotNet.Build.Tasks.Workloads
     - Microsoft.DotNet.Helix.JobMonitor
     - Microsoft.DotNet.Helix.Sdk
     - Microsoft.DotNet.RemoteExecutor
     - Microsoft.DotNet.SharedFramework.Sdk
     - Microsoft.DotNet.XUnitExtensions
  - From [11.0.100-rtm.26480.113 to 11.0.100-rtm.26514.118][3]
     - Microsoft.NET.Sdk

[3]: dotnet/dotnet@1764f39...a586537

[DependencyUpdate]: <> (End)


[marker]: <> (End:f4928934-9e75-4ba7-b3d0-757a5edf906c)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions@xamarin.com>
Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ae556f1f-b397-4b2d-8855-159d872837e9
<!-- 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 -->

**Intentional branch exception: this PR targets `net11.0` only. It does
not change `main` or MAUI 10.**

Update only the central dependency pins in `eng/Versions.props`:

- `MicrosoftWindowsAppSDKPackageVersion`: `2.3.1` → `2.5.1`.
- `MicrosoftWindowsSDKBuildToolsPackageVersion`: `10.0.28000.2526` →
`10.0.28000.2705`.
- `MicrosoftWindowsSDKBuildToolsWinAppPackageVersion`: `0.5.0` →
`0.7.1`.
- `MicrosoftWindowsWebView2PackageVersion`: `1.0.4078.44` →
`1.0.4258.31`.

All four versions were confirmed as the latest stable entries in the
official NuGet flat-container indexes on 2026-10-18. Win2D remains at
the current stable `1.4.0`; CsWin32 and Windows SDK reference-pack
overrides are unchanged.

Supersedes #39440, which remains closed because it was based on `main`.
This replacement starts directly from `net11.0` commit
`f7147e3410c048631950556da69a1ab005b6d55f`, preserving clean net11
ancestry without rewriting or retargeting the old branch.

Validation on macOS (installed .NET SDK `11.0.100-rc.1.26425.128`;
repository's requested SDK is `11.0.100-rtm.26514.118`):

- `dotnet msbuild src/Core/src/Core.csproj
-p:TargetFramework=net11.0-windows10.0.19041.0
-p:EnableWindowsTargeting=true
-getProperty:MicrosoftWindowsAppSDKPackageVersion,MicrosoftWindowsSDKBuildToolsPackageVersion
-getItem:PackageReference` — **passed** for the initial Windows App SDK
and BuildTools update; evaluated Windows PackageReference items use both
requested versions.
- `dotnet msbuild src/Core/src/Core.csproj
-p:TargetFramework=net11.0-windows10.0.19041.0
-p:EnableWindowsTargeting=true
-getProperty:MicrosoftWindowsSDKBuildToolsWinAppPackageVersion,MicrosoftWindowsWebView2PackageVersion
-getItem:PackageReference` — **passed** for the follow-up WinApp and
WebView2 update; evaluated Windows PackageReference items use `0.7.1`
and `1.0.4258.31`.
- `dotnet restore src/Core/src/Core.csproj
-p:TargetFrameworks=net11.0-windows10.0.19041.0
-p:EnableWindowsTargeting=true --verbosity minimal` — **passed** on both
updates for the Core/Essentials/Graphics/Graphics.Win2D graph. Restored
assets confirm Windows App SDK `2.5.1`, Windows SDK BuildTools
`10.0.28000.2705`, WinApp `0.7.1`, and WebView2 `1.0.4258.31` in Core;
Essentials also resolves WebView2 `1.0.4258.31`.
- `dotnet build src/Core/src/Core.csproj --no-restore
-p:TargetFrameworks=net11.0-windows10.0.19041.0
-p:EnableWindowsTargeting=true --verbosity minimal` — **blocked by host
platform** on the initial update: Graphics produced its managed
assembly, then Windows resource generation failed with MSB6003 / `Exec
format error` launching `MakePri.exe` on macOS. A complete native
Windows build and runtime/UI validation were not performed; the native
build was not repeated for the follow-up pins.
- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include eng/Versions.props --verbosity
quiet` — **passed** on both updates, no further changes.
- `git diff --check` — **passed** on both updates.

### 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 — dependency update; supersedes #39440 rather than fixing a
separately filed issue.

<!--
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>
Updated
[Microsoft.AspNetCore.Authentication.Facebook](https://github.com/dotnet/dotnet)
from 10.0.0 to 10.0.10.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.Facebook's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.AspNetCore.Authentication.Google](https://github.com/dotnet/dotnet)
from 10.0.0 to 10.0.10.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.Google's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.AspNetCore.Authentication.MicrosoftAccount](https://github.com/dotnet/dotnet)
from 10.0.0 to 10.0.10.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.MicrosoftAccount's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

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

Removes the private `DropCompletedEventArgs.DropResult` property. The
property was never assigned or consumed and always held its default
value. `DropCompletedEventArgs` remains useful through its public
`PlatformArgs` property.

This does not change the public API surface.

### Issues Fixed

Fixes #2839
kubaflo and others added 24 commits October 25, 2026 23:33
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>
…forms (#39509)

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

### Description of Change

This pull request significantly improves the reliability and precision
of UI test retries in CI by switching from category-based retries to
fine-grained, test-level retries using NUnit's `fullname` selectors and
a generated `retry.runsettings` file. The changes ensure only failed
tests (and affected fixtures) are retried, handle ambiguous or
incomplete results robustly, and improve the merging of retry results.
The documentation is also updated to reflect these improvements.

**Test retry precision and infrastructure:**

* Retries now run only the individual failed tests (using NUnit
`fullname` selectors), rather than all tests in failed categories; for
fixture errors, the containing category is retried. A
`retry.runsettings` file is generated to use `NUnit.Where` filtering,
avoiding command-line length and quoting issues.
[[1]](diffhunk://#diff-ae8f204bf2e00a9b64b2f4aa8211574da8c062ffbe9686c7c0d0d6b25c3ee411L388-R419)
[[2]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9L63-R97)
[[3]](diffhunk://#diff-25b5a0d7491d795992b90a59f2f1108e3d10cef41698e0cf05f71578edeedcacL177-R187)
* The retry logic now robustly handles ambiguous, incomplete, or
unmappable test results by falling back to the original filter and
issuing warnings, and supports additional exception types for fallback.
[[1]](diffhunk://#diff-ae8f204bf2e00a9b64b2f4aa8211574da8c062ffbe9686c7c0d0d6b25c3ee411L388-R419)
[[2]](diffhunk://#diff-25b5a0d7491d795992b90a59f2f1108e3d10cef41698e0cf05f71578edeedcacL177-R187)

**Build and test runner integration:**

* The `RunTestWithLocalDotNet` method is updated to accept a
`settingsFile` parameter, which, if provided, disables the old filter
and applies the settings file for retries. Logging is improved to
indicate which filter or settings are used.
[[1]](diffhunk://#diff-f987df2e4d48c04c42bb417e36d0d8b1fa9ddd29f10459c98f16d7b9b10f47c5L903-R914)
[[2]](diffhunk://#diff-f987df2e4d48c04c42bb417e36d0d8b1fa9ddd29f10459c98f16d7b9b10f47c5L947-R953)
[[3]](diffhunk://#diff-25b5a0d7491d795992b90a59f2f1108e3d10cef41698e0cf05f71578edeedcacL51-R53)

**Test result reconciliation and merging:**

* The merging logic for TRX and NUnit XML is improved to ensure that
only tests confirmed as passed by the retry are marked as such;
unresolved or ambiguous outcomes are handled more strictly, and
fixture-level errors are only cleared if all their test cases pass in
the retry.
[[1]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9L112-R163)
[[2]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9R172-R177)
[[3]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9L152-R189)
[[4]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9L179-R224)

**Documentation:**

* The `docs/UITesting-Guide.md` is updated to clarify the new retry
behavior, including the use of `retry.runsettings`, test-level retries,
and improved error handling.

**Code robustness and maintainability:**

* Helper methods are added or improved for quoting filter values,
creating runsettings files, and handling edge cases in result
processing.
[[1]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9L63-R97)
[[2]](diffhunk://#diff-37ca6ee51391ab70e19b0cd91f3467cf567681b9b0cd526b3bdbe8b561b4ade9L112-R163)
[[3]](diffhunk://#diff-25b5a0d7491d795992b90a59f2f1108e3d10cef41698e0cf05f71578edeedcacL65-R65)

These changes make UI test retries more targeted, reliable, and
maintainable, reducing unnecessary test reruns and improving CI feedback
quality.

---------

Co-authored-by: Copilot App <223556219+Copilot@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:

* Ahamed-Ali

## 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>
…ource is set to Null (#39554)

<!-- 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, changing a CollectionView’s ItemsSource from a populated
collection to null, or restoring a populated collection afterward, can
throw “The parameter is incorrect.”

### Root cause:
The handler assigned CollectionViewSource.View even when its underlying
Source was null.
Cleanup cleared the old collection source while WinUI still referenced
it.
When no MAUI ItemTemplate was supplied, the handler also cleared WinUI’s
automatically generated default template. This affected subsequent
source restoration.

### Description of Change

<!-- Enter description of the fix in this section -->
Updated ItemsViewHandler2.Windows.cs:
* Assign native ItemsSource = null when the underlying source is null.
* Defer clearing the old collection source until after the native
control switches to the new source.
* Remove the redundant native source reset from cleanup.
* Preserve WinUI’s default item template; clear it only when it is a
MAUI ItemFactory.

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

<!--
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/311f4e45-da6c-45c6-b566-8edccb811aef"
width="600" height="300"> | **Windows**<br> <video
src="https://github.com/user-attachments/assets/30efdd34-fc7b-4311-80ad-0c0cae52df8a"
width="600" height="300"> |

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

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

### Description of Change

Fix two device-test setup issues on the net11.0 branch.

- **Mac Catalyst CollectionView:** Preserve public handler constructors
in the shared grouped EmptyView test helper. These tests exercise both
legacy and new CollectionView handlers. In trimmed Mac Catalyst builds,
the legacy handler's constructors were removed, causing setup to fail
before the EmptyView assertions.
- **Android MediaPicker recovery:** Create file-backed picker fixtures
in external cache instead of private app storage, matching the recovery
validation requirements. Track and delete these files during fixture
cleanup. Existing private-storage rejection tests remain unchanged.

### Issues Fixed

- `GroupedCollectionViewEmptyViewTracksGroups` on Mac Catalyst.
-
`AndroidX_Orphaned_Plural_Pick_From_Single_Picker_Publishes_Recovered_Result(kind:
PickVideos, extension: ".mp4")`
-
`AndroidX_Orphaned_Plural_Pick_From_Single_Picker_Publishes_Recovered_Result(kind:
PickPhotos, extension: ".jpg")`
-
`AndroidX_Orphaned_Single_Photo_Pick_Publishes_Recovered_Result_And_Completes_Waiter`
-
`AndroidX_Orphaned_Multiple_Photo_Pick_Publishes_Recovered_Result_With_Multiple_Files`
- `Accepted_Pick_Materialization_Writes_Accepted_File_Paths`

<!--
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>
…pplied (#39660)

<!-- 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 Android with Material 3 enabled, ShellBackgroundColor no longer
colors the navigation toolbar . Both direct assignments and styles are
affected.

### Root Cause

- PR #38396 skips direct toolbar coloring for Material 3, relying on
AppBar coloring instead. However, AppBar coloring requires
MauiAndroidSystemBarsUseMauiChrome, which defaults to false. Without
that opt-in, neither path applies the background.

### Description of Change

**Bug fix:**

* Updated the condition in `ToolbarExtensions.cs` so that the bar
background is set when either Material3 is not enabled or when
`UseMauiAndroidSystemBarBackgrounds` is not enabled. This ensures the
navigation bar background color is applied correctly on Android.

**Testing improvements:**

* Added a new test case `Issue39599` in `TestCases.HostApp` to manually
verify that the navigation bar background color is blue and the title
color is white.
* Added an automated UI test for `Issue39599` in
`TestCases.Shared.Tests` to verify that the Shell background color is
applied as expected on Android.

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


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

### Output
 
| Before | After |
|----------|----------|
| <img
src="https://github.com/user-attachments/assets/5a7e0f2f-79a8-49f0-bc96-3cb76a5557fd">
| <img
src="https://github.com/user-attachments/assets/d4717595-906d-4ae9-bc25-fa8432213abe">
|



<!--
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>
…39500)

<!-- 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, CollectionView scrolling stops working as expected when
Animate scroll is disabled and multiple scroll requests are issued
sequentially with different scroll positions. The issue can occur when
scrolling by index, by object, or with grouped data.
 
### Root Cause
For non-animated scroll requests, the Windows handler calls
JumpToItemAsync. For Center and End alignments, it calls
ListViewBase.ScrollIntoView with Leading alignment and waits for the
ScrollViewer.ViewChanged event before applying the requested alignment.
If the item is already at the leading edge after a Start request, a
subsequent Center or End request may not change the native scroll
position. In that case, ViewChanged may not be raised, preventing the
final alignment adjustment from executing.

### Description of Change
Updated `ScrollHelpers.cs` to calculate and apply target scroll offsets
directly when the item is already realized. The implementation uses
`ScrollViewer.ChangeView` without animation, clamps offsets to valid
scrolling ranges, and waits for `ViewChanged` only when a view change is
accepted. Partially visible items are scrolled only by the minimum
amount needed to make them fully visible, while preserving sticky-header
behavior and supporting both orientations. The existing animated
scrolling path and unrealized-item fallback are retained.

### Issues Fixed
Fixes #27110 

### Screenshots
| Before Issue Fix | After Issue Fix |
|----------|----------|
| <video width="300" height="600"
src="https://github.com/user-attachments/assets/a6819bb2-533b-4ac4-8b4a-7190cb7ead6b">
| <video width="300" height="600"
src="https://github.com/user-attachments/assets/7537daa4-aa74-4390-9ed0-4636aa04e8a3">
|

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

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

This pull request refactors the HybridWebView test infrastructure to
improve reliability, maintainability, and consistency of message passing
between .NET and JavaScript. It introduces a new initialization event,
simplifies the C# and JavaScript message APIs, and ensures all test HTML
pages use a shared JavaScript bridge. The ViewModel is enhanced with a
reset method, and error handling is improved throughout.

**HybridWebView Control and ViewModel Improvements:**

- Added a `WebViewInitialized` event handler (`OnWebViewInitialized`) to
the XAML and its implementation in code-behind to track initialization
state.
[[1]](diffhunk://#diff-3d2021cc7fca0a1c86b4f220fd8f0ffcf2bafe91939f09caec622951407e497eR28)
[[2]](diffhunk://#diff-d9d52267d2b11a02505fb74ccf2e56ee89905ce49f29a86441fd7fc00c56b38bL97-R135)
- Refactored the `HybridWebViewViewModel` to include a `ResetToDefaults`
method, and updated the control page logic to use this method, improving
state management and reset reliability.
[[1]](diffhunk://#diff-6060af76b96eee99fb2ededc90e575cdf44a2907378510b7666e96e6f028b189R21-R32)
[[2]](diffhunk://#diff-d9d52267d2b11a02505fb74ccf2e56ee89905ce49f29a86441fd7fc00c56b38bL97-R135)
- Improved error handling and status updates in async operations, such
as evaluating JavaScript and waiting for document titles.
[[1]](diffhunk://#diff-d9d52267d2b11a02505fb74ccf2e56ee89905ce49f29a86441fd7fc00c56b38bL8-R37)
[[2]](diffhunk://#diff-d9d52267d2b11a02505fb74ccf2e56ee89905ce49f29a86441fd7fc00c56b38bL46-R74)
[[3]](diffhunk://#diff-d9d52267d2b11a02505fb74ccf2e56ee89905ce49f29a86441fd7fc00c56b38bL97-R135)

**C# Message Passing and Event Handling:**

- Simplified the message sending from C# to JavaScript by using
`SendRawMessage` directly, removing the previous
`EvaluateJavaScriptAsync`-based approach.
- Streamlined the handling of received messages and status updates for
clarity and consistency.

**JavaScript Bridge and Test HTML Updates:**

- Replaced custom inline JavaScript bridges in all test HTML files with
a shared `_framework/hybridwebview.js` script, ensuring consistent
message handling.
[[1]](diffhunk://#diff-3ba0b9a0f22d69a5ce38d2fdb8913a39f8d6d137216e3e2cc437ddfd0daeb8b2R198-R205)
[[2]](diffhunk://#diff-5599c1e53492a752223dc9cef562615736e4fc9bc8c12648b39dc26855536144R7)
[[3]](diffhunk://#diff-6e8ea08625f6971c0e859f693b9d47e0d84027cf144dc33867743435e77afe24R185-R189)
[[4]](diffhunk://#diff-2af02c8a6b0f4ece44779090c2ca7baeff4fb2b6d2707a093c100d591f321c49R94-R98)
[[5]](diffhunk://#diff-f29b8d6874f3c49c6dc3ee5274764df5512d9c9401fbbc69f3e3ead2fac2fad5R7)
- Updated all HTML files to use the new event-based message passing
mechanism (`HybridWebViewMessageReceived`), and simplified the message
send/receive logic.
[[1]](diffhunk://#diff-3ba0b9a0f22d69a5ce38d2fdb8913a39f8d6d137216e3e2cc437ddfd0daeb8b2R198-R205)
[[2]](diffhunk://#diff-5599c1e53492a752223dc9cef562615736e4fc9bc8c12648b39dc26855536144L180-R183)
[[3]](diffhunk://#diff-6e8ea08625f6971c0e859f693b9d47e0d84027cf144dc33867743435e77afe24R185-R189)
[[4]](diffhunk://#diff-6e8ea08625f6971c0e859f693b9d47e0d84027cf144dc33867743435e77afe24L233-L237)
[[5]](diffhunk://#diff-2af02c8a6b0f4ece44779090c2ca7baeff4fb2b6d2707a093c100d591f321c49R94-R98)
[[6]](diffhunk://#diff-f29b8d6874f3c49c6dc3ee5274764df5512d9c9401fbbc69f3e3ead2fac2fad5L98-R101)
[[7]](diffhunk://#diff-f29b8d6874f3c49c6dc3ee5274764df5512d9c9401fbbc69f3e3ead2fac2fad5L161-R147)
[[8]](diffhunk://#diff-f29b8d6874f3c49c6dc3ee5274764df5512d9c9401fbbc69f3e3ead2fac2fad5L175-L177)

**Test Code Organization:**

- Added the `WebView` category attribute to `HybridWebViewFeatureTests`
for better test categorization and removed redundant category attributes
from individual tests.
[[1]](diffhunk://#diff-345706e14f63d3ffe5d02d5d120f2ca373dfd031401e4936bb6528deb2ddabf3L1-R7)
[[2]](diffhunk://#diff-345706e14f63d3ffe5d02d5d120f2ca373dfd031401e4936bb6528deb2ddabf3L19-L21)

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…s callback statically rooted (#37572)

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

[leak-scan] AnimationExtensions.Insert — disposed non-starting manager
leaves callback statically rooted

### Root Cause 

AnimationExtensions.s_tweeners is a static ConcurrentDictionary<int,
Animation> (in src/Controls/src/Core/AnimationExtensions.cs ) that holds
every animation registered via Add() / Insert() . An entry is removed
only when that animation's Finished event fires.
 
Finished is only raised when the owning AnimationManager 's ticker
actually ticks the animation to completion. When a manager is
constructed with AutoStartTicker = false , the ticker never starts, so
Finished never fires — and disposing that manager previously did nothing
more than dispose the Ticker ; it never touched the queued animations.
Result: the static dictionary entry, and the callback closure (plus
anything it captures) it points to, stays permanently rooted — a classic
static-collection memory leak — even though the manager itself is gone
and would otherwise be eligible for GC.
 
Retention path: AnimationExtensions.s_tweeners → TweenerAnimation →
_step (closure) → captured payload.
 
Affects all platforms (pure shared/managed code), triggered only by the
non-default AutoStartTicker = false configuration.

### Description of Change
 
Animation.cs:51: adds an internal disposal notification and detaches the
animation manager reference.
AnimationExtensions.cs:76: Add and Insert register cleanup that removes
their entries from static s_tweeners.
AnimationManager.cs When AnimationManager.Dispose() runs, it calls
OnAnimationManagerDisposed() for each tracked animation. This triggers
the cleanup callback, which removes the corresponding entry from the
static s_tweeners collection.
 
### Issues Fixed
 
Fixes #37204 
 
**Tested the behavior in the following platforms.**
- [x] Android
- [x] Windows
- [x] iOS
- [x] Mac
 
| Before  | After  |
|---------|--------|
| <Video
src="https://github.com/user-attachments/assets/a436331f-f125-4c27-870a-8a38dcaa5ed5"
Width="300" Height="600" /> | <Video
src="https://github.com/user-attachments/assets/29973d60-315d-450e-b5fd-28347a033ee9"
Width="300" Height="600" /> |

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…39544)

<!-- 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 Shadow property on a GraphicsView does not work as expected when
changing the FlowDirection property on iOS and macOS. The shadow
behavior appears to change depending on the flow direction on Windows
and Android, but the same behavior is not observed on iOS and macOS.

### Root Cause
- On iOS and Mac Catalyst, GraphicsView mirrors its drawing context for
right-to-left layout, but Core Graphics does not apply that transform to
shadow offsets, causing drawable shadows to retain their left-to-right
horizontal direction.


### Description of Change
- Added a ShouldMirrorShadowOffsetX property to PlatformCanvas, and
updated the SetShadow method to mirror the X offset for shadows when
rendering in RTL layouts. This ensures that shadow direction matches the
flow direction, fixing inconsistencies in visual appearance.
- Updated DirectRenderer on iOS to set ShouldMirrorShadowOffsetX based
on the effective layout direction before drawing, and reset it after
drawing is complete.



### Issues Fixed
Fixes #39511

### Validated the behaviour in the following platforms
- [ ] Windows
- [ ] Android
- [x] iOS
- [x] Mac

### Output
| Platform | Before | After |
|----------|----------|----------|
| iOS | <video
src="https://github.com/user-attachments/assets/6fd30f88-ab51-4694-8e46-06243137e541">
| <video
src="https://github.com/user-attachments/assets/b8881d84-5a7e-4dc1-9cb4-6d5095d0c381">
|
| Mac | <video
src="https://github.com/user-attachments/assets/c2a1ed12-9b7a-4098-84c1-18c4b5218dec">
| <video
src="https://github.com/user-attachments/assets/bbe2f30f-bac7-40ba-825a-dc3fa9b1ecd1">
|

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

<!-- 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 Detail
When Material 3 is enabled on Android, the Picker still rendered with
the Material 2 underline-style field instead of the Material 3 outlined
field.

### Description of Change

- The Android Material 3 Picker uses MauiMaterialPickerTextInputLayout
with BoxBackgroundOutline to render the outlined field and floating
title. Its child, MauiMaterialPicker (TextInputEditText), displays the
selected item and preserves Picker-specific interactions.
- Updated PickerHandler2 to route picker properties and dialog
interactions through the inner MauiMaterialPicker.
- Focused the inner picker when clicked to activate the theme's focused
outline color, and cleared focus when the dialog is dismissed.

### Fixed
Fixes #39424 

### Known issue
   - Title (Placeholder) FlowDirection not working
   - Title CharacterSpacing not working  
- The Picker's title (placeholder) does not respect the configured
vertical alignment before an item is selected.
   - Background = null does not work.
   
### Screenshot
| Before  | After  |
|---------|--------|
| <img
src="https://github.com/user-attachments/assets/b2516f88-4ce2-40ec-ac19-49cf951a0c60">
| <img
src="https://github.com/user-attachments/assets/c96fdb4a-df05-4e4d-9dd2-d509899b0071">
|

---------

Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

This pull request introduces a new Android UI test pipeline stage for
running Shell tests using the Shell Renderer instead of the default
Shell Handler, and adds support for passing custom configuration
arguments through the test infrastructure. The changes enable dynamic
selection between Shell Handler and Shell Renderer at runtime, improve
test reliability by ensuring the correct app launch configuration, and
document the new workflow.

**Android UI Test Pipeline and Configuration Enhancements:**

* Added a new `android_ui_tests_shell_renderer` pipeline stage to run
the Shell UI test category using the Shell Renderer, with the
appropriate test configuration argument passed through the build and
test system.
[[1]](diffhunk://#diff-8f76930e2126f6e5f60cae836de1df54dd41263baac4d4baf04789be312b257aR200-R239)
[[2]](diffhunk://#diff-5ef283ed2b0908ba16616e640598da109a6c805539dce51c4e877ee5a8daaaa9R270-R273)
* Updated documentation (`docs/UITesting-Guide.md`) to explain the new
Shell Handler and Shell Renderer test lanes, the configuration argument
mechanism, and how to run the renderer configuration locally.

**Dynamic Shell Implementation Selection:**

* Modified `MainActivity` and `MauiProgram.cs` so that the Shell
implementation (Handler or Renderer) is selected at runtime based on the
`TEST_CONFIGURATION_ARGS` intent extra, which is set by the test
infrastructure. The selected implementation is logged to logcat for
traceability.
[[1]](diffhunk://#diff-3a49da1c7aa180459920dba53facf48b7d89b5d85509c2b449c7faebc91d91b6R19-R25)
[[2]](diffhunk://#diff-d01e2392fa68bd429a87ca25ef57d4ad83147746e650291c69f97c197d92628dR76-R84)

**Appium Android Test Infrastructure Improvements:**

* Enhanced `AppiumAndroidApp` to support activating the app with custom
intent extras (e.g., `TEST_CONFIGURATION_ARGS`), and to use the
`autoLaunch` Appium option when configuration arguments are present to
ensure proper startup. This logic is used consistently for app launch,
foregrounding, and crash recovery.
[[1]](diffhunk://#diff-5a3432a6b0660592c1811cff674495b3cc457301eed28a4676afcf788c3f094fL42-R72)
[[2]](diffhunk://#diff-5a3432a6b0660592c1811cff674495b3cc457301eed28a4676afcf788c3f094fR119-R121)
[[3]](diffhunk://#diff-1421857190991f5c5a690ae89552b7ab12c724a00447f4ec55e75e9bdafb965dR99-R102)
[[4]](diffhunk://#diff-1421857190991f5c5a690ae89552b7ab12c724a00447f4ec55e75e9bdafb965dR122-R126)
[[5]](diffhunk://#diff-1421857190991f5c5a690ae89552b7ab12c724a00447f4ec55e75e9bdafb965dL352-R375)

These changes collectively enable more flexible and robust Android UI
test configurations, allowing the test pipeline to exercise both Shell
Handler and Shell Renderer implementations with minimal duplication and
clear traceability.

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…he gallery (#39621)

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

Extend the existing MacCatalyst startup-page resolver to Android, iOS,
and Windows, and wire it into `_IssuesUITest` / `_GalleryUITest` so
fixtures and resets can launch directly to their issue or gallery page
instead of searching and tapping through the gallery.

- **Android, iOS, MacCatalyst:** direct fixture launch is enabled by
default. Driver sessions remain reusable; each fixture receives its own
startup target. Reset/retry paths retain the current target, and
teardown closes the app instead of launching an unused gallery. Gallery
subpage selection still runs after launch; the current Android CoreCLR
ShellSearch setup failure remains under investigation.
- **Windows:** startup arguments and fixture integration are
implemented, but direct fixture launch is **opt-in** with
`MAUI_UITEST_DIRECT_LAUNCH=true`. WinAppDriver cannot change
`appArguments` on an existing session, so changing targets requires a
new session. Keep the existing navigation default until native timing
proves this is a benefit.
- Set `MAUI_UITEST_DIRECT_LAUNCH=false` to compare legacy navigation.
Normal launches and missing/empty/unknown startup targets still open the
gallery; unknown targets emit a debug diagnostic.
- Preserve the internet-required issue check through the shared page
factory. Forward the configured Android UDID to Appium and escape launch
arguments.
- Starting a new Apple test target and resetting the app stop explicitly
when closing fails. **Correction in `10e3dc7d710`:** OS-command
fallbacks no longer return success for a missing process, timeout, or
nonzero exit code; redirected output is drained and failures are logged.
Reset checks the close result before relaunching. This closes the
reproduced gap where a failed `simctl terminate` command was incorrectly
reported as success.
- Add startup/lifecycle utility tests to the solution and Helix
unit-project list, plus cross-platform fixture/reset coverage. The
regression page records how many application windows existed during
construction: `0` demonstrates initial-page creation, while the legacy
gallery-navigation control observes `1`.

Manual startup examples (exact issue description or gallery title,
case-insensitive):

```bash
adb shell am start -S -n com.microsoft.maui.uitests/com.microsoft.maui.uitests.MainActivity --es test '"Direct test launch"'
SIMCTL_CHILD_test="Direct test launch" xcrun simctl launch --terminate-running-process <simulator-udid> com.microsoft.maui.uitests
```

```powershell
.\Controls.TestCases.HostApp.exe '--test=Direct test launch'
```

MacCatalyst continues using the app process's `test` environment
variable. Startup arguments are consumed during initial-window creation;
do not merely foreground an already-running process when changing
targets. This extends #31673's resolver rather than adding a competing
one.

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

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

### Validation

#### Termination-fallback correction

- `dotnet test
src/TestUtils/tests/UITest.Appium.Tests/UITest.Appium.Tests.csproj
--filter
'FullyQualifiedName~FailedSimulatorFallbackCannotLaunchWithStaleStartupArguments'
-v:minimal` — **both new cases failed before the fix** with the intended
missing-exception assertion. They use a recording driver that rejects
termination and a real `simctl` command with an invalid simulator ID; no
simulator app or host UI is controlled.
- `dotnet test
src/TestUtils/tests/UITest.Appium.Tests/UITest.Appium.Tests.csproj
--no-restore -v:minimal` — **22 passed after the fix**. Includes the
original 19 utility tests, the two launch/reset regressions, and a
direct force-close response regression.
- `dotnet test
src/TestUtils/tests/UITest.Appium.Tests/UITest.Appium.Tests.csproj
--no-build -v:q` — **22 passed in each of two additional fresh test
processes**.

These utility tests establish the corrected fallback behavior, not
native Appium reliability or resolution of the outstanding UI failures.

#### Earlier implementation validation

The following checks were performed during the initial implementation,
before the later rebase onto `4781afbd`. They were **not rerun as native
certification of `10e3dc7d710`**.

Initial iOS validation used an isolated iPhone 11 Pro on iOS 26.5 with
`simctl` launches, screenshots, and local Vision OCR: all six startup
scenarios passed 3/3 (18 checks). Subsequently, with explicit permission
for simulator-only XCTest/WebDriverAgent,
`DEVICE_UDID=5668A696-15E3-41E8-884C-7D06EB167B07 dotnet test
src/Controls/tests/TestCases.iOS.Tests/Controls.TestCases.iOS.Tests.csproj
--no-build --filter 'FullyQualifiedName~Issue32463Runner'` ran the
actual fixture: **2 passed**, covering direct startup and
tap/increment/reset. No host macOS UI automation was used. This does not
clear the current Stepper failures.

- `dotnet build ./Microsoft.Maui.BuildTasks.slnf -v:q` — passed.
- `dotnet build
src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj
-f net10.0-ios -p:RuntimeIdentifier=iossimulator-arm64 -v:q` — passed;
installed and locally validated as above using normal simulator signing.
- `dotnet build
src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj
-f net10.0-android -p:EmbedAssembliesIntoApk=true -v:q` — passed;
installed on an isolated headless API 34 emulator.
- `dotnet build
src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj
-f net10.0-maccatalyst -p:RuntimeIdentifier=maccatalyst-arm64 -v:q` —
passed; host UI automation was not run.
- `DEVICE_UDID=emulator-5556 dotnet test
src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj
--no-restore --filter
'FullyQualifiedName~Issue32463|FullyQualifiedName~Issue10222Test|FullyQualifiedName~VerifyButton_CommandAndCommandParameter'`
— **15 passed**, including existing issue/gallery fixtures, per-test
resets, and the legacy-navigation control.
- `dotnet build
src/Controls/tests/TestCases.iOS.Tests/Controls.TestCases.iOS.Tests.csproj
-v:q` — passed.
- `dotnet build
src/Controls/tests/TestCases.Mac.Tests/Controls.TestCases.Mac.Tests.csproj
-v:q` — passed.
- `dotnet build
src/Controls/tests/TestCases.WinUI.Tests/Controls.TestCases.WinUI.Tests.csproj
-v:q` — passed. Windows native execution was not performed locally on
this macOS machine.
- `dotnet msbuild eng/helix.proj -getItem:XUnitProject -nologo` —
passed; includes the utility test project.

Earlier controlled runner verification:

```powershell
$env:AdbTarget = '-s emulator-5556'
$env:DEVICE_UDID = 'emulator-5556'
$DeviceUdid = 'emulator-5556'
& .github/skills/verify-tests-fail-without-fix/scripts/verify-tests-fail.ps1 -Platform android -TestType UITest -TestFilter 'FullyQualifiedName~Issue32463Runner' -FixFiles 'src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs' -BaseBranch 0796941 -PRNumber 39621 -RequireFullVerification
```

**`VERIFICATION PASSED`**: legacy fixture setup failed the intended
window-count assertion (`expected 0, actual 1`); restored direct-launch
setup passed both selected tests. The original Android host verification
also failed its three direct-launch cases without the host fix and
passed all six with it. These earlier checks are not substitutes for the
current native CI matrix.

### Measured performance (limited local sample)

Three interleaved legacy/direct runs of the same two existing Android
fixtures (`Issue10222Test` and
`VerifyButton_CommandAndCommandParameter`), each with 2/2 tests passing.
Compared full `dotnet test --no-build` wall time, including fixture
setup, with `MAUI_UITEST_DIRECT_LAUNCH=false` versus `true`:

| Mode | Run 1 | Run 2 | Run 3 | Median |
|---|---:|---:|---:|---:|
| Legacy navigation | 20.938s | 20.514s | 20.819s | 20.819s |
| Direct startup | 16.237s | 23.551s | 15.575s | 16.237s |

The median was **22.0% lower** in this sample; one direct run was
slower. This is not a suite-wide estimate or a claim of an iOS/Windows
speedup.

### CI observation and remaining gaps

**This PR is not runtime-green.** The following terminal builds tested
the preceding head `f09f1302a01` through merge `e00a7f22` on base
`4781afbd`; they do not validate the new termination correction.

- [Main validation
1649162](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1649162)
failed in Windows Debug: `MSB4024` while reading generated
`.buildtasks/Microsoft.Maui.Core.props`, which another process held
open. The exact-base main build passed, but that is not causal proof.
This failure is **not** the old `WMC0612` XAML error from the initial
implementation.
- [UI validation
1649164](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1649164)
failed. Its 85 failed result occurrences represent 73 distinct automated
test/platform names, not 85 independent defects. Thirty CoreCLR Android
ShellSearch outcomes share one fixture-setup timeout at
`_GalleryUITest.FixtureSetup:58`. Five iOS Stepper assertions persist.
Other assertion, timeout, app-not-running, and visual failures remain
unresolved; neither passing utility tests nor isolated passing native
cases clear them.
- Windows ShellSearch has same-base peer-failure observations, while
other Windows visuals have passing same-base cross-PR controls. Those
are observations, not proof of PR causality or clearance. Some Catalyst
Entry visual signatures also occur on main; remaining failures must not
be dismissed as unrelated.
- [Device validation
1649165](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1649165)
succeeded, using a different harness. It does not certify Appium fixture
lifecycle correctness.

A same-lane direct-launch-disabled control for the CoreCLR ShellSearch
failure has **not yet been performed**. Its source-bound artifact
confirms the requested startup target was sent, but diagnostics do not
establish why setup timed out. No assertions, screenshot goldens,
tolerances, or skips were changed to mask these failures.

---------

Copilot-Session: cdc98af7-0509-443d-8a84-cc75ecbc1a1e
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
Preserve gallery readiness and Shell Renderer configuration while sharing Android activation for direct targets and configuration extras. Cover combined arguments on launch and reset.

Co-authored-by: Copilot App <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

## 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>
Updated
[Microsoft.AspNetCore.Authentication.Facebook](https://github.com/dotnet/dotnet)
from 10.0.13 to 10.0.14.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.Facebook's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.AspNetCore.Authentication.Google](https://github.com/dotnet/dotnet)
from 10.0.13 to 10.0.14.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.Google's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.AspNetCore.Authentication.MicrosoftAccount](https://github.com/dotnet/dotnet)
from 10.0.13 to 10.0.14.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Authentication.MicrosoftAccount's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

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.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
… its parent after handler disconnect (#39695)

<!-- 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 the PR Change #37854 , the test case
DisconnectHandlerRemovesClippingContainer verifies that disconnecting a
HybridWebView removes both its clipping wrapper and its native WebView
from their parents, clears the container state, and supports
reconnecting and disconnecting again.

### Root Cause 

Before #37854, cleanup detached the wrapper and removed its
children without reattaching the WebView. The PR moved container cleanup
earlier, while the platform view was still available, so removing the
wrapper now moves the WebView back into the original FrameLayout.
HybridWebView’s subsequent disconnect logic does not remove that
reattached WebView, causing Assert.Null(platformView.Parent) to fail
because its parent is still the FrameLayout.

### Description of Change

In HybridWebViewHandler.Android.cs, I added:
`platformView.RemoveFromParent();`
This explicitly detaches the native WebView regardless of whether
container cleanup already unwrapped it. It preserves the PR’s earlier
cleanup rather than reverting it.
 
**Tested the behavior in the following platforms.**
- [x] Android
- [ ] Windows
- [ ] iOS
- [ ] Mac
 
| Before  | After  |
|---------|--------|
| <img width="500" height="300" alt="image"
src="https://github.com/user-attachments/assets/769eeece-337f-4f9e-baf3-f98c6d558d38"
/> | <img width="300" height="600" alt="Screenshot_1793088099"
src="https://github.com/user-attachments/assets/920158d8-8d78-4a99-8fdd-6cccc5e33ebe"
/> |
<!-- 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 MAUI's design-time `FontSize` validation so XAML numeric literals
are validated using invariant culture, independently of Windows regional
settings.

The XAML language service uses the design-time converter supplied by
MAUI. Its numeric validation currently calls the current-culture
`double.TryParse` overload, while MAUI's runtime and XAML compiler use
`NumberStyles.Number` with `CultureInfo.InvariantCulture`. Under
`fr-FR`, or an `en-US` culture with the decimal separator customized to
a comma, valid XAML such as `FontSize="12.5"` is rejected with XLS0431
even though the app builds and runs.

- Use the same invariant numeric parsing settings as the runtime and
XAML compiler.
- Add 13 regression cases covering `en-US`, `fr-FR`, `de-DE`, invariant
decimals and grouping, rejection of localized decimal/grouping
combinations, and a custom comma-decimal regional setting.
- Restore the original culture in `finally` so tests do not leak culture
changes.
- Preserve runtime grouping semantics: `12,5` is not a localized
spelling of 12.5; the runtime interprets it as 125. This PR does not
change runtime parsing or the XAML language server.

### Issues Fixed

Decimal `FontSize` values can produce false XLS0431 diagnostics and
interfere with XAML Hot Reload when the host uses comma-decimal regional
settings.

Reproduction: change the Windows decimal separator to a comma, restart
Visual Studio, debug a MAUI Windows app, and edit a label to use
`FontSize="12.5"`. A full `de-DE` locale alone may not reproduce the
rejection because its period grouping separator lets the old validator
accept the text.

### Validation

```powershell
dotnet test src\Controls\tests\Core.Design.UnitTests\Controls.Core.Design.UnitTests.csproj --no-restore --filter FullyQualifiedName~FontSizeDesignTypeConverterTests
```

- Before the production fix: 5 failed, 29 passed (34 total).
- After the production fix: 34 passed, 0 failed.
- `dotnet format whitespace` verification passed for both changed files.
- `git diff --check` passed.
- Direct execution of the shipped 10.0.110 design-time/runtime
converters independently confirmed the mismatch during investigation.

Tests build and run the actual `net472` design tooling on Windows. A
complete Visual Studio Hot Reload session was not exercised locally.

A matching .NET 10 fix is being submitted separately against
`inflight/current`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…t During Flyout Construction Publishes Latest Root (#39692)

<!-- 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 Android Shell-handler test timed out while waiting for finalPage to
load, whereas the Shell-renderer variant passed.

**Test name:** Root Replacement During Flyout Construction Publishes
Latest Root
 
### Root Cause
The .NET 11 tests run with both the Shell renderer and Shell handler,
but the custom Flyout handler was registered only in the renderer setup,
causing the test to fail with the Shell handler.
 
### Description of Changes
Added the missing custom Flyout handler registration to
WindowHandlerTests.SetupBuilder() so the test works with both the
renderer and handler setups, without modifying production code.

### Screenshots
| Before Issue Fix | After Issue Fix |
|----------|----------|
| <img width="1200" height="350"
src="https://github.com/user-attachments/assets/e4552bda-6366-4e82-9c9d-b1b137a94057">
| <img width="350" height="350"
src="https://github.com/user-attachments/assets/4dd49f71-1f14-41fe-9085-9dd5dcba3b7d">
|
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*

@dotnet-policy-service dotnet-policy-service Bot 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.

Auto-approved automated inter-branch merge.

@kubaflo kubaflo closed this Oct 29, 2026
auto-merge was automatically disabled October 29, 2026 11:14

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.