Repository navigation
[Android][Testing] Keep the Issue2266 flyout menu clear of system bars - #40340
Merged
Merged
Conversation
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
temporarily deployed
to
copilot-pat-pool
November 17, 2026 16:11 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
November 17, 2026 16:12 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 17, 2026 16:14 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 17, 2026 16:16 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 17, 2026 16:18 — with
GitHub Actions
Inactive
1 task
kubaflo
temporarily deployed
to
copilot-pat-pool
November 17, 2026 16:18 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
Contributor
Author
|
/rebase |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Collaborator
PR Test Gate
🧪 Gate analysis — click to expand⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect. 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. |
Contributor
There was a problem hiding this comment.
Expert Review — 0 findings
Reviewed commit 7e42032.
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>
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
mainnet11, for reviewFor .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.ContentPagedefaults 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 originalPage 1tap left the flyout open, so the subsequentSTARTlookup 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.
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_UDIDidentifying the owned API36 emulator: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).SwapMainPageWithFlyoutPagesin 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.