Skip to content

refactor!: Move Microsoft.UI.Colors to Uno.WinRT - #24773

Merged
MartinZikmund merged 4 commits into
masterfrom
dev/mazi/colors-winrt
Sep 28, 2026
Merged

MartinZikmund merged 4 commits into
masterfrom
dev/mazi/colors-winrt

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: closes unoplatform/uno-private#2090

PR Type:

🔄 Refactoring (breaking, 7.0)

What changed? 🚀

Moves Microsoft.UI.Colors and Microsoft.UI.ColorHelper to the assembly that matches WinAppSDK. This is a follow-up to #23669, which relocated the other back-compat redirects.

  • Placement. WinAppSDK ships both types in Microsoft.InteractiveExperiences.Projection (verified against WinAppSDK 2.x metadata), next to WindowId. The sync generator was force-routing them to Uno.UI. That rule is now removed, so they fall through to Uno.WinRT. The hand-written sources move from src/Uno.UI/UI/ to src/Uno.WinRT/Microsoft/UI/.
  • Dead rule removed. The same generator rule also matched a Microsoft.UI.FontWeights type that doesn't exist. FontWeights is Microsoft.UI.Text.FontWeights in Microsoft.WinUI, so its routing is unchanged.
  • UWP-only copies dropped. Uno.WinRT used to also compile these files as an internal Windows.UI.Colors and a public Windows.UI.ColorHelper. Both types exist only in the UWP XAML projection (Microsoft.Windows.UI.Xaml.dll), not in Microsoft.Windows.SDK.NET.dll, so they aren't part of the WinAppSDK contract. They're removed, and every caller (product code, runtime/unit tests, samples) now uses the Microsoft.UI types. Most of the diff is using Microsoft.UI; additions for that.
  • Windows.UI.Text.FontWeights dropped too. FontWeights.cs was also compiled into Uno.WinRT as an internal Windows.UI.Text.FontWeights, another UWP XAML-only type. It's removed, and FontWeights.cs now only builds the public Microsoft.UI.Text.FontWeights in Uno.UI, which is its correct WinUI home (Microsoft.WinUI). Uno.UI.Composition.Drawing sits below Uno.UI, so its two placeholder FontWeights.Normal uses become new FontWeight(400); the FontWeight struct itself is in Microsoft.Windows.SDK.NET and stays in Uno.WinRT. The internal type isn't public, so there's no PackageDiff entry.
  • PackageDiffIgnore. Added entries for the two relocations and the Windows.UI.ColorHelper removal.
  • Generated stubs. Moved to Uno.WinRT/Generated/3.0.0.0/Microsoft.UI/ and updated to the multi-platform #if false || … form that Uno.WinRT stubs use. The WinAppSDK Sync Generator Check job verifies there's no drift. I didn't run the full sync locally because it needs the mobile workloads.

Validation

  • Compile: Uno.WinRT (Skia, Android), Uno.UI-Skia-only.slnf (except the pre-existing net11-pinned RemoteControl.TestProcessor), SamplesApp net10.0-desktop, Uno.UI.UnitTests. All builds were strict, with no UnoFastDevBuild.
  • Runtime (Skia desktop): Given_Colors + Given_Color: 41/41 passed. After the FontWeights commit, Given_FontWeight, Given_TextBlock, Given_RichTextBlock, Given_Colors and Given_Color: 344/345 passed. The one failure, Given_TextBlock.When_Inlines_Transitively_Change, is a known pre-existing failure on dark-theme Windows machines.
  • Unit tests: 4181 passed. The 12 failures are the known Calendar Gregorian_FixedDate* tests that fail on non-UTC machines; they're unrelated to this change.

PR Checklist ✅

  • 🧪 Added Runtime tests (Given_Colors: Colors/ColorHelper ship in the same assembly as WindowId, which is also true on WinUI)
  • 📚 Docs have been added/updated
  • 🖼️ Validated PR Screenshots Compare Test Run results.
  • ❗ Contains NO breaking changes
  • 👀 Reviewed 2 other open pull requests

