Repository navigation
Conversation
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23597/wasm-skia-net9/index.html |
|
The build 220158 did not find any UI Test snapshots differences. |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23597/wasm-skia-net9/index.html |
|
The build 220263 did not find any UI Test snapshots differences. |
83cb6d8 to
305c05b
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23597/wasm-skia-net9/index.html |
|
The build 220871 did not find any UI Test snapshots differences. |
305c05b to
abad3ce
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23597/wasm-skia-net9/index.html |
|
The build 220919 did not find any UI Test snapshots differences. |
Remove the public Uno-only `UIElement.EventsBubblingInManagedCode` dependency property (the static `EventsBubblingInManagedCodeProperty`, the instance accessor, and the `CoerceRoutedEventFlag` callback). It is a native-bubbling knob with no WinUI counterpart that let apps force specific routed events to bubble in managed code on the native targets. Behaviour is unchanged on every reachable default path: the property defaulted to `RoutedEventFlag.None`, so `None.HasFlag(flag)` was already false and `IsBubblingInManagedCode` deferred to native bubbling whenever `CanBubbleNatively`. The simplified `IsBubblingInManagedCode(args) => args is null || !args.CanBubbleNatively` returns false in exactly that same case; only the app-settable override is gone. The native-bubbling plumbing (`CanBubbleNatively`) is kept intact so the native heads keep behaving as-is. Drop the one unit test that exercised the removed override, trim the doc prose for the removed knob, and register the public API removal in build/PackageDiffIgnore.xml. Part of breaking-changes Phase 3 (#8339). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
abad3ce to
ea12840
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23597/wasm-skia-net9/index.html |
|
The build 221017 did not find any UI Test snapshots differences. |
GitHub Issue: https://github.com/unoplatform/uno-private/issues/2125
PR Type:
🔄 Refactoring (no functional changes, no api changes)
What changed? 🚀
Implements BC04 from breaking-changes Phase 3 (#8339): removes the public Uno-only
UIElement.EventsBubblingInManagedCodedependency property — a native-bubbling knob with no WinUI counterpart that let apps force specific routed events to bubble in managed code on the native targets.EventsBubblingInManagedCodeProperty, the instanceEventsBubblingInManagedCodeaccessor, and theCoerceRoutedEventFlagcoerce callback fromUIElement.RoutedEvents.cs.IsBubblingInManagedCode(args) => args is null || !args.CanBubbleNatively(theroutedEventparameter is no longer needed).CanBubbleNatively) intact so the native heads keep behaving as-is.CanBubbleNativelymechanism).build/PackageDiffIgnore.xml(6.6 set, matching the baseline already used for this branch's breaking-change entries).On default settings runtime behavior is unchanged. The property defaulted to
RoutedEventFlag.None, soNone.HasFlag(realFlag)was alreadyfalseandIsBubblingInManagedCodedeferred to native bubbling wheneverCanBubbleNatively. The simplified helper returnsfalsein exactly that same case — only the app-settable override is gone.PR Checklist ✅
Given_TappedRoutedEvent) passes — 10 passed / 0 failed, including the 3 survivingCanBubbleNatively=truescenarios that prove the default path is intact.Screenshots Compare Test Runresults.Breaking changes & migration
EventsBubblingInManagedCode(BC04): the publicUIElement.EventsBubblingInManagedCodeDP (andEventsBubblingInManagedCodeProperty) is removed. It only had an effect on the native targets (native Android Views, iOS/UIKit, WASM DOM) for forcing native-originated routed events to bubble in managed code; on Skia it was already a no-op. Migration: there is no replacement — the default behavior (native bubbling when the platform supports it, otherwise managed bubbling) is preserved automatically. Apps that set the property purely to influence native interop should remove the assignment.Validation evidence
Uno.UI.UnitTests(Uno.UI Reference flavor) builds clean — 0 warnings, 0 errors.Given_TappedRoutedEvent— 10 passed / 0 failed.PackageDiffallow-list runs CI-only.