Skip to content

refactor(namescope): Introduce the WinUI namescope owner model - #24473

Open
MartinZikmund wants to merge 15 commits into
masterfrom
dev/mazi/namescope-owners
Open

MartinZikmund wants to merge 15 commits into
masterfrom
dev/mazi/namescope-owners

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

GitHub Issue: part of #21129

PR Type:

🔄 Refactoring (no functional changes, no api changes)

What changed? 🚀

First step of the namescope / x:Name WinUI alignment (spec 058). It builds the data model WinUI resolves names with, without changing how any name resolves yet.

WinUI keys every name table on a namescope owner — the DependencyObject whose scope a name belongs to — and resolves a name by walking to the nearest owner (CDependencyObject::GetStandardNameScopeOwnerInternal, depends.cpp:522-553). Uno keyed names on a NameScope object reached through an inherited attached property, which is why the same class of "name doesn't resolve" bug has been point-fixed repeatedly.

  • DependencyObject.NameScoping.mux.cs carries the namescope bitfields (IsStandardNameScopeOwner, IsStandardNameScopeMember, ShouldRegisterInParentNamescope, IsTemplateNamescopeMember, ParserOwnsParent) and the owner walk.
  • CoreServices gains the owner-keyed tables (NameScopeRoot, StandardNameScopeTable, NameScopeTableEntry), with an identity guard so two elements sharing a name can't have the loser's removal evict the winner.
  • NameScope becomes WinUI's NameScopeHelper: its Owner mints the owner's table and registrations forward there. Template bodies are built bottom-up, so names registered before the owner is known wait in a pending buffer and flush on Owner.
  • The XAML generator seeds the owner right after SetNameScope, and marks an x:Class root as possibly carrying a definition name once its own properties are applied.
  • FrameworkElement.IsParsing / ResourceDictionary.IsParsing drive the parser-owns-parent lock; the public root visual becomes a permanent namescope owner.

Prerequisite plumbing in the same PR: the UIElement managed-peer Enter/Leave hooks are renamed so the ported walk can use the WinUI names, EnterParams carries the walk depth, and DependencyObject.EnterImpl/LeaveImpl become the virtual pair UIElement overrides — so the walk can carry a namescope owner at all. The owner is null on every path in this PR; seeding it is the next step.

Name registration still happens exactly where it did before (generated code at parse time). Entries are weak for now — they become strong once Leave unregisters them, in the follow-up.

Validation

  • Uno.UI.SourceGenerators.Tests: 479/479, identical to the master baseline. 89 golden files regenerated (2 lines each), and five hard-coded diagnostic spans shift by one line because of the emitted __nameScope.Owner line.
  • Uno.UI.UnitTests: 4180/4192, with only the 12 pre-existing timezone-dependent When_Calendar failures — the same 12 that fail on master.
  • Skia Desktop runtime tests: the namescope suites plus a ~1400-test lifecycle slice, with no new failures (remaining ones reproduce identically on the parent commit: 150% display-scale sub-pixel assertions, clipboard tests, CommandBarFlyout_Leak).

PR Checklist ✅

🤖 Generated with Claude Code

https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS

Copilot AI lite review requested due to automatic review settings September 9, 2026 15:54
@github-actions github-actions Bot added area/code-generation Categorizes an issue or PR as relevant to code generation area/automation Categorizes an issue or PR as relevant to project automation labels Sep 9, 2026
@github-actions

github-actions Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 7m 38s —— View job


Review complete

  • Gather context (read PR diff, AGENTS.md rules)
  • Review core namescope model changes (DependencyObject.NameScoping.mux.cs, CoreServices, NameScope)
  • Review Enter/Leave plumbing changes (UIElement, EnterParams, EnterImpl/LeaveImpl)
  • Review XAML generator changes (owner seeding, x:Class root handling)
  • Review IsParsing lock changes (FrameworkElement, ResourceDictionary)
  • Review test coverage (golden files, unit tests)
  • Post inline findings
  • Post summary

Verdict: ship. This is a clean, well-scoped first step of the namescope migration — the owner model and tables are added without changing resolution behavior, exactly as described.

Findings: 1 low-severity, non-blocking (posted inline on XamlFileGenerator.cs) — a Window's Content root doesn't get MarkOwnerAsPossiblyHavingDefinitionName() the way a Page/UserControl root does. It's inert today since the flag isn't consumed by any resolution path yet, but worth tracking before the follow-up PR wires it up.

