Repository navigation
Conversation
Remove the inert public stub `Microsoft.UI.Composition.DelegatedInkTrailVisual` — a `Visual` subclass whose only member is a private constructor. It exposes no public members and there is no `Compositor.CreateDelegatedInkTrailVisual` factory anywhere, so no app could ever instantiate or use it. A full-repo sweep confirms zero functional consumers. Register the public-type removal in build/PackageDiffIgnore.xml (baseVersion 6.5 set, next to the related Windows.UI.Composition projection entry) so CI's PackageDiff does not flag the removed type, and drop DelegatedInkTrailVisual from the Group 11a "preserved on the branch" comment now that the Microsoft.UI.Composition impl is gone. Part of breaking-changes Phase 3 (BC32). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23677/wasm-skia-net9/index.html |
Contributor
|
The build 221148 found UI Test snapshots differences: Details
|
ramezgerges
approved these changes
Jul 8, 2026
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: https://github.com/unoplatform/uno-private/issues/2125
PR Type:
🔄 Refactoring (no functional changes, no api changes)
What changed? 🚀
Implements BC32 from breaking-changes Phase 3 (#8339): deletes the inert public stub
Microsoft.UI.Composition.DelegatedInkTrailVisual— aVisualsubclass whose only member is a private constructor.src/Uno.UI.Composition/Composition/DelegatedInkTrailVisual.csin full. The type exposed no public members and there is noCompositor.CreateDelegatedInkTrailVisualfactory anywhere, so no app could ever instantiate or use it. A full-repo sweep confirms zero functional consumers.build/PackageDiffIgnore.xml(6.5 set, matching the baseline used for this branch's breaking-change entries), placed next to the relatedWindows.UI.Composition.DelegatedInkTrailVisualprojection entry.DelegatedInkTrailVisualfrom the Group 11a "Real Uno impls … preserved on the branch" comment, now that theMicrosoft.UI.Compositionimpl is gone.No runtime behavior changes. The type was never instantiable (private ctor only, no factory) and had no public surface, so nothing an app could reach is affected — the only observable change is the disappearance of the type name from the public API.
PR Checklist ✅
Screenshots Compare Test Runresults.Breaking changes & migration
DelegatedInkTrailVisual(BC32): the public typeMicrosoft.UI.Composition.DelegatedInkTrailVisualis removed. It was a hollow stub — aVisualsubclass with only a private constructor, no public members, and noCompositorfactory to create it — so no application could functionally use it. Migration: there is nothing to migrate; no code could have consumed it. The only theoretical impact is binary/source API-compat for code doingtypeof(DelegatedInkTrailVisual)or reflecting over the type name, which no real app or library does.Validation evidence
git grepfound zero functional consumers ofDelegatedInkTrailVisual— after the delete, only the two expectedbuild/PackageDiffIgnore.xmllines remain (the new ignore entry + the unchangedWindows.UI.Composition.*regex); no.cs/.xamlreferences.Uno.UI.Composition.Skia(net10.0), the assembly that contained the type, builds clean — 0 warnings, 0 errors. With zero consumers elsewhere, downstream assemblies are unaffected.PackageDiffallow-list check runs CI-only (needsgeneratepkgdiff.exe+ a builtUno.WinUIpackage + the nuget baseline); the new 6.5-set ignore entry is what keeps the removed-type check green. Native heads were not built locally; the change is a pure deletion of an unreferenced cross-target type.