Skip to content

[Android][Testing] Keep the Issue2266 flyout menu clear of system bars - #40340

Merged
kubaflo merged 1 commit into
candidate/11.0.1xx-sr2from
kubaflo-effective-happiness
Nov 17, 2026
Merged

kubaflo merged 1 commit into
candidate/11.0.1xx-sr2from
kubaflo-effective-happiness

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Target Branch

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

For .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into net11; agents must not retarget or merge.

This is an explicitly coordinated candidate-validation repair for candidate/11.0.1xx-sr2, associated with #40116.

Description of Change

Opt the Issue2266 test fixture's flyout menu into SafeAreaRegions.Container. This is a one-line fixture correction, not a change to the production FlyoutPage or navigation handlers.

ContentPage defaults to edge-to-edge content. After #40311 re-enabled this case on Android, the first menu item's text occupied [3,29][909,86] on API30: its center was underneath the visible status bar. The original Page 1 tap left the flyout open, so the subsequent START lookup threw before testing toolbar re-entry. Both the original CI attempt and its retry failed this way. The same row bounds and line-24 failure reproduced locally with the fixture restored to the unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all three toolbar/MainPage re-entry paths, assertions, category, platform coverage, and timeouts are preserved. No waits, alternate rows, coordinate taps, retries, skips, or screenshot expectations were added or changed.

Native validation: pinned SDK 11.0.101, Android workload 37.2.32, CoreCLR HostApp, separate owned API30 and API36 emulators. The test client assembly was unchanged throughout.

Native runtime Actual original-case sequence, with original visible system bars
API30 Baseline APK: failed at line 24; fixed APK: passed; reinstall baseline APK: same failure; restore fixed APK: passed again
API36 Baseline APK: failed at line 24; fixed APK: passed after push; unchanged fixed APK: passed again after push

The prescribed verification wrapper reported INCONCLUSIVE, not passed: the first filter did not match the parameterized fixture, and a subsequent fixed-phase deployment lost the emulator transport. A guard refused the runner's shared-ADB restart. After a normal reconnect to the owned emulator, direct runs of the original compiled NUnit case against the preserved APKs established the results above. No authorization bypass or shared-server reset was used. A requested immersive-status diagnostic did not actually hide the status bar; it was restored and is not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and DEVICE_UDID identifying the owned API36 emulator:

dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush

Result: 1 passed, 0 failed. The Release Android HostApp build completed with 0 warnings, 0 errors; scoped repository formatting also passed. Other platforms and the complete candidate matrix are not claimed green by this focused repair.

Issues Fixed

Fixes Issue2266(Android).SwapMainPageWithFlyoutPages in candidate UI build 1685512, run 47042068, result 100092.

Relates to #40116 and #40311. Existing open and recently merged Issue2266/flyout repairs, including the files in #38822, were checked; no duplicate menu-inset correction was found.

Opt the menu into container safe-area insets so the original first-row tap reaches the ListView before verifying toolbar re-entry.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 17, 2026 16:11 — with GitHub Actions Inactive
@azure-pipelines

This comment has been minimized.

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 17, 2026
@kubaflo

kubaflo commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

/rebase

@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@MauiBot

MauiBot commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 17, 2026

@github-actions github-actions 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.

Expert Review — 0 findings

Reviewed commit 7e42032.

@kubaflo
kubaflo merged commit fabce6b into candidate/11.0.1xx-sr2 Nov 17, 2026
103 of 220 checks passed
@kubaflo
kubaflo deleted the kubaflo-effective-happiness branch November 17, 2026 19:13
kubaflo added a commit that referenced this pull request Nov 18, 2026
#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with #40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After #40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to #40116 and #40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in #38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with #40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After #40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to #40116 and #40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in #38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with #40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After #40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to #40116 and #40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in #38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 19, 2026
#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with #40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After #40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to #40116 and #40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in #38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 22, 2026
#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with #40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After #40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to #40116 and #40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in #38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 23, 2026
#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with #40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After #40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to #40116 and #40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in #38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kubaflo kubaflo added this to the .NET 11 SR2 milestone Nov 24, 2026
KarthikRajaKalaimani pushed a commit to KarthikRajaKalaimani/maui that referenced this pull request Nov 26, 2026
dotnet#40340)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is an explicitly coordinated candidate-validation repair for
`candidate/11.0.1xx-sr2`, associated with dotnet#40116.

### Description of Change

<!-- Enter description of the fix in this section -->

Opt the **Issue2266 test fixture's flyout menu** into
`SafeAreaRegions.Container`. This is a one-line fixture correction, not
a change to the production FlyoutPage or navigation handlers.

`ContentPage` defaults to edge-to-edge content. After dotnet#40311 re-enabled
this case on Android, the first menu item's text occupied
`[3,29][909,86]` on API30: its center was underneath the visible status
bar. The original `Page 1` tap left the flyout open, so the subsequent
`START` lookup threw before testing toolbar re-entry. Both the original
CI attempt and its retry failed this way. The same row bounds and
line-24 failure reproduced locally with the fixture restored to the
unchanged candidate version.

The original UI test is byte-identical: its first-item selection, all
three toolbar/MainPage re-entry paths, assertions, category, platform
coverage, and timeouts are preserved. No waits, alternate rows,
coordinate taps, retries, skips, or screenshot expectations were added
or changed.

**Native validation:** pinned SDK 11.0.101, Android workload 37.2.32,
CoreCLR HostApp, separate owned API30 and API36 emulators. The test
client assembly was unchanged throughout.

| Native runtime | Actual original-case sequence, with original visible
system bars |
| --- | --- |
| API30 | Baseline APK: failed at line 24; fixed APK: passed; reinstall
baseline APK: same failure; restore fixed APK: passed again |
| API36 | Baseline APK: failed at line 24; fixed APK: passed after push;
unchanged fixed APK: passed again after push |

The prescribed verification wrapper reported **INCONCLUSIVE**, not
passed: the first filter did not match the parameterized fixture, and a
subsequent fixed-phase deployment lost the emulator transport. A guard
refused the runner's shared-ADB restart. After a normal reconnect to the
owned emulator, direct runs of the original compiled NUnit case against
the preserved APKs established the results above. No authorization
bypass or shared-server reset was used. A requested immersive-status
diagnostic did not actually hide the status bar; it was restored and is
not counted as a trigger-removed control.

Final post-push command, with the pinned SDK selected and `DEVICE_UDID`
identifying the owned API36 emulator:

```bash
dotnet test artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll --filter 'FullyQualifiedName~Issue2266' --logger 'console;verbosity=normal' --logger 'trx;LogFileName=issue2266-postpush.trx' --results-directory CustomAgentLogsTmp/Issue2266PostPush
```

Result: **1 passed, 0 failed**. The Release Android HostApp build
completed with **0 warnings, 0 errors**; scoped repository formatting
also passed. Other platforms and the complete candidate matrix are not
claimed green by this focused repair.

### 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 `Issue2266(Android).SwapMainPageWithFlyoutPages` in [candidate UI
build 1685512, run 47042068, result
100092](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1685512&view=ms.vss-test-web.build-test-results-tab&runId=47042068&resultId=100092).

Relates to dotnet#40116 and dotnet#40311. Existing open and recently merged
Issue2266/flyout repairs, including the files in dotnet#38822, were checked;
no duplicate menu-inset correction was found.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

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

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 7e420320 Deployed Nov 17, 2026 by kubaflo via conclusion #3045
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.

2 participants