Cross-cutting notes (not blocking):

  • NameScopeRoot.ClearNamedObjectIfExists (the identity guard that stops a losing duplicate-name entry from evicting the winner) and DependencyObject.SkipNameRegistrationForChildren/ShouldParticipateInParentNameScope are fully implemented and unit-tested but have no production caller yet — confirmed intentional, staged plumbing for the "Leave unregisters" follow-up the PR description calls out, not dead code left by mistake.
  • The Enter/Leave → EnterTree/LeaveTree/EnterManagedPeerImpl/LeaveManagedPeerImpl/PropagateKeyboardAcceleratorEnter/RegisterLiveAccelerators renames are mechanical and consistently applied across every override (Button, MenuBarItem, ContentPresenter, Control, FlipView, ElementStub, MenuFlyout*, KeyboardAccelerator*) — spot-checked call sites and didn't find a signature/behavior mismatch.
  • Verified the parser-parent-lock (SetParserParentLock/ResetParserParentLock) is set/reset symmetrically for both FrameworkElement.IsParsing and ResourceDictionary.IsParsing, including via finally in FrameworkElement.CreationComplete().
  • Sampled several regenerated golden files (__nameScope.Owner = this;, MarkOwnerAsPossiblyHavingDefinitionName(), and the shifted diagnostic spans) — all consistent with the generator diff and the PR's stated validation (479/479 SG tests).
  • No event Action/Action<T>, no blocking async calls, no DependencyProperty changes, no SamplesApp/XAML changes in this PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The change rewires core XAML Enter/Leave and namescope infrastructure across many call sites and generated baselines, making it high-impact despite being described as “plumbing-only.”

Pull request overview

