Skip to content

Revert - Fix Shell.BackgroundColor not applied to bottom TabBar - #37542

Merged
kubaflo merged 4 commits into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:revert-35545
Aug 17, 2026
Merged

kubaflo merged 4 commits into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:revert-35545

Conversation

@devanathan-vaithiyanathan

Copy link
Copy Markdown
Contributor

Issue details:

In PR #35545 , the TabBar background was enabled for iOS 26+, which causes the Liquid Glass effect to be disabled. This breaks the native iOS 26 TabBar behavior.

Description of changes:

Revert PR #35545 to restore the native Liquid Glass TabBar behavior on iOS 26+.

Issues Fixed

Fixes #37423

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

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


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

The duplicate code was also added at [line
156](https://github.com/dotnet/maui/blob/main/eng/pipelines/common/ui-tests-steps.yml#L156)
as part of [PR dotnet#31631](dotnet#31631).
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

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

### Root Causes

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

### Changes

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

### Validation

Current head: `fd8f3d543e1a1eb90e8432a0cbae07a18b52dbdd`.

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

### Issues Fixed

Follow-up to dotnet#36799.

---------

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

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

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

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

Or

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

@azure-pipelines

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

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Aug 17, 2026
@devanathan-vaithiyanathan devanathan-vaithiyanathan added the community ✨ Community Contribution label Aug 17, 2026
@vishnumenon2684

Copy link
Copy Markdown
Contributor

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

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@sheiksyedm
sheiksyedm marked this pull request as ready for review August 17, 2026 11:15
Copilot AI lite review requested due to automatic review settings August 17, 2026 11:15
@azure-pipelines

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

@sheiksyedm sheiksyedm added p/0 Current heighest priority issues that we are targeting for a release. area-controls-shell Shell Navigation, Routes, Tabs, Flyout and removed Priority:0 labels Aug 17, 2026
@sheiksyedm sheiksyedm added this to the .NET 10 SR10 milestone Aug 17, 2026

Copilot AI 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.

Pull request overview

This PR reverts the iOS 26+ behavior introduced in PR #35545 where UITabBar.BackgroundColor was set directly, which disables the native iOS 26 “Liquid Glass” bottom tab bar appearance when an app sets Shell/TabBar background colors.

Changes:

  • Remove the iOS 26+ direct tabBar.BackgroundColor = effectiveBarColor assignment so iOS 26 can keep the native Liquid Glass rendering.
  • Re-enable the Issue7396 UI screenshot test on iOS 26+ by removing its iOS 26 ignore block.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/Core/src/Platform/iOS/TabbedViewExtensions.cs Reverts iOS 26+ direct UITabBar.BackgroundColor mutation to preserve Liquid Glass behavior.
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7396.cs Removes iOS 26+ ignore so the screenshot test runs again on iOS 26.

Assert.Ignore("Ignored due to a bug issue in iOS 26"); // Issue Link: https://github.com/dotnet/maui/issues/32125
}
//7396 Issue | Shell: Setting Shell.BackgroundColor overrides all colors of TabBar
App.WaitForElement(CreateBottomTabButton);
@vishnumenon2684

Copy link
Copy Markdown
Contributor

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

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@kubaflo
kubaflo changed the base branch from main to inflight/current August 17, 2026 13:22
@kubaflo
kubaflo merged commit af8ef6b into dotnet:inflight/current Aug 17, 2026
148 of 173 checks passed
@github-actions github-actions Bot modified the milestones: .NET 10 SR10, .NET 10 SR11 Aug 17, 2026
kubaflo pushed a commit that referenced this pull request Aug 25, 2026
Backport the isolated four-file Shell payload from #37542 without its unrelated inflight branch history.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
kubaflo pushed a commit that referenced this pull request Aug 27, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

In PR #35545 , the TabBar background was enabled for iOS 26+, which
causes the Liquid Glass effect to be disabled. This breaks the native
iOS 26 TabBar behavior.

Revert PR #35545 to restore the native Liquid Glass TabBar behavior on
iOS 26+.

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

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
kubaflo added a commit that referenced this pull request Sep 1, 2026
…load (#37746)

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

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

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

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

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

## Status at a glance

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

## Staged in this PR

### Servicing regressions

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

### Planned Skia payload

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

### Integration follow-ups

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

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

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

## Completed disposition — no backport required

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

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

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

## Release completion

### Before merging this PR

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

### After merge

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

## Notes

- No automated `/backport` command was used for this release payload.
- Supersedes #37745, which GitHub automatically closed when the
integration branch was renamed from `vs/10.0.101` to
`inflight/10.0.101`.
kubaflo pushed a commit that referenced this pull request Sep 2, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

In PR #35545 , the TabBar background was enabled for iOS 26+, which
causes the Liquid Glass effect to be disabled. This breaks the native
iOS 26 TabBar behavior.

Revert PR #35545 to restore the native Liquid Glass TabBar behavior on
iOS 26+.

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

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
kubaflo pushed a commit that referenced this pull request Sep 3, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

In PR #35545 , the TabBar background was enabled for iOS 26+, which
causes the Liquid Glass effect to be disabled. This breaks the native
iOS 26 TabBar behavior.

Revert PR #35545 to restore the native Liquid Glass TabBar behavior on
iOS 26+.

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

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
kubaflo pushed a commit that referenced this pull request Sep 6, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

In PR #35545 , the TabBar background was enabled for iOS 26+, which
causes the Liquid Glass effect to be disabled. This breaks the native
iOS 26 TabBar behavior.

Revert PR #35545 to restore the native Liquid Glass TabBar behavior on
iOS 26+.

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

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
kubaflo pushed a commit that referenced this pull request Sep 7, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

In PR #35545 , the TabBar background was enabled for iOS 26+, which
causes the Liquid Glass effect to be disabled. This breaks the native
iOS 26 TabBar behavior.

Revert PR #35545 to restore the native Liquid Glass TabBar behavior on
iOS 26+.

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

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 17, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 9a69623d Deployed Aug 17, 2026 by devanathan-vaithiyanathan via conclusion #1392
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-shell Shell Navigation, Routes, Tabs, Flyout community ✨ Community Contribution p/0 Current heighest priority issues that we are targeting for a release. partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS 26] Shell TabBarBackgroundColor renders an opaque background behind the Liquid Glass tab bar

7 participants