Skip to content

[WinUI Sync] NavigationView β†’ WinUI 2.6.5Β #26455

Closed

Description

@github-actions

What would you like to be added? πŸ’‘

Sync the Uno port of NavigationView with WinUI 2.6.5.

Upstream range: bac7a9c33f β†’ c29edd64ae (winui3/release/2.6.5) Β· compare
Port build: passed Β· Skipped items: 0

Sync to WinUI 2.6.5 (bac7a9c33f β†’ c29edd64ae)

Upstream changes

  • NavigationView.cpp: servicing fix 62995866 in UpdatePaneLayout (use menuItemsActualHeight in the half-height check; the "couldn't determine menuItems" branch only runs if totalAvailableHeight >= footerItemsRepeater.ActualHeight, avoids negative MaxHeight).
  • NavigationView.cpp: local c_infSize static replacing LayoutUtils::c_infSize; for (const auto& -> for (auto in OnRepeaterGettingFocus; Containment.h include; BOM added.
  • NavigationViewHelper.h: inline constexpr -> static constexpr for the visual-state name constants.
  • NavigationViewItem.cpp: servicing fix 63007686 β€” the queued deferred flyout show re-validates IsExpanded / ShouldRepeaterShowInFlyout / root grid / attached flyout before showing (plus telemetry when skipped).
  • NavigationView_ApiTests/NavigationViewTests.cs: VerifyVisualTree split into _OptimizedStyles and _OldStyles variants with file-name suffixes.
  • NavigationView_InteractionTests (CommonTests, EventTests, FocusBehaviorTests, NavigationViewTestsBase, PaneBehaviorTests, TopModeTests): test-infrastructure refactors.

Ported

  • NavigationView.cpp (UpdatePaneLayout fix 62995866) -> NavigationView.cs (the change is ported as enabled, since Uno has no Containment switch)
  • NavigationViewItem.cpp (deferred flyout re-validation, 63007686) -> NavigationViewItem.cs (Skia path that queues the callback; the non-Skia synchronous path is unchanged)
  • MUX Reference headers updated to tag winui3/release/2.6.5 in NavigationView.cs, NavigationViewItem.cs, NavigationViewHelper.cs

Not applicable

  • LayoutUtils::c_infSize -> local c_infSize and const auto& -> auto in the loop (NavigationView.cpp): C++ build/lifetime refactors; Uno's LayoutUtils.c_infSize has the same value.
  • Containment.h include, WINAPPSDK_CHANGEID defines and the telemetry TraceLogging block: Windows-only servicing/telemetry plumbing.
  • NavigationViewHelper.h inline -> static constexpr: C++ linkage only; C# constants unchanged.
  • NavigationView_ApiTests VerifyVisualTree split: Uno's port has this test commented out (no VisualTreeVerifier infrastructure).
  • NavigationView_InteractionTests/*: UI automation (TAEF) tests with no Uno counterpart; the existing Uno tests don't port them.

Skipped

None

Why is this needed? πŸ€”

Keeps NavigationView aligned with the latest stable WinUI release.

For which platforms πŸ“±πŸ’»πŸ–₯️

All

Anything else we need to know? πŸ’¬

Generated by the WinUI port sync workflow. This issue stays open while anything is listed as skipped or the port build is failing.

Activity

  1. added
    kind/enhancement
    winui-sync
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementwinui-sync

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions