Repository navigation
chore(winui-sync): Track Generic.xaml - #26478
Merged
Merged
Conversation
Uno.UI's Generic.xaml is WinUI's dxaml/xcp/dxaml/themes/generic.xaml verbatim, and its Uno deltas live in UnoGenericOverlay.xaml; both are mapped, so a sync that changes a style Uno overrides is told about the overlay copy too. Recorded at WinUI 2.6.5 (c29edd64ae): the file is byte-identical to upstream 2.6.5 apart from its header, and upstream did not change it between 2.5.1 (the header's tag) and 2.6.5. Detection reports the area up to date. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
The area is tracked, so the MUX Reference header names only the upstream file; the area's baseline records the version. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Contributor
|
Claude finished @MartinZikmund's task in 13s —— View job Review of PR #26478Verdict: ship. No issues found (0 blocker, 0 major, 0 minor), so I posted no inline comments.
|
Contributor
|
This pull request is merged. |
Contributor
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
This was referenced Nov 14, 2026
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.
GitHub Issue: closes #26477
PR Type:
What changed? 🚀
Follow-up to #26467: onboards Uno.UI's
Generic.xamlto theWinUI Port Sync, recorded at WinUI 2.6.5.dxaml/xcp/dxaml/themes/generic.xaml(file-level)src/Uno.UI/UI/Xaml/Style/Generic/Generic.xamlsrc/Uno.UI/UI/Xaml/Style/Generic/UnoGenericOverlay.xamlThe overlay is mapped deliberately: it holds Uno's copies of the GridView and FlipView styles, so a sync that changes those upstream styles is told to update the copies too. Upstream's
generic_perf2026.xamlis Windows build plumbing and is not mapped. No tests or strings belong to this area.Starting point and catch-up
winui3/release/2.5.1(from feat: ReplaceGeneric.xamlresources with WinUI styles #21513, which made the file WinUI's verbatim).dxaml/xcp/dxaml/themesdid not change between 2.5.1 and 2.6.5, so there was nothing to port.Line-by-line review against 2.6.5
Generic.xamlis byte-identical to upstream 2.6.5 (ignoring line endings), apart from its header line.GridViewItemsWrapGrid Orientation="Horizontal"→WrapPanel(Horizontal is its default); theBorderattributes are reflowed, same valuesFlipViewVirtualizingStackPanel→StackPanel, nothing elseWorkaround audit (
UnoGenericOverlay.xaml)ItemsControlstyleItemsPresenterItemsControl.OnApplyTemplatestill relies on a templatedItemsPresenter; WinUI'sCItemsControl::ApplyTemplatebehaviour is not portedWebView/WebView2stylesWebViewTemplateRootpresenterCoreWebView2attaches the native view to that presenterGridViewstyleWrapPanelinstead ofItemsWrapGridItemsWrapGridis still[Uno.NotImplemented("__SKIA__")]FlipViewstyleStackPanelinstead ofVirtualizingStackPanelVirtualizingStackPanelis still[Uno.NotImplemented("__SKIA__")]; its port holds only a layout helperAll four overlay comments state the current reason; none needed rewording.
Headers
The
MUX Referenceheader now names only the upstream file. The area's baseline records the version, the convention proposed in #26474 for tracked areas. The overlay is Uno-only and has no MUX header.Validation
src/Uno.UI/Uno.UI.csproj(net10.0, analyzers on), 0 errors. This covers the XAML merge and generator over the edited file.detect.ps1 -AreaFilter genericxamlreports up to date at the 2.6.5 baseline; 110 Pester tests pass on this branch.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNu2Uow7dC9EJ2fL3Hkw