Repository navigation
Closed
Labels
Description
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
menuItemsActualHeightin the half-height check; the "couldn't determine menuItems" branch only runs iftotalAvailableHeight >= footerItemsRepeater.ActualHeight, avoids negative MaxHeight). - NavigationView.cpp: local
c_infSizestatic replacingLayoutUtils::c_infSize;for (const auto&->for (autoin OnRepeaterGettingFocus; Containment.h include; BOM added. - NavigationViewHelper.h:
inline constexpr->static constexprfor 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
_OptimizedStylesand_OldStylesvariants 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.5in NavigationView.cs, NavigationViewItem.cs, NavigationViewHelper.cs
Not applicable
LayoutUtils::c_infSize-> localc_infSizeandconst auto&->autoin the loop (NavigationView.cpp): C++ build/lifetime refactors; Uno'sLayoutUtils.c_infSizehas the same value.- Containment.h include, WINAPPSDK_CHANGEID defines and the telemetry TraceLogging block: Windows-only servicing/telemetry plumbing.
- NavigationViewHelper.h
inline->staticconstexpr: 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