Introduces the foundational “namescope owner” data model to align Uno’s x:Name / namescope behavior with WinUI, without changing name resolution semantics yet (part of #21129). This refactor threads a (currently null) namescope-owner value through the Enter/Leave walk, adds owner-keyed namescope tables in CoreServices, and seeds owner information from the XAML generator, with accompanying unit/runtime test coverage.

Changes:

  • Add owner-keyed namescope tables (NameScopeRoot, StandardNameScopeTable, NameScopeTableEntry) and wire them into CoreServices.
  • Refactor the Enter/Leave walk plumbing to carry walk depth and (future) namescope-owner context; rename keyboard-accelerator propagation hooks for clarity.
  • Update the XAML generator + generator baselines to seed __nameScope.Owner and mark potential definition-name ownership for x:Class roots; add new unit/runtime tests around the new model.
File summaries
File Description
src/Uno.UI/UI/Xaml/UIElement.Properties.cs Update keyboard-accelerator collection enter/leave wiring to renamed APIs.
src/Uno.UI/UI/Xaml/UIElement.mux.cs Refactor UIElement Enter/Leave walk entrypoints, thread namescope owner + depth, and rename managed-peer hooks.
src/Uno.UI/UI/Xaml/UIElement.cs Update flyout keyboard-accelerator propagation and runtime child-enter path to new plumbing.
src/Uno.UI/UI/Xaml/UIElement.crossruntime.cs Adjust child enter/leave and depth propagation in cross-runtime UIElement walk.
src/Uno.UI/UI/Xaml/ResourceDictionary.cs Set/reset parser-parent lock during parsing lifecycle and update leave call signature.
src/Uno.UI/UI/Xaml/Internal/VisualTree.cs Make public root visual a permanent namescope owner; update root Enter invocation + depth initialization.
src/Uno.UI/UI/Xaml/Internal/NameScoping/StandardNameScopeTable.cs Introduce the owner-scoped name-to-element table implementation.
src/Uno.UI/UI/Xaml/Internal/NameScoping/NameScopeType.cs Add enum to distinguish standard vs template namescope tables.
src/Uno.UI/UI/Xaml/Internal/NameScoping/NameScopeTableEntry.cs Add entry representation for strong/weak/deferred (x:Load) name registrations.
src/Uno.UI/UI/Xaml/Internal/NameScoping/NameScopeRoot.cs Add owner-keyed root that manages namescope tables and guarded clearing.
src/Uno.UI/UI/Xaml/Internal/CoreServices.NameScope.mux.cs Add CoreServices APIs to register/resolve named objects via owner-keyed tables.
src/Uno.UI/UI/Xaml/Internal/CoreServices.cs Add CoreServices.NameScopeRoot storage for per-core namescope tables.
src/Uno.UI/UI/Xaml/Input/KeyboardAccelerator/KeyboardAcceleratorCollection.h.mux.cs Rename enter/leave helpers to explicit “(un)register live accelerators” APIs.
src/Uno.UI/UI/Xaml/Input/KeyboardAccelerator/KeyboardAccelerator.mux.cs Rename accelerator enter implementation to avoid collision with UIElement enter plumbing.
src/Uno.UI/UI/Xaml/FrameworkElement.Layout.cs Update FrameworkElement enter/leave overrides to new EnterImpl/LeaveImpl signatures.
src/Uno.UI/UI/Xaml/FrameworkElement.cs Set/reset parser-parent lock in FrameworkElement parsing lifecycle.
src/Uno.UI/UI/Xaml/EnterParams.cs Add Depth to EnterParams for Uno bookkeeping and thread it through constructors.
src/Uno.UI/UI/Xaml/ElementStub.cs Update ElementStub enter/leave overrides to new signatures (avoid materializing on enter).
src/Uno.UI/UI/Xaml/DependencyObject.PropertySystem.mux.cs Thread depth sentinel through property-enter path.
src/Uno.UI/UI/Xaml/DependencyObject.NameScoping.mux.cs Add namescope-owner model flags + owner walk (WinUI-aligned).
src/Uno.UI/UI/Xaml/DependencyObject.mux.cs Make DO EnterImpl / LeaveImpl virtual to support overrides in the new walk.
src/Uno.UI/UI/Xaml/Controls/Primitives/ButtonBase/ButtonBase.mux.cs Rename managed-peer enter/leave overrides to new managed-peer hook names.
src/Uno.UI/UI/Xaml/Controls/MenuFlyout/SplitMenuFlyoutItem/SplitMenuFlyoutItem.mux.cs Update enter/leave overrides to new signatures and propagate KA logic.
src/Uno.UI/UI/Xaml/Controls/MenuFlyout/MenuFlyoutSubItem/MenuFlyoutSubItem.mux.cs Update enter/leave overrides to new signatures and propagate KA logic.
src/Uno.UI/UI/Xaml/Controls/MenuFlyout/MenuFlyoutItem/MenuFlyoutItem.mux.cs Rename managed-peer enter/leave overrides to new managed-peer hook names.
src/Uno.UI/UI/Xaml/Controls/MenuFlyout/MenuFlyout.mux.cs Rename flyout KA propagation hooks and update dead-enter/dead-leave usage.
src/Uno.UI/UI/Xaml/Controls/MenuBar/MenuBarItem.cs Update KA dead-enter propagation to EnterTree and new EnterImpl signature.
src/Uno.UI/UI/Xaml/Controls/Flyout/FlyoutBase.cs Rename flyout KA propagation hooks to avoid clashing with DO enter/leave semantics.
src/Uno.UI/UI/Xaml/Controls/Flyout/Flyout.mux.cs Update flyout KA propagation to EnterTree/LeaveTree and renamed hooks.
src/Uno.UI/UI/Xaml/Controls/FlipView/FlipView.managed.cs Update enter/leave overrides to new signatures.
src/Uno.UI/UI/Xaml/Controls/Control/Control.crossruntime.cs Update control enter override to new signature and base call shape.
src/Uno.UI/UI/Xaml/Controls/ContentPresenter/ContentPresenter.cs Update enter/leave overrides to new signatures.
src/Uno.UI/UI/Xaml/Controls/CalendarView/CalendarViewBaseItem.cs Rename managed-peer enter override to new managed-peer hook name.
src/Uno.UI/UI/Xaml/Controls/Button/Button.mux.cs Update enter/leave overrides and flyout KA propagation to renamed hooks.
src/Uno.UI.UnitTests/Windows_UI_Xaml/Given_NameScopeRoot.cs Add unit tests for the new owner-keyed table root and identity-guard removal.
src/Uno.UI.UnitTests/Windows_UI_Xaml/Given_NameScopeOwner.cs Add unit tests for owner minting, owner-walk behavior, parsing locks, and x:Class root behavior.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_EnterLeaveWalk.cs Add runtime canary tests for enter/leave visit counts and depth propagation.
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.cs Seed __nameScope.Owner and definition-name marking in generated InitializeComponent bodies.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Given_Parser.cs Update expected diagnostic spans due to additional emitted lines.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Given_MvvmGeneratedMembers.cs Update expected diagnostic spans due to additional emitted lines.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Given_ImplicitXamlNamespaces.cs Update expected diagnostic spans due to additional emitted lines.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Given_Grid.cs Update expected diagnostic spans due to additional emitted lines.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Xuid/WhXuBa/XamlCodeGenerator_ContentDialog1_7987c32aca55089a14f8c6c711f92359.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_TemplateSettings/WhTeHaNoDeObCo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_ResourceDictionary/WhNeWiSiReAnEv/XamlCodeGenerator_RD_WNWSRAE_656341a3c9e6d4b4357d06ec15ae6fce.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_ResourceDictionary/TeReDiAsAtPrShSeThPr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_RelativeUri/WhReUrIsRe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_RelativeUri/WhReUrInSe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhVePr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhSkXmNa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhNeSe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhNaIsOnNeEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhMuWiIn/XamlCodeGenerator_ThirdPage_475d8edc4495de5bdb45b5c730a5c2f2.cs Update generator baseline to include __nameScope.Owner.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhMuWiIn/XamlCodeGenerator_SecondPage_6b0363415e35aa5099bd5c22ab91d5f0.cs Update generator baseline to include __nameScope.Owner.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhMuWiIn/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhKeAcKePr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInXm/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInRo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInPoVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInObPr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInObNo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInMeNo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInMaVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInGrLeVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInElPr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInDoVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhInCoRaVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhIn/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhEvOnToLeNoDeOb/XamlCodeGenerator_MainWindow_35b16a7cd4c5f6ba316b074a0da7f8d9.cs Update generator baseline to include __nameScope.Owner for Window content.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhEvHa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser/WhAtDP_InTy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update generator baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhWMC0913_xLoRoEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhWMC0913_xLoReDiNeMeOK/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhWMC0913_xLoImReDiRo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhWMC0913_xLoDaTeRo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhWMC0913_xLoDaTeNeMeOK/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhWMC0907_xNaLo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaMuInEnVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaInEnVa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaCa003/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaCa002/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaCa001/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaCa001_InReSoPr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaCa001_InReSoMo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.Errors/WhInXaCa001_BiEr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update error baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.ClrNamespace/WhClNaXmUs/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.ClrNamespace/WhClNaXmUn/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.ClrNamespace/WhClNaXmInSc/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Parser.ClrNamespace/WhClNaXmIg/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_NoFuzzyMatching/TeViBoPa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_NoFuzzyMatching/TeTyPrWiXSt/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MvvmGeneratedMembers/WOPAE_name/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MvvmGeneratedMembers/WOPAE_m_name/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MvvmGeneratedMembers/WOPAE__name/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MvvmGeneratedMembers/WOPADNE/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MvvmGeneratedMembers/WNBOP/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MvvmGeneratedMembers/WBOP/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtensionNameProperty/WhMaExNaOnLaEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtensionNameProperty/WhMaExNaMaViStSeTa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtensionNameProperty/WhElTyHaCoExCl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtension/TeNuMaExInRePr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtension/TeNuMaExInAtPr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtension/TeMaExWiShWiAc/XamlCodeGenerator_MainWindow_35b16a7cd4c5f6ba316b074a0da7f8d9.cs Update baseline to include __nameScope.Owner for Window content.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtension/TeMaExWiShFrElLo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_MarkupExtension/TeCoAnCoExInSaNa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_LazyLoading/WhLoChHaBi/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_LazyLoading/WhDeLoStNoViSe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_ImplicitXamlNamespaces/WhAmTyInGlNa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoNoSeFoReFrSo/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInOuFoTyReDi/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInOuFoReTy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInOuFoPaLeSt/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInOuFoPaLeRe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInOuFoExReDi/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInInOuFoEmDaTe/XamlCodeGenerator_EmptyDataTemplatePage_14a64d66c7071a2b54a8c9a36712e00c.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeOrSoLoInInOuFoDeObThArFrEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HotReloadEnabledInBuild/SeBaUrInInOuFoFrEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HoistedResourceOwner/WhCuMaExInLaReInTe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_HoistedResourceOwner/WhCuMaExInLaRe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Grid/WhGrUsNeSuSy/XamlCodeGenerator_Grid_Uses_New_Succinct_Syntax_0b49a2c98bcf0a7403d6de3124559ba4.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Grid/WhGrUsNeAsCoPrSy/XamlCodeGenerator_Grid_Uses_New_Assigned_ContentProperty_Syntax_b80fca056e1bf6bae00bca0b4dfe18d7.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Grid/WhGrUsCoSy/XamlCodeGenerator_Grid_Uses_Common_Syntax_c1be4430470ec234df472eb5ce9cbaaf.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Grid/WhGrUsBoSy/XamlCodeGenerator_Grid_Uses_Both_Syntaxes_5d0366ecb133af4c31f7d61373b58fb4.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_GenerateEmbeddedXamlSources/EsTrQu/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_GenerateEmbeddedXamlSources/EsNQu/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/WhXaObWiXaObPr/XamlCodeGenerator_Binding_Xaml_Object_With_Xaml_Object_Properties_13ccd64bb03497e9fbd3d015c5d7874a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/WhXaObWiCoPr/XamlCodeGenerator_Binding_Xaml_Object_With_Common_Properties_32c9951cc1e205007e0c313480b9e8bf.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/WhStXBiPrInDaTeWiDaTy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/WhStXBiEvInDaTeWiDaTy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/WhBiElNaInTe/XamlCodeGenerator_Binding_ElementName_In_Template_d9353a41d6883de0ddf51bf7c4e43f1e.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeXBiReXLoEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeTwWa/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeTeInXLoEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeReSoShSy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeReSoFuXmSy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeReSoExSy/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TePaXBiReXLoEl/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeInMe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeInDeFrAn/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeBaTyNoSpInCoBe/XamlCodeGenerator_UserControl1_32e87d7058152b347bbc5c24e16f8b3c.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeBaTyNoSpInCoBe/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/Given_Binding/TeAcAr/XamlCodeGenerator_MainPage_0e3f323f9a22a3699cbcd4f0217eee4a.cs Update baseline to include __nameScope.Owner + definition-name mark.
Review details
  • Files reviewed: 43/143 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 232791 has failed on Uno.UI - CI.

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 7cf7349a2c3e against its merge base 611bb279f91e, separately from later master changes. I inspected the 43 non-golden-file changes and verified that all 100 changed golden files contain only the owner/definition-name additions. The owner walk, first-owner setup and registration/clearing model were compared with pinned WinUI source d0c6705ec46d.

Two regressions need fixing:

  1. The new Enter/Leave test file is included by the native Windows runtime-test project but uses Uno-only implementation details. Compiling that unchanged file against the same official Microsoft.WindowsAppSDK 2.4.0 package produces CS0509 because WinUI Border is sealed, plus missing Uno Enter/Leave type errors. The identical native-reference fixture without the introduced file builds cleanly. These tests need a compile-time Uno guard, not just a runtime platform condition.

  2. Splitting registrations between the owner/pending tables and _foreignNames changes which object a name resolves to. A plain object registered after a DependencyObject does not replace it. In the opposite order, once the replacement DependencyObject is collected, an owned scope can expose the overwritten plain object again. The same 30-case compatibility matrix passes 30/30 on base but 25/30 here; seven owner-table controls pass. A reviewer-only copy that retires the superseded entry across the storage paths restores 30/30 and keeps those seven controls passing.

Evidence scope: linked namescope/table code and real GCHandle-backed weak-reference sources, with a small UI/property/logging envelope; native compilation uses real WinUI types with test-orchestration stand-ins. This is not a full visual-tree/runtime-suite or native app execution. The existing native CI build 232791 stopped earlier on NU1902 during restore, so I did not attribute that CI failure to the newly verified compilation defect. No author-branch source or existing thread state was changed.

Comment thread src/Uno.UI/UI/Xaml/NameScope.cs Resolved
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/namescope-owners branch from 7cf7349 to ae8ca69 Compare September 24, 2026 09:27
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 44s —— View job


Review complete

  • Gather context (diff since the last review round, AGENTS.md rules)
  • Check whether the two regressions flagged by @morning4coffe-dev were addressed
  • Review the rest of the new commits since the last review round
  • Post inline findings
  • Post summary

Verdict: ship. This push is a direct, well-targeted response to the CHANGES_REQUESTED review — both blocking regressions are fixed at the root cause, with regression tests. No new inline findings.

The four new commits (01b51a34, 6dc6467a, b11b7826, ae8ca69a) touch only NameScope.cs, UIElement.crossruntime.cs, and the two test files. I verified each fix against the specific defect it targets:

  1. Mixed-kind name replacement (NameScope.cs) — RegisterName (DependencyObject path) now calls RemoveForeignName before writing, and RegisterForeignName now calls RemoveOwnedName before writing, so a name only ever lives in one of the owner-table/pending/foreign stores at a time. This is a root-cause fix (single source of truth per name), not a guard: I traced both failure scenarios from the original review — plain-object-then-DependencyObject and DependencyObject-then-plain-object — through the new code and both now leave exactly one winner. Given_NameScopeOwner.cs adds When_Plain_Object_Replaces_DependencyObject_Plain_Object_Wins, When_DependencyObject_Replaces_Plain_Object_DependencyObject_Wins (both parametrized on whether Owner is set before or after registration), and a GC-backed test confirming the overwritten plain object doesn't resurface once the replacing DependencyObject is collected — this is exactly the scenario the original finding described.
  2. Native WinUI compile break (Given_EnterLeaveWalk.cs) — wrapped in #if HAS_UNO. Confirmed via Uno.CrossTargetting.targets:110-111 that HAS_UNO is defined for every TFM except -windows10.0.19041.0/UAP, so this correctly excludes the file from the native WinUI compile without needing a runtime PlatformCondition (which wouldn't have helped, since the problem was a compile-time type error, not a runtime skip).
  3. Copilot's ChildEnter nullability comment (UIElement.crossruntime.cs) — namescopeOwner is now DependencyObject?, matching its only two call sites (ChildEnter(child, null, …) and forwarding from the already-nullable EnterTree/LeaveTree). Scoped with a local #nullable enable/restore pair since the file isn't nullable-enabled at the top, consistent with the codebase convention for legacy files.

Still open, not touched by this push (already reported by other reviewers, non-blocking):

  • StandardNameScopeTable.RegisterNameImpl/TryRemove still don't return replaced/removed weak entries to WeakReferencePool (flagged earlier by github-code-quality/copilot) — allocation-pressure nit, not correctness.
  • GetStandardNameScopeOwnerInternal's if/else could collapse to a ternary (cosmetic, github-code-quality).
  • Window.Content root still doesn't get MarkOwnerAsPossiblyHavingDefinitionName() (flagged in my earlier review) — inert until the follow-up PR wires up name resolution.

@MartinZikmund

Copy link
Copy Markdown
Member Author

🤖 Addressed PR comments up to this point

  • @morning4coffe-dev (changes requested): both regressions fixed - Enter/Leave canaries now compile only under HAS_UNO (b11b782); one winning registration per name across the owner/pending and foreign stores (01b51a3), with mixed-kind and collected-winner tests (ae8ca69).
  • Rebased onto master; RichTextBlock (new on master) moved to the new EnterImpl/LeaveImpl signatures, and the new SnapshotNaming golden files picked up the owner lines.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 235460 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) 🚨🚨
    • DisplayInformation.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Focus_FocusVisual_Properties.png-dark
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 2310 changed over 2498

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AppBarToggleButtonTest.png
    • AppWindowClosing.png-dark
    • AppWindowPresenters.png-dark
    • AppXamlDefinedResources.png-dark
    • Attributed_text_FontSize_Changing.png
    • AutoBorderStretchwithleftmargin.png-dark
    • AutomationPropertiesExtensions_Role.png
    • AutoSizedTopLeft.png
    • AutoSuggestBoxChosenSuggestion.png-dark
    • BackGesture.png-dark
    • BackGesture.png
    • Basics Pivot Test.png-dark
    • Basics Pivot Test.png
    • BeginTime_MultipleAnimations.png-dark
    • BeginTime_MultipleAnimations.png
    • BitmapIcon_Generic.png-dark
    • BitmapIcon_Generic.png
    • BorderImageBrush.png-dark
    • BorderImageBrush.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Uno_Web.Http.CookieManagerTests
    • 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
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@MartinZikmund
MartinZikmund force-pushed the dev/mazi/namescope-owners branch from ae8ca69 to 8fcb185 Compare September 29, 2026 14:03
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 3m 11s —— View job


