Repository navigation
fix!: Close out 7.0 constant and symbol leftovers - #24554
Conversation
|
Claude finished @MartinZikmund's task in 5m 24s —— View job Reviewing PR #24554
Four focused sub-reviews are running in parallel on the highest-risk areas (analyzers, source generators, DevServer, MSBuild symbol wiring). Will post findings and summary once they land. |
There was a problem hiding this comment.
🔵 Needs a closer look
The broad 7.0 breaking-change surface and unresolved migration/documentation corrections require final human review.
Pull request overview
This PR completes the Uno Platform 7.0 cleanup of obsolete symbols, APIs, generators, build logic, and test guards.
Changes:
- Standardizes consumer symbols and restores flavor-aware
UNO0001analysis. - Removes obsolete APIs, generators, feature switches, and platform leftovers.
- Re-enables compatible runtime coverage and updates SDK and documentation guidance.
File summaries
| File | Summary |
|---|---|
src/Uno.WinRT/UI/Input/Preview.Injection/InputInjector.cs |
Cleans stale test-only annotations. |
src/Uno.WinRT/UI/Input/PointerPointProperties.cs |
Removes stale test-only annotations. |
src/Uno.WinRT/UI/Core/ICorePointerInputSource.cs |
Removes obsolete interface annotation. |
src/Uno.WinRT/Storage/StorageFile.cs |
Removes stale test annotation. |
src/Uno.WinRT/Security/Credentials/PasswordVault.others.cs |
Removes stale test annotations. |
src/Uno.WinRT/Phone/Devices/Notification/VibrationDevice.skia.cs |
Normalizes implementation annotations. |
src/Uno.WinRT/Phone/Devices/Notification/VibrationDevice.reference.cs |
Normalizes reference annotations. |
src/Uno.WinRT/Graphics/Display/DisplayInformation.unsupported.cs |
Normalizes platform annotations. |
src/Uno.WinRT/FeatureConfiguration/WinRTFeatureConfiguration.GestureRecognizer.cs |
Removes obsolete gesture flags. |
src/Uno.WinRT/FeatureConfiguration/WinRTFeatureConfiguration.Focus.cs |
Removes obsolete focus configuration. |
src/Uno.WinRT/ApplicationModel/PackageId.defaults.cs |
Removes stale test annotations. |
src/Uno.WinRT/ApplicationModel/Activation/SplashScreen.cs |
Removes stale test annotations. |
src/Uno.WinRT/ApplicationModel/Activation/SearchActivatedEventArgs.cs |
Removes stale test annotations. |
src/Uno.WinRT/ApplicationModel/Activation/LaunchActivatedEventArgs.cs |
Removes stale test annotations. |
src/Uno.UI/UI/Xaml/VisualTransition.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/UIElement.Pointers.cs |
Removes obsolete annotation. |
src/Uno.UI/UI/Xaml/UIElement.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/PagePool.cs |
Removes obsolete public pooling flag. |
src/Uno.UI/UI/Xaml/Media/SystemBackdrop.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/Media/RevealBrush.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/Media/MicaBackdrop.cs |
Removes stale constructor annotation. |
src/Uno.UI/UI/Xaml/Media/Brush.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/Media/Animation/ReorderThemeTransition.cs |
Updates implementation annotation. |
src/Uno.UI/UI/Xaml/Media/Animation/ContentThemeTransition.cs |
Updates implementation annotation. |
src/Uno.UI/UI/Xaml/Media/Animation/AddDeleteThemeTransition.cs |
Updates implementation annotation. |
src/Uno.UI/UI/Xaml/FrameworkElement.EffectiveViewport.Interface.cs |
Removes obsolete interface member. |
src/Uno.UI/UI/Xaml/FrameworkElement.EffectiveViewport.cs |
Removes obsolete implementation. |
src/Uno.UI/UI/Xaml/Controls/WebView/WebView2/WebView2.cs |
Removes stale WebView annotation. |
src/Uno.UI/UI/Xaml/Controls/WebView/WebView1/WebView.cs |
Removes stale WebView annotation. |
src/Uno.UI/UI/Xaml/Controls/TextBox/TextBox.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/Controls/Pivot/PivotItemEventArgs.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Xaml/Controls/PasswordBox/PasswordBox.cs |
Removes stale property annotations. |
src/Uno.UI/UI/Xaml/Controls/MenuFlyout/MenuPopupThemeTransition.cs |
Updates implementation annotation. |
src/Uno.UI/UI/Xaml/Controls/CalendarView/CalendarViewDayItem.uno.cs |
Updates implementation annotation. |
src/Uno.UI/UI/Input/InputFocusController.cs |
Updates implementation annotations. |
src/Uno.UI/UI/Content/ContentIsland.cs |
Updates implementation annotation. |
src/Uno.UI/MixinGeneration.targets |
Removes dead generator input. |
src/Uno.UI/LinkerSubstitution.Wasm.xml |
Removes obsolete WASM substitutions. |
src/Uno.UI/LinkerSubstitution.Skia.xml |
Adds Skia feature substitutions. |
src/Uno.UI/LinkerDefinition.Wasm.xml |
Removes obsolete linker definitions. |
src/Uno.UI/FeatureConfiguration.cs |
Removes obsolete feature flags. |
src/Uno.UI/Extensions/ViewExtensions.visual-tree.cs |
Narrows WinAppSDK API visibility. |
src/Uno.UI/Extensions/PrettyPrint.cs |
Narrows WinAppSDK API visibility. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs |
Re-enables layout coverage and adds platform conditions. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_EffectiveViewport.cs |
Re-enables effective-viewport coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_Control.cs |
Re-enables control coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_BackgroundTransition.cs |
Re-enables transition coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Shapes/Given_Path.cs |
Re-enables path coverage with platform conditions. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Media/Given_XamlCompositionBrushBase.cs |
Re-enables composition-brush coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Input/Given_FocusManager.cs |
Re-enables focus coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/ScrollViewerTests/Given_ScrollViewer_ScrollChaining.cs |
Updates scroll-chaining coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Icons/Given_BitmapIcon.cs |
Re-enables bitmap-icon coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TextBlock.cs |
Re-enables text-layout coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer.cs |
Re-enables scroll coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ScrollViewer_Zoom.cs |
Adds WinUI-specific zoom exclusions. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ListViewBase.cs |
Re-enables list-view coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Image.cs |
Adds WinUI image exclusion. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls_Primitives/Given_ScrollBar.cs |
Updates input gating. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Composition/Given_Visual_ArrangePending.cs |
Updates compositor conditions. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Composition/Given_ShapeVisual.cs |
Adds WinUI exclusion. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Composition/Given_KeyFrameAnimation.cs |
Re-enables animation coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Composition/Given_ExpressionAnimation.cs |
Adds WinUI exclusions. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Composition/Given_CompositionVisualSurface.cs |
Re-enables visual-surface coverage. |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Composition/Given_AnimationController.cs |
Adds WinUI exclusions. |
src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_ProgressRing.cs |
Re-enables ProgressRing coverage. |
src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_AnimatedVisualPlayer.cs |
Replaces removed asset configuration flags. |
src/Uno.UI.RuntimeTests/MUX/Microsoft_UI_Xaml_Controls/ProgressRing/ProgressRingTests.cs |
Re-enables ProgressRing MUX coverage. |
src/Uno.UI.RuntimeTests/MUX/Helpers/LoopingSelectorHelper.cs |
Implements looping-selector panning. |
src/Uno.UI.RuntimeTests/MUX/Helpers/InputHelper.cs |
Implements point tapping. |
src/Uno.UI.RuntimeTests/IntegrationTests/dxaml/controls/calendarview/CalendarViewIntegrationTests.cs |
Re-enables calendar coverage. |
src/Uno.UI.RuntimeTests/IntegrationTests/common/TestServices.InputHelper.cs |
Adds touch-pan injection. |
src/Uno.UI.Runtime.Skia.X11/buildTransitive/Uno.WinUI.Runtime.Skia.X11.targets |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.Win32/UI/Xaml/Controls/WebView/Win32NativeWebView.cs |
Makes the remaining WebView backend unconditional. |
src/Uno.UI.Runtime.Skia.Win32/buildTransitive/Uno.WinUI.Runtime.Skia.Win32.targets |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/build/Uno.WinUI.Runtime.Skia.WebAssembly.Browser.targets |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.MacOS/buildTransitive/Uno.WinUI.Runtime.Skia.MacOS.targets |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.Linux.FrameBuffer/buildTransitive/Uno.WinUI.Runtime.Skia.Linux.FrameBuffer.targets |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.Headless/buildTransitive/Uno.WinUI.Runtime.Skia.Headless.targets |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.AppleUIKit/build/Uno.WinUI.Runtime.Skia.AppleUIKit.props |
Removes package-defined symbols. |
src/Uno.UI.Runtime.Skia.Android/build/Uno.WinUI.Runtime.Skia.Android.props |
Removes package-defined symbols. |
src/Uno.UI.RemoteControl.ServerCore/Uno.UI.RemoteControl.ServerCore.csproj |
Fixes DevServer package override targeting. |
src/Uno.UI.RemoteControl.DevServer.Tests/Given_RemoteControlClient_HostCandidates.cs |
Adds host-candidate tests. |
src/Uno.UI.Composition/Composition/CompositionStrokeDashArray.cs |
Removes stale annotation. |
src/Uno.Sdk/Tasks/ImplicitPackagesResolver.cs |
Removes obsolete package version handling. |
src/Uno.Sdk/targets/Uno.SingleProject.Desktop.targets |
Updates WebView2 behavior; migration guidance needs the removed-property replacement. |
src/Uno.Sdk/targets/Uno.Sdk.After.targets |
Removes retired build warnings. |
src/Uno.Sdk/targets/Uno.IsPlatform.Before.props |
Removes obsolete platform property. |
src/Uno.Sdk/targets/Uno.Implicit.Packages.targets |
Wires VLC asset version overrides. |
src/Uno.Sdk/targets/Uno.Extensions.Implicit.Packages.ProjectSystem.targets |
Fixes case-insensitive feature detection. |
src/Uno.Sdk/targets/Uno.CrossTargeting.targets |
Warns for removed file suffixes. |
src/Uno.Sdk/targets/Uno.Common.Wasm.targets |
Centralizes WASM symbol definition. |
src/Uno.Sdk/targets/Uno.Common.targets |
Updates normalized feature checks. |
src/Uno.Sdk/targets/Uno.Common.Desktop.targets |
Centralizes desktop symbol definition. |
src/Uno.Sdk/Services/PackageManifest.cs |
Removes obsolete package group. |
src/Uno.Sdk/Sdk/Sdk.props.buildschema.json |
Updates SDK property schema. |
src/Uno.Sdk/packages.json |
Removes obsolete image-loader package. |
src/Uno.Foundation/NotImplementedAttribute.cs |
Documents flavor-based annotations. |
src/Uno.Foundation.Runtime.WebAssembly/Interop/TSInteropMessageAttribute.wasm.cs |
Removes obsolete public interop API. |
src/Uno.DevServer.Processors.Override.targets |
Fixes DevServer override package selection. |
src/Uno.CrossTargetting.targets |
Updates symbol documentation and cache paths; clarify consumer aliases. |
src/Uno.Analyzers/UnoNotImplementedAnalyzer.cs |
Restores flavor-aware UNO0001. |
src/Uno.Analyzers/UnoMissingAssemblyAnalyzer.cs |
Retires obsolete ProgressRing diagnostic. |
src/Uno.Analyzers.Tests/UnoMissingAssemblyAnalyzerTests.cs |
Updates ProgressRing analyzer coverage. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlNamespaceValidation.cs |
Adds removed-prefix validation. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileParserContext.cs |
Reports namespace diagnostics. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileParser.cs |
Tracks removed prefixes. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.Reflection.cs |
Removes legacy type fallback. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.cs |
Removes obsolete lazy visual-state switch. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlCodeGeneration.Telemetry.cs |
Fixes runtime telemetry classification. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlCodeGeneration.Diagnostics.cs |
Adds UXAML0007. |
src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlCodeGeneration.cs |
Removes obsolete generator property handling. |
src/SourceGenerators/Uno.UI.SourceGenerators/NativeCtor/NativeCtorsGenerator.cs |
Fixes native constructor generation. |
src/SourceGenerators/Uno.UI.SourceGenerators/HotRestart/HotRestartGenerator.Diagnostics.cs |
Removes retired diagnostics. |
src/SourceGenerators/Uno.UI.SourceGenerators/HotRestart/HotRestartGenerator.cs |
Removes Hot Restart generation. |
src/SourceGenerators/Uno.UI.SourceGenerators/Content/Uno.UI.SourceGenerators.props |
Prunes dead compiler-visible properties. |
src/SourceGenerators/Uno.UI.SourceGenerators/BindableTypeProviders/BindableTypeProvidersGenerationTask.cs |
Fixes generated missing-type diagnostics. |
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Given_XamlTelemetry.cs |
Adds telemetry tests. |
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/Uno.UI.SourceGenerators.Tests.csproj |
Updates test project references. |
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/BindableTypeProvidersTests/Given_BindableTypeProvidersSourceGenerator.cs |
Adds bindable-provider tests. |
src/SourceGenerators/Uno.UI.SourceGenerators.Internal/Uno.UI.SourceGenerators.Internal.csproj |
Removes obsolete TypeScript interop input. |
src/SourceGenerators/SourceGeneratorHelpers/Helpers/PlatformHelper.cs |
Removes obsolete iOS detection. |
src/SamplesApp/SamplesApp/SamplesApp.csproj |
Removes retired warning reference. |
src/SamplesApp/SamplesApp.Shared/App.xaml.cs |
Removes obsolete focus configuration. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ListView/ListViewLegacy.xaml.cs |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ListView/ListViewLegacy.xaml |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ListView/ListViewLargeLegacy.xaml.cs |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ListView/ListViewLargeLegacy.xaml |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ListView/ListViewGroupedLargeLegacy.xaml.cs |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ListView/ListViewGroupedLargeLegacy.xaml |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/GridView/GridViewLargeLegacy.xaml.cs |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/GridView/GridViewLargeLegacy.xaml |
Removes obsolete sample. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ContentPresenter/ContentPresenter_TextProperties.xaml.cs |
Removes obsolete feature toggle. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ContentPresenter/ContentPresenter_LocalOverride.xaml.cs |
Removes obsolete feature toggle. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ContentPresenter/ContentPresenter_ImplicitContent.xaml.cs |
Removes obsolete feature toggle. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ContentPresenter/ContentPresenter_Content_DataContext.xaml.cs |
Removes obsolete feature toggle. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ContentPresenter/ContentPresenter_Changing_ContentTemplate.xaml.cs |
Removes obsolete feature toggle. |
src/SamplesApp/SamplesApp.Samples/Windows/UI/Xaml/Controls/ContentPresenter/ContentPresenter_Background.xaml.cs |
Removes obsolete feature toggle. |
src/Directory.Build.props |
Removes obsolete Apple property. |
src/AddIns/Uno.UI.MSAL/tsconfig.json |
Removes obsolete TypeScript configuration. |
src/AddIns/Uno.UI.MSAL/ts/MSAL.WebUI.ts |
Removes obsolete WASM web UI. |
src/AddIns/Uno.UI.MSAL/AcquireTokenInteractiveParameterBuilderExtensions.cs |
Makes the WASM helper a no-op. |
src/AddIns/Uno.UI.MSAL/AbstractApplicationBuilderExtensions.cs |
Removes obsolete WASM HTTP helper. |
specs/056-platform-targeting-vocabulary/spec.md |
Updates symbol vocabulary decisions. |
doc/articles/Uno-UI-Performance.md |
Documents the bindable diagnostic switch. |
doc/articles/toc.yml |
Adds the symbol reference page. |
doc/articles/logging.md |
Removes obsolete platform guidance. |
doc/articles/interop/MSAL.md |
Documents WASM MSAL behavior; correct the example and inline-code formatting. |
doc/articles/guides/xf-migration/custom-drawn-controls.md |
Removes obsolete platform guards. |
doc/articles/guides/xf-migration/custom-controls.md |
Updates platform guard guidance. |
doc/articles/features/working-with-assets.md |
Updates asset qualifier guidance. |
doc/articles/features/windows-media-capture.md |
Updates WinUI capture guidance. |
doc/articles/features/using-il-linker-webassembly.md |
Removes obsolete linker feature documentation. |
doc/articles/features/focus-management.md |
Updates keyboard focus guidance. |
doc/articles/features/browser-input-helper.md |
Updates WASM symbol guidance. |
doc/articles/create-an-app-vs2022.md |
Removes Hot Restart guidance. |
doc/articles/controls/WebView.md |
Documents the single WebView backend. |
doc/articles/common-issues-vs2022.md |
Removes obsolete Hot Restart troubleshooting. |
build/nuget/uno.winui.common.targets |
Defines consumer symbols and feature switches; document trimmed ALC support requirements. |
build/Install-Tizen.ps1 |
Removes obsolete Tizen installation tooling. |
.github/labeler.yml |
Removes Tizen labeling paths. |
.claude/rules/code-style.md |
Updates symbol conventions. |
Review details
Suppressed comments (5)
build/nuget/uno.winui.common.targets:15
- This newly emitted feature switch defaults to false and allows trimming to remove the ALC path. A trimmed host that loads secondary applications into collectible ALCs must set
UnoEnableAlcAppSupport=true, but the public 7.0 migration guide does not mention this runtime requirement; please document it alongside the other breaking changes.
<UnoEnableAlcAppSupport Condition="'$(UnoEnableAlcAppSupport)'==''">false</UnoEnableAlcAppSupport>
doc/articles/interop/MSAL.md:83
- This WebAssembly example is not valid as written: WebView2 is Windows-only and cannot implement
myCustomWebUiin a WASM head, whileJSImport/JSExportis rendered as stray unformatted text. Keep the example browser-only and format the interop names as code.
`System.Runtime.InteropServices.JavaScript` JSImport/JSExport interop, or an in-app `WebView2`.
doc/articles/interop/MSAL.md:83
- This sentence runs the closing inline-code backtick directly into
JSImport/JSExport, so it renders asJavaScriptJSImport/JSExportand leaves both API names unformatted. Add a separator and format the two attributes as inline code.
`System.Runtime.InteropServices.JavaScript` JSImport/JSExport interop, or an in-app `WebView2`.
src/Uno.CrossTargetting.targets:40
- This sentence now contradicts the consumer contract introduced by this PR:
build/nuget/uno.winui.common.targetsexplicitly definesUNO_REFERENCE_API,HAS_UNO_SKIA, and__UNO_SKIA__for consumers, and the SDK defines__DESKTOP__/__WASM__for target frameworks. Please distinguish repository-only symbols from the documented consumer symbols here so contributors do not treat the legacy aliases as unavailable.
src/Uno.Sdk/targets/Uno.SingleProject.Desktop.targets:72 - Removing
UnoUseWebView2WPFchanges WPF desktop heads, which now lose the WPF WebView2 reference unless they discover the unrelatedUnoDisableWebView2Workaroundsescape hatch.migrating-to-uno-7.mddoes not mention this removed property or its replacement, so affected applications have no documented migration path; please add it to the breaking-change guidance.
- Files reviewed: 176/176 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24554/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24554/wasm-skia-net9/index.html |
|
The build 234528 found UI Test snapshots differences: Details
|
|
Claude finished @MartinZikmund's task in 4m 9s —— View job Reviewing PR #24554 (re-review after latest push)
Four focused sub-reviews are running in parallel. Already spotted one likely doc gap ( |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24554/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24554/docs/index.html |
|
The build 234733 found UI Test snapshots differences: Details
|
46d2cdb to
8da3494
Compare
b9516c2 to
1ff1a5f
Compare
|
Claude finished @MartinZikmund's task in 2m 3s —— View job Reviewing PR #24554 (re-review after latest push)
Verdict: ready to merge — no new issuesNothing new landed since the previous full review pass. That round, and the roughly dozen before it, already covered this diff in depth against the AGENTS.md checklist: consumer-symbol/analyzer/ No cross-cutting concerns remain open. No inline comments posted this round. |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24554/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24554/docs/index.html |
|
The build 236216 found UI Test snapshots differences: Details
|
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014vRr9HufCgBEVgt1z8J5Ay
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014vRr9HufCgBEVgt1z8J5Ay
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014vRr9HufCgBEVgt1z8J5Ay
|
Claude finished @MartinZikmund's task in 1m 46s —— View job Reviewing PR #24554 (re-review after latest push)
Verdict: ready to merge — no new issuesAll three new commits are direct, well-reasoned responses to Martin's own inline review comments from earlier today:
No cross-cutting correctness, async/cancellation, or cross-platform-targeting concerns. This sits on top of a diff that many prior review rounds have already covered in full depth — consumer-symbol/analyzer/ No inline comments posted this round — there is nothing new to flag. |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-24554/docs/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24554/wasm-skia-net9/index.html |
|
The build 236224 found UI Test snapshots differences: Details
|

GitHub Issue: closes unoplatform/uno-private#2327; part of unoplatform/uno-private#2199
PR Type:
🐞 Bugfix
What changed? 🚀
This PR fixes the 25 issues a verified review of 7.0's preprocessor constants and naming leftovers turned up. Most of them come from one pattern: repo-internal symbols (
__SKIA__,UNO_REFERENCE_API,__APPLE_UIKIT__,WINAPPSDK) leaking into consumer-facing places, while consumer symbols varied with project shape. There is one commit per issue, with the fix and its test in separate commits. Each commit body explains that issue's root cause.Consumer symbols (#2327)
feat(sdk)!Consumer symbols now come from two places only.uno.winui.common.targetsdefines the host symbols (HAS_UNO,__UNO__and the legacy synonymsUNO_REFERENCE_API,HAS_UNO_SKIA,__UNO_SKIA__) uniformly, plus__APPLE_UIKIT__on ios/tvos. The Uno.Sdk defines the TFM symbols. The 8 runtime packages define none.net10.0-desktopclass library and a non-Sdk mobile library lackedUNO_REFERENCE_API, so#if UNO_REFERENCE_API … #elsetook the WinAppSDK branch there.__APPLE_UIKIT__ships fromuno.winui.common.targets, not the AppleUIKit runtime'sbuild/*.propsas Bump Unity from 5.11.1 to 5.11.2 #2327 suggested. That file isn't transitive and is absent without Uno.Sdk, so it would miss plain Microsoft.NET.Sdk libraries.uno-development/preprocessor-symbols.md, covers repo-internal symbols.docs+feat(build)__UNO__is the preferred spelling again. Jerome made it the documented one in 6.0 (5c8fba9), to match__ANDROID__/__WASM__/__DESKTOP__; the consumer docs now lead with it and listHAS_UNOas identical. The repository build now defines__UNO__next toHAS_UNOtoo (Uno.CrossTargetting.targetsand the SamplesApp/UnoIslands projects that defineHAS_UNOthemselves), so Uno code can start using it. The contributor doc and agent rules prefer it.fix(analyzers)+fix+test(analyzers)UNO0001 works again. Since the 2026-08 sync, all 3,395 Uno.UI/Composition stubs carry[NotImplemented("__SKIA__")]. That is a repo-internal symbol no consumer defines, so the analyzer never fired for any Uno.UI API. It also gave false positives on mobile.__SKIA__means "not implemented on any Uno target". For the per-flavor WinRT assemblies, the consumer's TFM is mapped to a flavor.IS_UNIT_TESTStokens stripped.fix(winrt)ICorePointerInputSourceno longer carries a bare[NotImplemented]in the Reference and mobile WinRT builds.XAML generator
feat(sdk)+testUXAML0007 / UNOB0027. Removed XAML prefixes (skia:,netstdref:,not_mux:, …) and removed file suffixes (*.Apple.cs,*.reference.cs,*.iOSmacOS.cs) used to change behaviour silently. Content was dropped on every target, applied on every target, or compiled for every TFM. Both now warn.migrating-to-uno-7.mddescribes the actual behaviour, and itslegacy:row now says theusing:alias is live.fix(xaml)!Drop thelegacy:type-resolution fallback and the 4 SamplesApp samples that depended on it. TheMicrosoft.X → Windows.Xretry is kept: an instrumented build showed it still rescues UWP→WinUI-migrated names likeMicrosoft.UI.Text.FontWeight.refactor(xaml)Remove the unsettableUnoXamlLazyVisualStateManagerEnabledread. Behaviour is unchanged.refactor(wasm)!RemoveTSBindingsGenerator, along with the publicTSInteropMessageAttribute/CodeGeneration, which has no remaining input.fix(generator)+testNativeCtorsGenerator emits#if __IOS__ || __TVOS__, skips non-partial declarations (which previously caused CS0260), and drops the Xamarin wording.chore(generator)Prune 6 deadCompilerVisiblePropertyentries and the deadEffectiveViewportTemplateinput.UnoRemoteControlConfigCookiestays, since it is a rebuild trigger.fix(telemetry)+testXAML telemetry classified every desktop/Android/iOS build as "Reference" because it matched__SKIA__/__TIZEN__. It now classifies from the target platform. The Tizen orphans are deleted.fix(bindable)+testDefiningUNO_DISABLE_KNOWN_MISSING_TYPESin a Debug build with ≥1000 bindable types failed with CS0103 in generated code. The same block printed a literal{type.FullName}. Both are fixed.chore(ios)!Remove the Hot Restart helper generator. Hot Restart isn't supported in Visual Studio 2026 (docs), and 7.0's net10+ requires VS 2026. The generated delegate also bypassed the Skia AppleUIKit host. Uno0004/Uno0005 andUnoDisableHotRestartHelperGenerationare retired.Uno.Sdk and build
fix(sdk)TheExtensionsUnoFeature never took effect: its check was case-sensitive and ran after the SDK lowercasesUnoFeatures. This had been the case since 6.7.fix(sdk)!Remove the deadIsAppleproperties (both the SDK one and the repo one). Migration note for the droppedIsMacCatalyst/IsIOSOrCatalyst: a bare-boolean condition on either is now MSB4100.fix(sdk)Docs now name the switches the SDK actually reads. The unreachable UNOB0011/UNOB0015 are retired.fix(sdk)!Remove the deadUnoUniversalImageLoaderVersion, wireVlcNativeWindowsAssetsVersion, and document the undocumented*Versionknobs.fix(ui)!Trimming feature switches:UnoDragDropExternalSupportis removed; it was a no-op.UnoEnableAlcAppSupportis now emitted as a feature switch.fix(desktop)UNO_WEBVIEW2_BACKENDnow only warns (one backend is left). WebView.md is fixed.fix(analyzers)+test(analyzers)UNO0007 no longer says ProgressRing needs Lottie. UNOX0001 is retired.fix(build)The NuGet-cache override (UnoNugetOverrideVersion) wrote touno.ui.devserverand toandroid30.0for net11, so it silently did nothing there.Public API no-ops
refactor(api)!Remove 6 public FeatureConfiguration/WinRTFeatureConfiguration flags andPagePool.IsPoolingEnabled, all silent no-ops. The ProgressRing asset URIs became no-ops on the 7.0 line itself; useDeterminateSource/IndeterminateSourceinstead.fix(api)!PrettyPrint/ViewExtensionswere accidentally public in the WinAppSDKUno.UI.Extras.dll(their guard was always false there). They are now internal on WinAppSDK.refactor(msal)Delete the dead#if __WASM__arms. MSAL.md and the migration guide now sayWithUnoHelpers()does nothing on WebAssembly.DevServer and docs
fix(devserver)+test(devserver)The DevServer client's Android-emulator / iOS-simulator / WASM host candidates were compile-time branches that can never be defined in this plain-net10.0 project. They are now runtime checks.docs×3: snippets guarded with symbols no build defines (__WINDOWS__,WINUI,HAS_UNO_SKIA,WINDOWS_UWP,NETFX_CORE);bundle://andDefaultImageLoader, which were removed;__MACCATALYST__ → __DESKTOP__advice missing anOperatingSystem.IsMacOS()check.Runtime-test coverage on the WinUI leg
test33 test methods were skipped on native WinUI by Uno-only symbols (!__SKIA__,__CROSSRUNTIME__-derived locals,UNO_HAS_MANAGED_SCROLL_PRESENTER). They now run there and pass. 24 that genuinely differ on WinUI getPlatformCondition(Exclude, NativeWinUI), each with the difference observed.testPort the MUXDateTimePickerHelper/LoopingSelectorHelperpieces and re-enable the parked DatePicker and ProgressRing tests. One test,CanOpenAndCloseUsingKeyboard, stays ignored with a current reason (a real Skia bug, recorded).Please review these decisions
HAS_UNO_SKIA/__UNO_SKIA__are kept as deprecated synonyms of__UNO__, planned for removal in 8.0 (Remove the legacy UNO_REFERENCE_API, HAS_UNO_SKIA and __UNO_SKIA__ symbols (8.0) #24807) alongside the drawing-backend vocabulary. They are not removed now.TreatWarningsAsErrorsbuilds (see the migration note). A few Generated stubs are really implemented, e.g.MicaBackdrop.Kind. Fixing those needs the sync generator (tracked separately).UnoEnableAlcAppSupport=true. This matches the ALC spec's documented default offalse, which is trimmed.PrettyPrint/ViewExtensionsbecome internal on WinAppSDK. An earlier attempt to narrow them, in build: Don't include HAS_UNO_WINUI for Windows builds #16161, was reverted without a stated reason.PR Checklist ✅
Screenshots Compare Test Runresults.Breaking changes
This is 7.0. Every removal has a row in
doc/articles/migrating-to-uno-7.mdand, where it is public API, aPackageDiffIgnoreentry. The consumer-visible changes:UNO_REFERENCE_API/HAS_UNO_SKIA/__UNO_SKIA__are now defined for every non-WinAppSDK project shape.__APPLE_UIKIT__is now defined on ios/tvos.net10.0Headless project no longer gets__DESKTOP__.PagePool.IsPoolingEnabledandTSInteropMessageAttribute.UnoDragDropExternalSupport,UnoUniversalImageLoaderVersion,UnoUseWebView2WPF,IsAppleandUnoDisableHotRestartHelperGeneration.PrettyPrint/ViewExtensionsare no longer public on WinAppSDK.Validation
UnoFastDevBuild, net10.0):Uno.UI.RuntimeTests.Skia,Uno.UI.RuntimeTests.Windowsand SamplesAppnet10.0-desktop..csfiles passdotnet format whitespace --verify-no-changes.Given_Image, a 1px difference at 250% scale) is compile-checked only.Found along the way (not fixed here)
These were recorded for follow-up:
uno-internals-wasm.mdstill documents the removed WASM DOM renderer.MicaBackdrop.KindGenerated stub is actually implemented.ZoomMode=DisabledresetsZoomFactor; compositionTranslationpresence;PropertySet.TryGet*returns animated values;StartAnimationaccepts calls WinUI rejects; LoopingSelector touch pan is ignored after the flyout reopens; the MUX input helpers are broken on WinAppSDK;Pathmeasures non-zero outside the live tree.🤖 Generated with Claude Code
https://claude.ai/code/session_01XKeq31czCtZUwXSBUq43ji