Repository navigation
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 34510Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 34510" |
There was a problem hiding this comment.
Pull request overview
Adjusts Android Shell flyout insets handling so flyout content respects safe-area/system insets (notch/status bar), addressing the reported landscape collision regression.
Changes:
- Simplifies
WindowsListenerinset application to pad the flyoutCoordinatorLayoutusing the max ofSystemBarsandDisplayCutoutinsets (left/top/right/bottom). - Removes per-subview inset handling (flyout view/footer/bg image/appbar special-casing) and associated weak-reference plumbing.
- Updates listener instantiation and removes now-unused listener property assignments.
You can also share your feedback on Copilot code review. Take the survey.
@kubaflo , I have addressed the AI review summary. |
Based on Suggestion modified the description and footer layout params to |
|
/azp run maui-pr-uitests , maui-pr-devicetests |
|
Azure Pipelines successfully started running 2 pipeline(s). |
kubaflo
left a comment
There was a problem hiding this comment.
Could you please review the ai's summary?
This comment has been minimized.
This comment has been minimized.
MauiBot
left a comment
There was a problem hiding this comment.
AI Review Summary
@devanathan-vaithiyanathan — new AI review results are available based on this last commit:
6c91a14. To request a fresh review after new comments or commits, comment/review rerun.
🚀 Next Steps — review latest findings
No alternative fix was selected for this run. Review the session findings and CI results before merging.
🗂️ Review Sessions — click to expand
🧪 Gate — Test Before & After Fix
Gate Result: ✅ PASSED
Platform: ANDROID · Base: main · Merge base: 4567a055
| Test | Without Fix (expect FAIL) | With Fix (expect PASS) |
|---|---|---|
🖥️ Issue32275 Issue32275 |
✅ FAIL — 1050s | ✅ PASS — 854s |
🔴 Without fix — 🖥️ Issue32275: FAIL ✅ · 1050s
(truncated to last 15,000 chars)
Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:32:25 VerifyCustomFlyoutContentRendering Start
>>>>> 06/21/2026 19:32:25 FixtureSetup for VerifyCustomFlyoutContentRendering
>>>>> 06/21/2026 19:32:41 The FixtureSetup threw an exception. Attempt 0/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:32:43 FixtureSetup for VerifyCustomFlyoutContentRendering
>>>>> 06/21/2026 19:32:59 The FixtureSetup threw an exception. Attempt 1/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:32:59 VerifyCustomFlyoutContentRendering Stop
>>>>> 06/21/2026 19:32:59 Log types: logcat, bugreport, server
>>>>> 06/21/2026 19:33:00 Log types: logcat, bugreport, server
Failed VerifyCustomFlyoutContentRendering [34 s]
Error Message:
The app was expected to be running still, investigate as possible crash
TearDown : The app was expected to be running still, investigate as possible crash
Stack Trace:
at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
--TearDown
at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
1) at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
Standard Error Messages:
>>>>> 06/21/2026 19:32:41 The FixtureSetup threw an exception. Attempt 0/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:32:59 The FixtureSetup threw an exception. Attempt 1/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:33:00 VerifyCustomFlyoutContentWithHeaderFooter Start
>>>>> 06/21/2026 19:33:00 FixtureSetup for VerifyCustomFlyoutContentWithHeaderFooter
>>>>> 06/21/2026 19:33:15 The FixtureSetup threw an exception. Attempt 0/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:33:17 FixtureSetup for VerifyCustomFlyoutContentWithHeaderFooter
>>>>> 06/21/2026 19:33:34 The FixtureSetup threw an exception. Attempt 1/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:33:34 VerifyCustomFlyoutContentWithHeaderFooter Stop
>>>>> 06/21/2026 19:33:34 Log types: logcat, bugreport, server
>>>>> 06/21/2026 19:33:34 Log types: logcat, bugreport, server
Failed VerifyCustomFlyoutContentWithHeaderFooter [34 s]
Error Message:
The app was expected to be running still, investigate as possible crash
TearDown : The app was expected to be running still, investigate as possible crash
Stack Trace:
at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
--TearDown
at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
1) at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
Standard Error Messages:
>>>>> 06/21/2026 19:33:15 The FixtureSetup threw an exception. Attempt 0/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
>>>>> 06/21/2026 19:33:34 The FixtureSetup threw an exception. Attempt 1/1.
Exception details: System.TimeoutException: Shell Flyout SafeArea Rendering
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
at Microsoft.Maui.TestCases.Tests._IssuesUITest.NavigateToIssue(String issue) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 54
at Microsoft.Maui.TestCases.Tests._IssuesUITest.TryToResetTestState() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_IssuesUITest.cs:line 25
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 576
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.14] Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.55] Discovered: Controls.TestCases.Android.Tests
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Issue32275.trx
Test Run Failed.
Total tests: 6
Failed: 6
Total time: 4.6936 Minutes
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Issue32275.trx
🟢 With fix — 🖥️ Issue32275: PASS ✅ · 854s
Determining projects to restore...
All projects are up-to-date for restore.
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0-android36.0/Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0-android36.0/Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0-android36.0/Microsoft.Maui.dll
Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Maps -> /home/vsts/work/1/s/artifacts/bin/Maps/Debug/net10.0-android36.0/Microsoft.Maui.Maps.dll
Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0-android36.0/Microsoft.Maui.Controls.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.Xaml/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Xaml.dll
Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Microsoft.AspNetCore.Components.WebView.Maui/Debug/net10.0-android36.0/Microsoft.AspNetCore.Components.WebView.Maui.dll
Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.Maps/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Maps.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.Foldable/Debug/net10.0-android36.0/Microsoft.Maui.Controls.Foldable.dll
Controls.TestCases.HostApp -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Controls.TestCases.HostApp.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Graphics -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Essentials -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Maps.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Microsoft.AspNetCore.Components.WebView.Maui -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.AspNetCore.Components.WebView.Maui.dll
Controls.Maps -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Maps.dll
Controls.Foldable -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Foldable.dll
Controls.Xaml -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net10.0-android/Microsoft.Maui.Controls.Xaml.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:10:48.14
Broadcasting: Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x400000 }
Broadcast completed: result=0
Determining projects to restore...
All projects are up-to-date for restore.
Controls.CustomAttributes -> /home/vsts/work/1/s/artifacts/bin/Controls.CustomAttributes/Debug/net10.0/Controls.CustomAttributes.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Graphics -> /home/vsts/work/1/s/artifacts/bin/Graphics/Debug/net10.0/Microsoft.Maui.Graphics.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Essentials -> /home/vsts/work/1/s/artifacts/bin/Essentials/Debug/net10.0/Microsoft.Maui.Essentials.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Core -> /home/vsts/work/1/s/artifacts/bin/Core/Debug/net10.0/Microsoft.Maui.dll
Controls.BindingSourceGen -> /home/vsts/work/1/s/artifacts/bin/Controls.BindingSourceGen/Debug/netstandard2.0/Microsoft.Maui.Controls.BindingSourceGen.dll
##vso[build.updatebuildnumber]10.0.90-ci+azdo.14442939
Controls.Core -> /home/vsts/work/1/s/artifacts/bin/Controls.Core/Debug/net10.0/Microsoft.Maui.Controls.dll
UITest.Core -> /home/vsts/work/1/s/artifacts/bin/UITest.Core/Debug/net10.0/UITest.Core.dll
VisualTestUtils -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils/Debug/netstandard2.0/VisualTestUtils.dll
UITest.Appium -> /home/vsts/work/1/s/artifacts/bin/UITest.Appium/Debug/net10.0/UITest.Appium.dll
UITest.NUnit -> /home/vsts/work/1/s/artifacts/bin/UITest.NUnit/Debug/net10.0/UITest.NUnit.dll
VisualTestUtils.MagickNet -> /home/vsts/work/1/s/artifacts/bin/VisualTestUtils.MagickNet/Debug/netstandard2.0/VisualTestUtils.MagickNet.dll
UITest.Analyzers -> /home/vsts/work/1/s/artifacts/bin/UITest.Analyzers/Debug/netstandard2.0/UITest.Analyzers.dll
Controls.TestCases.Android.Tests -> /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
Test run for /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll (.NETCoreApp,Version=v10.0)
VSTest version 18.0.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net10.0/Controls.TestCases.Android.Tests.dll
NUnit3TestExecutor discovered 6 of 6 NUnit test cases using Current Discovery mode, Non-Explicit run
>>>>> 06/21/2026 19:46:32 VerifyDefaultFlyoutItemsRendering Start
>>>>> 06/21/2026 19:46:32 FixtureSetup for VerifyDefaultFlyoutItemsRendering
>>>>> 06/21/2026 19:46:39 VerifyDefaultFlyoutItemsRendering Stop
Passed VerifyDefaultFlyoutItemsRendering [9 s]
>>>>> 06/21/2026 19:46:42 VerifyFlyoutWithHeaderFooter Start
>>>>> 06/21/2026 19:46:42 FixtureSetup for VerifyFlyoutWithHeaderFooter
>>>>> 06/21/2026 19:46:53 VerifyFlyoutWithHeaderFooter Stop
Passed VerifyFlyoutWithHeaderFooter [13 s]
>>>>> 06/21/2026 19:46:55 VerifyCustomFlyoutContentTemplateRendering Start
>>>>> 06/21/2026 19:46:55 FixtureSetup for VerifyCustomFlyoutContentTemplateRendering
>>>>> 06/21/2026 19:47:05 VerifyCustomFlyoutContentTemplateRendering Stop
Passed VerifyCustomFlyoutContentTemplateRendering [11 s]
>>>>> 06/21/2026 19:47:06 VerifyCustomFlyoutContentTemplateWithHeaderFooter Start
>>>>> 06/21/2026 19:47:06 FixtureSetup for VerifyCustomFlyoutContentTemplateWithHeaderFooter
>>>>> 06/21/2026 19:47:19 VerifyCustomFlyoutContentTemplateWithHeaderFooter Stop
Passed VerifyCustomFlyoutContentTemplateWithHeaderFooter [14 s]
>>>>> 06/21/2026 19:47:20 VerifyCustomFlyoutContentRendering Start
>>>>> 06/21/2026 19:47:20 FixtureSetup for VerifyCustomFlyoutContentRendering
>>>>> 06/21/2026 19:47:31 VerifyCustomFlyoutContentRendering Stop
Passed VerifyCustomFlyoutContentRendering [12 s]
>>>>> 06/21/2026 19:47:33 VerifyCustomFlyoutContentWithHeaderFooter Start
>>>>> 06/21/2026 19:47:33 FixtureSetup for VerifyCustomFlyoutContentWithHeaderFooter
>>>>> 06/21/2026 19:47:46 VerifyCustomFlyoutContentWithHeaderFooter Stop
Passed VerifyCustomFlyoutContentWithHeaderFooter [14 s]
NUnit Adapter 4.5.0.0: Test execution complete
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.0)
[xUnit.net 00:00:00.14] Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.67] Discovered: Controls.TestCases.Android.Tests
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Issue32275.trx
Test Run Successful.
Total tests: 6
Passed: 6
Total time: 1.4789 Minutes
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/Issue32275.trx
📁 Fix files reverted (1 files)
src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellFlyoutTemplatedContentRenderer.cs
🛫 Pre-Flight — Context & Validation
Issue: #32275 - Shell Flyout SafeArea Rendering
PR: #34510 - Android Shell flyout safe-area rendering fix
Platforms Affected: Android
Files Changed: 1 implementation, 3 test source files, 6 Android screenshot snapshots
Key Findings
- PR implementation changes Android Shell flyout inset handling in
ShellFlyoutTemplatedContentRenderer.csfrom child-specific state to parentCoordinatorLayoutsafe-area padding and footerMatchParentwidth. - Gate result was supplied as already passed: Issue32275 fails without the fix and passes with the PR fix on Android.
ghis unauthenticated in this environment, so PR metadata/comments/CI could not be fetched live; local checked-out PR branch and existing gate/regression artifacts were used.- Independent code review found the production approach plausible but flagged test coverage/metadata issues.
Code Review Summary
Verdict: NEEDS_CHANGES
Confidence: low
Errors: 2 | Warnings: 0 | Suggestions: 0
Key code review findings:
- ❌
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32275.cs: tests do not switch to landscape, while the reported Android regression is landscape/display-cutout overlap. - ❌
src/Controls/tests/TestCases.HostApp/Issues/Issue32275.cs:3: issue page is markedPlatformAffected.iOSeven though this PR/test path is Android-only.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #34510 | Parent CoordinatorLayout receives safe-area padding; footer width changes to MatchParent; Android screenshot coverage added for Issue32275. |
✅ PASSED (Gate) | ShellFlyoutTemplatedContentRenderer.cs, Issue32275 UI tests/snapshots |
Original PR fix; code review still flags test metadata/orientation gaps. |
🔬 Code Review — Deep Analysis
Code Review — PR #34510
Independent Assessment
What this changes: Android Shell flyout now applies system-bar/display-cutout insets as padding on the flyout CoordinatorLayout, replacing per-child inset handling. It also adds Android screenshot UI coverage for flyout variants.
Inferred motivation: Prevent Shell flyout content/header/footer from rendering into unsafe areas, especially display cutouts.
Reconciliation with PR Narrative
Author claims: Fixes Android landscape Shell flyout safe-area/cutout overlap for #32275.
Agreement/disagreement: Production code matches the stated direction, but the added tests do not put the device in landscape and the new snapshots are portrait-sized (1080x1735), so they do not verify the stated regression.
Prior Review Reconciliation
| Prior ❌ Error Finding | Source | Status | Evidence |
|---|---|---|---|
| Tests open the flyout in default orientation, missing Android landscape/display-cutout coverage | MauiBot inline review | ❌ Unresolved | Issue32275.cs calls App.ShowFlyout() directly at lines 24, 36, 50, 64, 78, 93; no orientation change. Snapshots are portrait 1080x1735. |
HostApp issue page is marked PlatformAffected.iOS despite Android-only PR/tests |
MauiBot inline review | ❌ Unresolved | src/Controls/tests/TestCases.HostApp/Issues/Issue32275.cs:3 still uses PlatformAffected.iOS. |
| Gate reported fix does not pass tests at current head | MauiBot review body | ❌ Unresolved | Prior review for commit 6c91a14 reports “Fix does not pass the tests”. |
Blast Radius Assessment
- Runs for all instances: Yes — all Android Shell flyout renderers using this listener.
- Startup impact: Limited — Shell flyout renderer setup path, not global app startup.
- Static/shared state: No new static/shared state.
CI Status
- Required-check result: undetermined
- Classification: undetermined
- Action taken:
gh pr checks 34510 --requiredfailed becauseghis unauthenticated; confidence capped low and noLGTM.
Findings
❌ Error — Regression tests do not exercise the landscape cutout scenario
The PR claims to fix an Android landscape/display-cutout regression, but every new test opens the flyout in the default orientation (src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32275.cs:24, also 36, 50, 64, 78, 93). The added baselines are portrait-sized (1080x1735), so these screenshots can pass while the landscape left/right cutout collision still regresses.
❌ Error — Android issue page is labeled as iOS
src/Controls/tests/TestCases.HostApp/Issues/Issue32275.cs:3 declares PlatformAffected.iOS even though the PR, fix, and test class are Android-only. This metadata should be PlatformAffected.Android unless the scenario is intentionally cross-platform.
Failure-Mode Probing
- Landscape display cutout: Not verified by tests; current snapshots are portrait.
- Header/footer flyout: Production code applies parent padding and
MatchParentfooter width, which appears directionally sound, but test coverage gap remains. - Handler disconnect/reconnect: Listener is still removed in
Disconnect; no new subscription accumulation found.
Verdict: NEEDS_CHANGES
Confidence: low
Summary: The production approach is plausible, but prior ❌ findings remain unresolved and CI status is unavailable. The added tests do not validate the actual landscape regression described by the PR.
🛠️ Fix — Analysis & Comparison
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| 1 | try-fix-1 | Child-specific inset distribution: keep the outer drawer mostly unpadded and apply safe-area padding to app bar, flyout content, footer, and background. | ❌ FAIL | 1 file | Android Issue32275 ran; 5/6 passed, VerifyCustomFlyoutContentTemplateRendering failed screenshot comparison by 29.57%. Direct child padding changes custom template rendering geometry. |
| 2 | try-fix-2 | Layout-margin safe-area box: keep parent geometry unchanged and apply safe-area offsets via child layout margins plus background padding. | ✅ PASS | 1 file | Android Issue32275 ran; 6/6 passed. More complex than the PR fix; does not address test orientation/metadata gaps by itself. |
| PR | PR #34510 | Parent CoordinatorLayout safe-area padding plus footer MatchParent width. |
✅ PASSED (Gate) | 4 source/test files + snapshots | Original PR fix passed gate; code review flagged test metadata/orientation coverage gaps. |
Cross-Pollination
| Model | Round | New Ideas? | Details |
|---|---|---|---|
| code-review + maui-expert-reviewer | 1 | Yes | Suggested child-specific distribution, drawer-width/margin based fix, inner safe-area host, ShellFlyoutLayout inset handling, footer-focused surgical fix, shared safe-area delegation, and partial inset consumption. |
| try-fix loop | 2 | Yes | Failure of try-fix-1 showed direct child padding alters custom template screenshot geometry; try-fix-2 switched to layout margins. |
| try-fix loop | 3 | No | Remaining untested ideas were either higher-risk structural rewrites (inner host, ShellFlyoutLayout ownership, shared safe-area plumbing) or trivial variations of the passing PR/try-fix-2 strategies. |
Exhausted: Yes
Selected Fix: Candidate #2 for alternative consideration — it passes the Android Issue32275 suite with a different layout-margin strategy. PR #34510 remains simpler and already gate-passing, but both require separate test cleanup for Android metadata and true landscape/display-cutout coverage.
📝 Recommended PR Title & Description
Assessment: ✏️ Recommend updating — the current description has one stale/incorrect type name (WindowsListener) and does not mention the added Android Issue32275 screenshot coverage.
Recommended title
[Android] Shell Flyout: Apply safe-area insets to the flyout container
Recommended description
### Issue Details
On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area.
### Description of Change
This change simplifies `ShellFlyoutTemplatedContentRenderer.ShellFlyoutWindowInsetListener` so the flyout `CoordinatorLayout` consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself.
That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. The footer layout width now uses `MatchParent` so it is bounded by the flyout container's padded content area.
The PR also adds Android Issue32275 screenshot coverage for default flyout items, custom flyout content/content templates, and header/footer combinations.
### Issues Fixed
Fixes #32275
| Before | After |
|---------|--------|
| **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
🏁 Report — Final Recommendation
Comparative Candidate Report - PR #34510
Candidates compared
| Rank | Candidate | Regression result | Assessment |
|---|---|---|---|
| 1 | pr |
PASS | Best choice. It is the simplest passing production fix: parent CoordinatorLayout padding defines one safe content box, and footer MatchParent width respects that padded box. |
| 2 | pr-plus-reviewer |
PASS | Equivalent to pr because the MAUI expert reviewer returned no actionable findings to apply. It is not ranked above pr because it contains no improvement over the raw PR fix. |
| 3 | try-fix-2 |
PASS | Viable alternative using child layout margins plus background padding, but it reintroduces listener-held child references and more moving parts than the PR's parent-padding approach. |
| 4 | try-fix-1 |
FAIL | Must rank lower because Android Issue32275 failed: VerifyCustomFlyoutContentTemplateRendering had a 29.57% screenshot mismatch. Direct child padding changed custom template geometry. |
Analysis
try-fix-1 is eliminated by the ranking rule because it failed regression testing. try-fix-2 passed and demonstrates that a layout-margin strategy can avoid the rendering failure, but it is more complex than the PR and restores weak references to child views that the PR no longer needs.
The PR's approach is preferable because the safe area is expressed once on the flyout container instead of distributed across app bar, content, footer, and background surfaces. That reduces lifecycle coupling and avoids the custom-template geometry regression observed in try-fix-1.
The expert-review pass returned no actionable inline findings, so pr-plus-reviewer is identical to pr. Earlier pre-flight review concerns about Android issue metadata and explicit landscape coverage remain useful follow-up test-quality feedback, but they do not make an alternative implementation candidate stronger than the passing, simpler PR fix.
Winner
Winner: pr
The raw PR fix wins because it passed the supplied gate, is simpler than the passing alternative, avoids the failed child-padding strategy, and received no additional actionable expert-review changes.
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
…didate PR #36411 (#36672) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details Android Shell Flyout UI Test Failures in Candidate PR #[36411](#36411) due to PR #[34510](#34510) ### Description of Change <!-- Enter description of the fix in this section --> On Android, the Shell flyout was incorrectly applying bottom padding even when the flyout didn't reach the bottom safe area. The fix checks if the view actually overlaps the bottom safe area before applying the bottom inset padding. ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36625 ### Test failure details * VerifyShellFlyout_HeightAndWidthWithBackgroundColor * VerifyShellFlyout_HeightAndWidthWithBackgroundImage * VerifyShellFlyout_BackgroundImageWithHeaderAndFooter * VerifyShellFlyout_Height, ShouldFlyoutTextWrapsInLandscape
#34510) <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Issue Details On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area. ### Description of Change <!-- Enter description of the fix in this section --> This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself. That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image. ### 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 #32275 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> | Before | After | |---------|--------| | **Android**<br> <video src="https://github.com/user-attachments/assets/07e160a0-da8a-4254-b469-f8604784a205" width="260" height="500"> |**Android**<br> <video src="https://github.com/user-attachments/assets/4e6a7572-e6b0-4d1a-a9b3-18797278e7f1" width="260" height="500"> |
Issue Details
On Android, Shell flyout content was not consistently offset for SystemBars/DisplayCutout insets in landscape mode. That left flyout items exposed to the notch and status bar area.
Description of Change
This change simplifies ShellFlyoutTemplatedContentRenderer.WindowsListener so the flyout CoordinatorLayout consumes the window insets and applies the max of SystemBars and DisplayCutout insets as padding on the container itself.
That replaces the older per-subview logic that separately adjusted the app bar, flyout content, footer, and background image.
Issues Fixed
Fixes #32275
Android-Before.mov
Android-After.mov