Review complete

  • Gather context (AGENTS.md rules, prior review rounds, this push's changed-file list)
  • Determine the actual scope of this synchronize push
  • Spot-check the changed golden files against the established pattern
  • Post summary

Verdict: ship — no new findings. This push carries no logic changes. The 87 files in the diff are all under Uno.UI.SourceGenerators.Tests/Out/**, and every one of them is a golden-file adaptation to a folder/naming restructure on master (Out/Given_X/XamlCodeGenerator_Y_<hash>.cs → Out/X/XCG_Y.cs) that this branch picked up via rebase — unrelated to the namescope work itself. HEAD (8fcb185d) is unchanged from the last review round (2026-09-24); no core file (NameScope.cs, DependencyObject.NameScoping.mux.cs, UIElement*, CoreServices*, the XAML generator itself) is part of this diff.

I spot-checked across every category present (Binding, Grid, MvvmGeneratedMembers, MarkupExtension, Parser, Parser.Errors, SnapshotNaming, plus the Window/MainWindow variants) by walking each file's blame back to the commit that introduced its content. In every case the only change is the same two-line pattern already reviewed and approved in the first review round:

  • __nameScope.Owner = this; (or = __that.Content; for Window) right after SetNameScope.
  • __nameScope.MarkOwnerAsPossiblyHavingDefinitionName(); after the root's own properties are applied — correctly present for Page/UserControl/plain-class roots, and correctly still absent for Window content roots.

Not new, still open (tracked, non-blocking):

  • Window.Content still doesn't get MarkOwnerAsPossiblyHavingDefinitionName() — confirmed unchanged in this push (e.g. Out/Parser/WhEvOnToLeNoDeOb/XCG_MainWindow.cs only gained the Owner = line). Flagged in the very first review round; inert until the follow-up PR wires up name resolution.
  • Given_NameScopeOwner.cs's GC.Collect()/GC.WaitForPendingFinalizers() calls in the collected-winner test (flagged by github-code-quality on 2026-09-24) — not touched by this push, and outside this event's diff scope.

No inline comments were posted since no defect was found in the reviewed diff.
· Branch: dev/mazi/namescope-owners

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

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

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

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • DisplayInformation.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • 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: 2304 changed over 2502

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png
    • AppBarButtonWithIconTest.png-dark
    • ApplicationViewSpanningRectsPage.png-dark
    • AppWindowTitleBar Properties.png-dark
    • Arrange_Performance01.png-dark
    • Attributed_text_Simple.png-dark
    • AutoBorderStretchwithbottommargin.png
    • AutoBorderStretchwithtopmargin.png
    • AutoSizedTopLeft.png
    • AutoSuggestBoxChosenSuggestion.png-dark
    • BadgeNotificationTests.png-dark
    • BadgeNotificationTests.png
    • BasicEnability.png-dark
    • BasicEnability.png
    • BeginTime_MultipleAnimations.png-dark
    • BeginTime_MultipleAnimations.png
    • BitmapIcon_Generic.png-dark
    • BitmapIcon_Generic.png
    • BorderCenteredwithmargins.png-dark
    • BorderCenteredwithmargins.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • 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.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.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Uno_Web.Http.CookieManagerTests
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 236292 has failed on Uno.UI - CI.

MartinZikmund and others added 7 commits October 3, 2026 11:07
UIElement had three same-named Enter/Leave families: EnterImpl(EnterParams,
int), EnterImpl(bool live), and DependencyObject's own. The bool arity is
the managed-peer hook - its call site says so - so name it for that.

This must land before depth moves into EnterParams: once EnterImpl(EnterParams)
is one-arg it would be arity-compatible with EnterImpl(bool), and an edit
dropping .IsLive would bind to the wrong overload and compile clean.

The private EnterImpl() helper in CalendarViewBaseItem's non-enhanced-lifecycle
branch is a different member and is deliberately untouched.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
Depth was a second parameter threaded alongside EnterParams through every
Enter/EnterImpl override. Fold it into the struct so the walk carries one
payload and adding the namescope owner next does not grow the arity again.

Behaviour-preserving: every depth-supplying site keeps the value it passed
before, including the pre-existing and inconsistent split between
int.MinValue (ChildEnter's dead branch, EnterSparseProperties) and literal
0 (VisualTree.AddRoot, Flyout, MenuFlyout, MenuBarItem). Harmonising that
split would be a real behaviour change and is deliberately not done here.

ChildEnter still computes from the parent's persisted Depth field rather
than the incoming @params.Depth, which can be stale after a property,
resource or flyout hop.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
…wner

DependencyObject.EnterImpl/LeaveImpl become virtual and UIElement's become
the overrides, so the walk carries the namescope owner DependencyObject
already has. The outer wrappers stay separate and are renamed EnterTree/
LeaveTree: keeping the name would collide with DependencyObject.Enter and
force a 'new', reintroducing the hiding pattern.

Provably inert: the owner is null on every runtime path today. The one
site with a real value in scope, EnterSparseProperties, now forwards
pAdjustedNamescopeOwner instead of dropping it - inert until seeding
starts, and the first site that will carry a non-null owner.

The cast dispatch at UIElement.mux.cs:1242/1833 had to become base., not
stay a cast: a cast does not suppress virtual dispatch, so leaving it once
DependencyObject.EnterImpl is virtual would recurse into UIElement and
stack-overflow on the first attach.

MenuFlyout's keyboard-accelerator helper passes null rather than the
pNamescopeOwner it already receives, to keep this step free of behaviour
change; wiring it is a follow-up.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
The walk has two distinct recursion axes - DP values via EnterProperties
and visual children via ChildEnter - which overlap for any element that is
both, i.e. ContentControl.Content and Border.Child. These pin the visit
counts and the depth propagation so a refactor of the walk cannot change
them silently.

Verified as genuine, not tautological: temporarily changing ChildEnter to
propagate this.Depth instead of this.Depth + 1 turns the depth canary red
with Expected:<1> Actual:<0> while the other two stay green.

Empty Borders never reach a non-zero size, so these pass an IsLoaded
predicate to UITestHelper.Load rather than relying on the default
size-based is-loaded check, which would time out.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
FlyoutBase declared 'internal new virtual' Enter/Leave that hid
DependencyObject's non-virtual pair, and KeyboardAcceleratorCollection and
KeyboardAccelerator did the same with 'internal new'. Now that
DependencyObject's Impl pair is virtual, a stray call would silently
dispatch a real DependencyObject walk instead of the intended hook.

These members were never Enter/Leave overrides in intent - FlyoutBase's own
doc comment says it propagates to the flyout's content for keyboard
accelerator registration - so name them for what they do. Behaviour delta
is zero: every dispatch is unchanged.

Note this is NOT turning on a walk that never ran. The DependencyObject
walk already runs on flyouts via EnterObjectProperty, which calls Enter on
a statically-DependencyObject-typed variable for the ContextFlyout and
Button.Flyout DP values. Dropping 'new' instead of renaming would have
added a second walk.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
…clear

Ports WinUI's namescope model: tables keyed by owner DependencyObject and
scope kind, a tagged entry with strong/weak/deferred arms, and a bounded
resolution retry so a deferred entry can materialize and be re-read.

No callers yet - this is the data model only.

Two deliberate divergences from WinUI, both improvements:
- Tables hang off a ConditionalWeakTable rather than a raw-pointer map, so
  a table dies with its owner instead of relying on a destructor contract,
  and WinUI's bucket compaction is unnecessary.
- Unregistration peeks rather than resolves, so leaving the tree cannot
  materialize deferred content just to answer an unregistration.

Entries are weak everywhere for now, byte-identical to today's NameScope.
WinUI holds standard entries strongly; that flip is a separate decision
with lifetime consequences, and the identity guard - not the reference
strength - is what makes unregistration safe.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
Verified red-first: removing the identity guard from
ClearNamedObjectIfExists fails When_Duplicate_Name_Loser_Leaves_Winner_Survives
with 'the loser must not clear an entry it no longer owns' while the other
seven stay green.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
MartinZikmund and others added 8 commits October 3, 2026 11:08
WinUI keys every name table on the namescope owner (CDependencyObject's
IsStandardNameScopeOwner/IsStandardNameScopeMember bits) and resolves a
name by walking to the nearest owner. Port that model:

- DependencyObject.NameScoping.mux.cs carries the namescope bitfields and
  GetStandardNameScopeOwner, the walk from depends.cpp:522-553.
- CoreServices.SetNamedObject/GetNamedObject talk to NameScopeRoot.
- NameScope becomes WinUI's NameScopeHelper facade: its Owner mints the
  owner's table, and registrations forward there. Template bodies are
  built bottom-up, so names registered before the owner is known wait in
  a pending buffer and flush on Owner.
- FrameworkElement.IsParsing drives the ParserOwnsParent lock.
- The public root visual becomes a permanent namescope owner.
- The XAML generator seeds the owner right after SetNameScope, and marks
  an x:Class root as possibly carrying a definition name once its own
  properties are applied.

Entries stay weak until Leave unregisters names (step 9).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
- Keep non-DependencyObject x:Name registrations resolvable: INameScope
  takes any object, and the core tables only hold DependencyObjects.
- Stop the ancestor lookup recursing when a scope's owner is the object
  carrying it.
- Take the parser parent lock for a ResourceDictionary too, not just for
  FrameworkElement.
- Ignore a null Owner instead of throwing from a public setter.
- Only look up the existing name when the duplicate warning would be
  logged.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QQg2aJi7rAF6SMkTbBL9MS
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings October 3, 2026 09:08
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/namescope-owners branch from 8fcb185 to d4296c6 Compare October 3, 2026 09:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

Review effort: Lite
Findings: None

Resolved since last review (2)

Copilot AI lite review requested due to automatic review settings October 3, 2026 09:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

Review effort: Lite
Findings: None

@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

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


Review complete

  • Gather context (AGENTS.md rules, prior review rounds, this push's changed-file list)
  • Determine the actual scope of this synchronize push
  • Spot-check changed files against AGENTS.md rules
  • Post inline findings (none — see below)
  • Post summary

Verdict: ship — no new findings. This push carries no logic changes. All 87 files in the diff are under Uno.UI.SourceGenerators.Tests/Out/**, and git log --follow on each shows they were already written by commits that are part of this PR's existing, previously-reviewed history (e.g. feat(namescope): Route x:Name registration through the owner) — the commit hashes differ because the branch was rebased/rewritten (the 8fcb185d/01b51a34/b11b7826/ae8ca69a SHAs cited in earlier review rounds no longer resolve, replaced by an equivalent, squashed 15-commit history ending at d4296c6b), not because new content was introduced.

I diffed a sample across the categories present (Binding, MarkupExtension incl. the Window/MainWindow variant, SnapshotNaming) against origin/master and confirmed every change is the same two-line pattern already reviewed and approved:

  • __nameScope.Owner = this; (or = __that.Content; for Window) right after SetNameScope.
  • __nameScope.MarkOwnerAsPossiblyHavingDefinitionName(); after the root's own properties are applied — present for Page/plain-class roots, correctly still absent for the Window content root (per MartinZikmund's rationale on the original inline thread: a Window's Content plays a usage-name role, not an x:Class-definition-name role).

No core file (NameScope.cs, DependencyObject.NameScoping.mux.cs, CoreServices*, UIElement*, XamlFileGenerator.cs) is part of this push's diff — confirmed via git diff origin/master...HEAD --stat, which shows those files' changes are unchanged from the full PR diff already reviewed in prior rounds (including the two regressions morning4coffe-dev flagged and MartinZikmund fixed, and the GC.Collect()-in-test code-quality nit MartinZikmund explained was intentional). The PR already carries morning4coffe-dev's APPROVED review from 2026-10-02.

No inline comments were posted since no defect was found in the reviewed diff.
· Branch: dev/mazi/namescope-owners

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 237223 found UI Test snapshots differences: skia-linux-screenshots: 119, skia-windows-screenshots: 134

Details
  • skia-linux-screenshots: 119 changed over 2454

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CalendarView_Theming.png-dark
    • DisplayInformation.png-dark
    • Examples.png
    • Focus_FocusVisual_Properties.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • DynamicFont.png-dark
    • DynamicFont.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • Image_AnimatedWebP.png-dark
    • Image_AnimatedWebP.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
  • skia-windows-screenshots: 134 changed over 2456

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • DisplayInformation.png-dark
    • Examples.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Focus_FocusVisual_Properties.png-dark
    • Grid_DynamicRowColumn.png-dark
    • Grid_DynamicRowColumn.png
    • ImageBrush_Stretch.png-dark
    • ImageBrush_Stretch.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • Image_Stretch_Alignment_Taller.png-dark

@mergify

mergify Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request

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/code-generation Categorizes an issue or PR as relevant to code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants