Repository navigation
[inflight/candidate] Backport iOS Shell More re-evaluation fix (#39264) - #39320
Merged
Merged
Conversation
kubaflo
temporarily deployed
to
copilot-pat-pool
October 12, 2026 10:20 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 12, 2026 10:21 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
kubaflo
temporarily deployed
to
copilot-pat-pool
October 12, 2026 10:21 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 12, 2026 10:23 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 12, 2026 10:25 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 12, 2026 10:25 — with
GitHub Actions
Inactive
kubaflo
added a commit
that referenced
this pull request
Oct 13, 2026
… (#39320) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> This intentionally targets **inflight/candidate**, rather than the template's generic main target, as an explicitly requested Candidate servicing backport. Backports only the nine added lines in `src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs` from #39264, source commit `e0eb61af616187a56f2b0df0f7ea65826420747e` (parent `f3c581a6879e6b284a0ed97607e2b2d4b8328429`). The unrelated issue-triage scripts, workflows, documentation, and `eng/Versions.props` changes in that commit are deliberately excluded. Calls `base.TraitCollectionDidChange(previousTraitCollection)` before the existing vertical-size-class early return so UIKit recomputes tabs/More on fold/unfold, then clears `CustomizableViewControllers` when nonempty to prevent an Edit button. Source comments and behavior are preserved exactly; the Shell-file stable patch ID is `8d5cea33df9281ce8f773a1d8ad4a47305de244e` for both source and backport. **Validation (build-only, no GUI or runtime execution):** - `dotnet format whitespace src/Controls/src/Core/Controls.Core.csproj --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs --verbosity quiet` — passed. - `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -v:q` — failed initially with `NETSDK1004` because this fresh worktree had no restored assets; the default CLI selected SDK `11.0.100-preview.6.26359.118`. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed after restore, 0 warnings / 0 errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings / 0 errors. - `git diff --check` — passed. - `git diff -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` and `git diff e0eb61a^ e0eb61a -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` — identical patch IDs before commit. Local builds used installed SDK 10.0.100, **not** the repository's pinned servicing SDK `10.0.113-servicing.26454.107`; no tracked SDK/dependency versions were changed. Runtime fold-state tests were **not run**. No new automated test is added: the existing infrastructure cannot change fold state, as documented by the source PR. No XCTest, Appium, simulator boot/launch, or MacCatalyst app execution was used. ### 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 #39263 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Oct 14, 2026
… (#39320) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> This intentionally targets **inflight/candidate**, rather than the template's generic main target, as an explicitly requested Candidate servicing backport. Backports only the nine added lines in `src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs` from #39264, source commit `e0eb61af616187a56f2b0df0f7ea65826420747e` (parent `f3c581a6879e6b284a0ed97607e2b2d4b8328429`). The unrelated issue-triage scripts, workflows, documentation, and `eng/Versions.props` changes in that commit are deliberately excluded. Calls `base.TraitCollectionDidChange(previousTraitCollection)` before the existing vertical-size-class early return so UIKit recomputes tabs/More on fold/unfold, then clears `CustomizableViewControllers` when nonempty to prevent an Edit button. Source comments and behavior are preserved exactly; the Shell-file stable patch ID is `8d5cea33df9281ce8f773a1d8ad4a47305de244e` for both source and backport. **Validation (build-only, no GUI or runtime execution):** - `dotnet format whitespace src/Controls/src/Core/Controls.Core.csproj --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs --verbosity quiet` — passed. - `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -v:q` — failed initially with `NETSDK1004` because this fresh worktree had no restored assets; the default CLI selected SDK `11.0.100-preview.6.26359.118`. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed after restore, 0 warnings / 0 errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings / 0 errors. - `git diff --check` — passed. - `git diff -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` and `git diff e0eb61a^ e0eb61a -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` — identical patch IDs before commit. Local builds used installed SDK 10.0.100, **not** the repository's pinned servicing SDK `10.0.113-servicing.26454.107`; no tracked SDK/dependency versions were changed. Runtime fold-state tests were **not run**. No new automated test is added: the existing infrastructure cannot change fold state, as documented by the source PR. No XCTest, Appium, simulator boot/launch, or MacCatalyst app execution was used. ### 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 #39263 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Oct 18, 2026
… (#39320) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! <!-- !!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING MAIN. !!!!!!! --> ### Description of Change <!-- Enter description of the fix in this section --> This intentionally targets **inflight/candidate**, rather than the template's generic main target, as an explicitly requested Candidate servicing backport. Backports only the nine added lines in `src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs` from #39264, source commit `e0eb61af616187a56f2b0df0f7ea65826420747e` (parent `f3c581a6879e6b284a0ed97607e2b2d4b8328429`). The unrelated issue-triage scripts, workflows, documentation, and `eng/Versions.props` changes in that commit are deliberately excluded. Calls `base.TraitCollectionDidChange(previousTraitCollection)` before the existing vertical-size-class early return so UIKit recomputes tabs/More on fold/unfold, then clears `CustomizableViewControllers` when nonempty to prevent an Edit button. Source comments and behavior are preserved exactly; the Shell-file stable patch ID is `8d5cea33df9281ce8f773a1d8ad4a47305de244e` for both source and backport. **Validation (build-only, no GUI or runtime execution):** - `dotnet format whitespace src/Controls/src/Core/Controls.Core.csproj --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs --verbosity quiet` — passed. - `dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -v:q` — failed initially with `NETSDK1004` because this fresh worktree had no restored assets; the default CLI selected SDK `11.0.100-preview.6.26359.118`. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed after restore, 0 warnings / 0 errors. - `dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q` — passed, 0 warnings / 0 errors. - `git diff --check` — passed. - `git diff -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` and `git diff e0eb61a^ e0eb61a -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable` — identical patch IDs before commit. Local builds used installed SDK 10.0.100, **not** the repository's pinned servicing SDK `10.0.113-servicing.26454.107`; no tracked SDK/dependency versions were changed. Runtime fold-state tests were **not run**. No new automated test is added: the existing infrastructure cannot change fold state, as documented by the source PR. No XCTest, Appium, simulator boot/launch, or MacCatalyst app execution was used. ### 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 #39263 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jakub Florkowski <42434498+kubaflo@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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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!
Description of Change
This intentionally targets inflight/candidate, rather than the template's generic main target, as an explicitly requested Candidate servicing backport.
Backports only the nine added lines in
src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.csfrom #39264, source commite0eb61af616187a56f2b0df0f7ea65826420747e(parentf3c581a6879e6b284a0ed97607e2b2d4b8328429). The unrelated issue-triage scripts, workflows, documentation, andeng/Versions.propschanges in that commit are deliberately excluded.Calls
base.TraitCollectionDidChange(previousTraitCollection)before the existing vertical-size-class early return so UIKit recomputes tabs/More on fold/unfold, then clearsCustomizableViewControllerswhen nonempty to prevent an Edit button. Source comments and behavior are preserved exactly; the Shell-file stable patch ID is8d5cea33df9281ce8f773a1d8ad4a47305de244efor both source and backport.Validation (build-only, no GUI or runtime execution):
dotnet format whitespace src/Controls/src/Core/Controls.Core.csproj --no-restore --include src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs --verbosity quiet— passed.dotnet build Microsoft.Maui.BuildTasks.slnf --no-restore -v:q— failed initially withNETSDK1004because this fresh worktree had no restored assets; the default CLI selected SDK11.0.100-preview.6.26359.118.dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build Microsoft.Maui.BuildTasks.slnf -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q— passed after restore, 0 warnings / 0 errors.dotnet /usr/local/share/dotnet/sdk/10.0.100/dotnet.dll build src/Controls/src/Core/Controls.Core.csproj -f net10.0-ios26.0 -p:IncludeAndroidTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q— passed, 0 warnings / 0 errors.git diff --check— passed.git diff -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stableandgit diff e0eb61af616187a56f2b0df0f7ea65826420747e^ e0eb61af616187a56f2b0df0f7ea65826420747e -- src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellItemRenderer.cs | git patch-id --stable— identical patch IDs before commit.Local builds used installed SDK 10.0.100, not the repository's pinned servicing SDK
10.0.113-servicing.26454.107; no tracked SDK/dependency versions were changed. Runtime fold-state tests were not run. No new automated test is added: the existing infrastructure cannot change fold state, as documented by the source PR. No XCTest, Appium, simulator boot/launch, or MacCatalyst app execution was used.Issues Fixed
Fixes #39263