Breaking changes (7.0): Microsoft.UI.Colors and Microsoft.UI.ColorHelper move from Uno.UI to Uno.WinRT, which is a binary break. Source is unaffected because both assemblies are referenced by every app. Windows.UI.ColorHelper is removed; use Microsoft.UI.ColorHelper.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wh5BsBX3zc95WAXNSNHLfU

@MartinZikmund MartinZikmund self-assigned this Sep 28, 2026
@github-actions github-actions Bot added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation labels Sep 28, 2026
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 4m 43s —— View job


Review complete ✅

Todo list

  • Gather context (diff, AGENTS.md rules, sync generator rule removal)
  • Review assembly relocation (Uno.UI → Uno.WinRT) for correctness
  • Review generated stub changes (Generated/ folder conventions)
  • Review Windows.UI.ColorHelper removal and caller updates
  • Review PackageDiffIgnore.xml entries
  • Review test coverage (Given_Colors.cs)
  • Check for breaking-change / Conventional Commit compliance
  • Post inline comments for findings
  • Post summary

Verdict: ship (with a trivial nit)

Issues found: 1 minor

  • Missing trailing newline in the new Given_Colors.cs test file, violating the repo's insert_final_newline = true convention (posted inline).

What I verified:

  • The removed Microsoft.UI → Uno.UI force-routing rule in Generator.cs sat above the "INTENTIONALLY RETAINED REDIRECTS" block, not inside it — so it wasn't one of the deliberately-parked exceptions, and its removal is consistent with the stated rationale.
  • Colors.cs/ColorHelper.cs have no dependency on Uno.UI types (only System, Uno.Extensions, Windows.UI.Color), and ColorHelper.ToHsl() resolves to the internal extension in Uno.WinRT/UI/Color.cs — same assembly, so the single-copy move to Uno.WinRT is sound. The old dual-compile (#if IS_UNO_UI_PROJECT) split into public Microsoft.UI.* (Uno.UI) / internal Windows.UI.* (Uno.WinRT) is cleanly collapsed into one file per type.
  • FontWeights routing claim checked out: it's Microsoft.UI.Text.FontWeights, not Microsoft.UI.FontWeights, so the removed rule's namespace/name match never applied to it — routing for it is genuinely unaffected.
  • PackageDiffIgnore.xml: entries added in both existing sections (matching the pattern used for the prior #2065 MRT-Core/PointerPoint relocations), and only Windows.UI.ColorHelper needed an entry (it was public) — Windows.UI.Colors was internal under the old #if, correctly needs none.
  • No leftover references to the old Windows.UI.Colors/Windows.UI.ColorHelper types or the old file paths in any .csproj.
  • Spot-checked ~10 of the ~90 mechanical using Microsoft.UI; caller updates (samples, runtime tests, Uno.UI.Composition) — all correct substitutions of Windows.UI.Colors.* → Microsoft.UI.Colors.*.
  • Commit messages (refactor!: …, test: …) and PR title follow Conventional Commits; breaking change is correctly flagged and explained.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 235949 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • Buttons.png-dark
    • CalendarView_Theming.png
    • Buttons.png
    • ClipboardTests.png-dark
    • DisplayInformation.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • Focus_FocusVisual_Properties.png-dark
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Image_AnimatedWebP.png-dark
    • Image_AnimatedWebP.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • Examples.png-dark
  • skia-windows-screenshots: 2310 changed over 2500

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png-dark
    • AppBarButtonWithIconTest.png-dark
    • ApplicationViewSizing.png-dark
    • AppWindowFeatures.png-dark
    • AppWindowTitleBar Properties.png-dark
    • Arrange_Performance01.png
    • Attributed_text_Supserscript.png-dark
    • AutoBorderStretchwithrightmargin.png-dark
    • AutomationProperties_AutomationId.png
    • AutomationProperties_Name.png-dark
    • AutoSuggestBox_BitmapIcon.png
    • AutoSuggestBox_Description.png-dark
    • BasicEnability.png-dark
    • BasicEnability.png
    • BenchmarkDotNet.png-dark
    • BenchmarkDotNet.png
    • BitmapIcon_Monochromatic.png-dark
    • BitmapIcon_Monochromatic.png
    • BorderBottomwithmargins.png-dark
    • BorderBottomwithmargins.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 4m 35s —— View job


Review complete

Todo list

  • Gather context (diff since last review, AGENTS.md rules)
  • Check if prior findings (trailing newline, CodeQL #if false || false...) were addressed
  • Review new commit (d80fae05: drop internal Windows.UI.Text.FontWeights)
  • Search repo-wide for dangling references to the removed Windows.UI.Colors / Windows.UI.ColorHelper types
  • Post inline comments for findings
  • Post summary

Verdict: ship, with one carried-over nit and one new dead-code finding to consider (neither blocks merge).

Issues found: 2 minor, 0 blocking

  • Trailing newline in Given_Colors.cs is still missing (posted inline) — flagged in the prior review pass, not fixed by the follow-up commit.
  • Three unrelated, untouched files (Given_Button.cs:27, Given_TextBox.cs:31, Given_CheckBox_ThemeResource_Regression.cs:12) alias using Colors = Windows.UI.Colors; inside an #else branch of #if HAS_UNO_WINUI || WINAPPSDK || WINUI. That type is deleted by this PR. I traced the build matrix (Uno.CrossTargetting.targets + both Uno.UI.RuntimeTests.*.csproj) and confirmed this branch is currently unreachable — every configured TFM defines HAS_UNO_WINUI (Skia/WASM/mobile) or WINAPPSDK (the Windows head) — so this doesn't break the build today. But it's a dangling reference to a type this PR explicitly removes, in files the "every caller updated" description didn't reach because they're conditional. Couldn't post this as an inline PR comment since GitHub only accepts inline comments on lines within the diff and these files aren't touched by the PR; noting it here instead. Worth a quick follow-up to collapse to a single unconditional using Colors = Microsoft.UI.Colors;.

Not actionable (repeated CodeQL bot comments): the #if false || false || false || false || false || false in the new Generated/3.0.0.0/Microsoft.UI/Colors.cs and ColorHelper.cs stubs is the standard sync-generator output — the identical pattern already exists in dozens of other files under Generated/ (e.g. Windows.Globalization/DayOfWeek.cs). These files are tool-generated and per AGENTS.md/code-style.md must never be hand-edited; simplifying the #if would only get overwritten on the next sync and diverge from the generator template.

What else I verified:

  • The core relocation (Colors.cs/ColorHelper.cs → src/Uno.WinRT/Microsoft/UI/) collapses the old #if IS_UNO_UI_PROJECT public/internal split cleanly into one public type per file; ColorHelper.ToHsl() still resolves within the same assembly.
  • Generator.cs's removed force-routing rule sat above the "INTENTIONALLY RETAINED REDIRECTS" block, confirming its removal wasn't meant to be parked.
  • PackageDiffIgnore.xml entries are complete and consistent with the #2065 precedent; Windows.UI.Colors (previously internal) correctly needs no entry, only the previously-public Windows.UI.ColorHelper does.
  • The new commit d80fae05 (dropping the internal Windows.UI.Text.FontWeights copy) mirrors the same cleanup and doesn't need a PackageDiffIgnore entry, since that copy was already internal.
  • Spot-checked ~15 of the ~90 mechanical using Microsoft.UI; / Windows.UI.Colors.* → Microsoft.UI.Colors.* caller updates (samples, runtime tests, Uno.UI.Composition) — all correct, and files that still need Windows.UI for the Color struct correctly retain that using.
  • Commit messages and PR title follow Conventional Commits; the binary-breaking change is correctly flagged and explained.
    (branch: dev/mazi/colors-winrt)

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 235967 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Focus_FocusVisual_Properties.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • ImageIconPage.png-dark
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
  • skia-windows-screenshots: 2310 changed over 2500

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png-dark
    • AnimatedIconPage.png
    • AppBarButtonTest.png
    • AppBarButtonTest.png-dark
    • AppBarToggleButtonTest.png
    • AppBarToggleButtonTest.png-dark
    • AppBar_KeyBoard.png-dark
    • ApplicationViewSpanningRectsPage.png
    • AppBar_KeyBoard.png
    • Attributed_text_FontSize_Changing.png-dark
    • ApplicationViewMode.png
    • AutoBorderStretchwithbottommargin.png
    • ApplicationViewSizing.png-dark
    • AutomationPropertiesExtensions_Role.png
    • AppWindowPositionAndSize.png-dark
    • AutoSizedTopLeft.png
    • AppWindowPresenters.png
    • AutoSuggestBox_Description.png
    • AppWindowTitleBar Properties.png-dark
    • AutoSuggestBox_Icons.png-dark
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 54s —— View job


Review complete

Todo list

  • Gather context (diff since last review, AGENTS.md rules)
  • Check if prior findings (trailing newline, dangling Windows.UI.Colors aliases) were addressed by the latest commit
  • Review the new commit in full
  • Post inline comments for any new findings
  • Post summary

Verdict: ship ✅ (already approved by @Xiaoy312)

Issues found: 0 — both previously flagged nits are resolved by commit 64c69c92 ("test: Collapse dead Windows.UI.Colors aliases"):

  • Given_Colors.cs now ends with a trailing newline.
  • The dangling #if HAS_UNO_WINUI || WINAPPSDK || WINUI / #else using Colors = Windows.UI.Colors; branches in Given_Button.cs, Given_CheckBox_ThemeResource_Regression.cs, and Given_TextBox.cs are collapsed to a single unconditional using Colors = Microsoft.UI.Colors;, removing the last references to the type this PR deletes.

I re-searched the full source tree for any remaining Windows.UI.Colors / Windows.UI.ColorHelper references and found none outside the tool-generated Generated/ stubs (which correctly keep the old sync-generator template shape and must not be hand-edited).

No new issues introduced by this commit. Nothing further to flag.
(branch: dev/mazi/colors-winrt)

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 236041 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ClipboardTests.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Buttons.png-dark
    • Buttons.png
    • DisplayInformation.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Examples.png-dark
    • Examples.png
    • ElementLevelTheme.png-dark
    • ExpanderColorValidationPage.png-dark
    • ElementLevelTheme.png
    • ExpanderColorValidationPage.png
    • Focus_FocusVisual_Properties.png-dark
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 2310 changed over 2500

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AppBarToggleButtonTest.png
    • ApplicationViewSpanningRectsPage.png
    • AppWindowTitleBar Properties.png-dark
    • ArcSegment.png
    • Attributed_text_Simple.png
    • AutoBorderStretchwithrightmargin.png-dark
    • AutomationProperties_Name.png-dark
    • AutoSuggestBox_BitmapIcon.png
    • AutoSuggestBox_Description.png-dark
    • BasicAcrylicBrushTest2.png-dark
    • BasicAcrylicBrushTest2.png
    • Border_BorderThickness.png-dark
    • Border_BorderThickness.png
    • Border_CornerRadius_Binding.png-dark
    • Border_CornerRadius_Binding.png
    • Border_CornerRadius_Gradient.png-dark
    • Border_CornerRadius_Gradient.png
    • Border_LinearGradientBrush.png-dark
    • Border_LinearGradientBrush.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@MartinZikmund

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

MartinZikmund and others added 4 commits September 29, 2026 00:36
Colors and ColorHelper ship in Microsoft.InteractiveExperiences.Projection
on WinAppSDK, alongside WindowId, so they now live in Uno.WinRT instead of
Uno.UI. The sync generator no longer force-routes them to Uno.UI (the
FontWeights part of that rule was dead: FontWeights is Microsoft.UI.Text).

Uno.WinRT used to also compile these files as an internal Windows.UI.Colors
and a public Windows.UI.ColorHelper. Both are UWP XAML-only types that are
not part of the WinAppSDK contract, so they are removed and callers now use
Microsoft.UI.Colors / ColorHelper.

BREAKING CHANGE: Microsoft.UI.Colors and Microsoft.UI.ColorHelper moved
from Uno.UI to Uno.WinRT, and Windows.UI.ColorHelper was removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wh5BsBX3zc95WAXNSNHLfU
Uno.WinRT compiled FontWeights.cs a second time as an internal
Windows.UI.Text.FontWeights. That type is UWP XAML-only (it is not in
Microsoft.Windows.SDK.NET), so it is removed; FontWeights.cs now only
builds the public Microsoft.UI.Text.FontWeights in Uno.UI.

Uno.UI.Composition.Drawing sits below Uno.UI, so its two placeholder
FontWeights.Normal uses become new FontWeight(400).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wh5BsBX3zc95WAXNSNHLfU
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 1m 5s —— View job


Review complete

Todo list

  • Gather context (diff since last review, AGENTS.md rules)
  • Confirm HEAD (de3e4ec8) matches the state already reviewed in the last full pass
  • Verify prior findings are still resolved
  • Scan for any new findings
  • Post summary

Verdict: ship ✅ (already approved by @Xiaoy312)

Issues found: 0

This trigger corresponds to a pull request synchronize event, but HEAD (de3e4ec8, "test: Collapse dead Windows.UI.Colors aliases") is content-identical to the commit (64c69c92, same message) already fully reviewed in the previous pass — the intervening activity was /azp run (CI re-run only), no new commits. I re-verified directly rather than assuming:

  • Given_Colors.cs ends with a trailing newline (previously flagged, fixed).
  • Given_Button.cs, Given_TextBox.cs, Given_CheckBox_ThemeResource_Regression.cs now use an unconditional using Colors = Microsoft.UI.Colors; — the dead #if HAS_UNO_WINUI || WINAPPSDK || WINUI / #else using Colors = Windows.UI.Colors; branches (dangling references to the type this PR removes) are gone.

No new commits, no new findings. Nothing further to flag against AGENTS.md (assembly placement, Generated/ folder conventions, PackageDiffIgnore.xml, event/DP conventions, Conventional Commits) beyond what earlier passes already covered.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 236104 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ContextRequested.png-dark
    • ContextRequested.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • Focus_FocusVisual_Properties.png-dark
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 2310 changed over 2502

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png-dark
    • Accessibility_ScreenReader.png
    • AppBarButtonWithIconTest.png-dark
    • AppBarButtonTest.png
    • ApplicationViewMode.png-dark
    • ApplicationViewMode.png
    • AppWindowClosing.png-dark
    • AppWindowFeatures.png
    • AppWindowPresenters.png-dark
    • AppWindowTitleBar Properties.png
    • AppXamlDefinedResources.png
    • Attributed_text_FontSize_Changing.png
    • Attributed_text_Simple.png-dark
    • AutoBorderStretchwithrightmargin.png-dark
    • AutoBorderStretchwithbottommargin.png-dark
    • AutomationProperties_AutomationId.png
    • AutoBorderStretchwithtopmargin.png-dark
    • AutoSuggestBoxChosenSuggestion.png-dark
    • AutoBorderStretchwithtopmargin.png
    • AutoSuggestBoxChosenSuggestion.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Uno_Web.Http.CookieManagerTests
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@MartinZikmund
MartinZikmund merged commit a139ced into master Sep 28, 2026
62 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/colors-winrt branch September 28, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants