Skip to content

Dev/bc public api phase4 - #23619

Merged
ramezgerges merged 22 commits into
feature/breakingchangesfrom
dev/bc-public-api-phase4
Aug 3, 2026
Merged

ramezgerges merged 22 commits into
feature/breakingchangesfrom
dev/bc-public-api-phase4

Conversation

@ramezgerges

@ramezgerges ramezgerges commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue: closes https://github.com/unoplatform/uno-private/issues/2126, closes #13709

PR Type:

What changed? 🚀

PR Checklist ✅

@ramezgerges
ramezgerges requested a review from MartinZikmund July 2, 2026 03:26
@github-actions github-actions Bot added platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform area/skia ✏️ Categorizes an issue or PR as relevant to Skia 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 kind/documentation platform/x11 🐧 Categorizes an issue or PR as relevant to X11 labels Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

WinAppSDK sync generator drift detected on cbde846

The Uno.WinAppSDKSyncGenerator produced changes that are not committed on this PR.

To apply automatically (PRs from branches in this repo only): comment /apply-sync-gen on this PR and a bot will push chore: Sync generator run to the head branch.

To apply manually (required for PRs from forks):

  1. Download the sync-generator-patch artifact from this run.
  2. In your local checkout of the PR branch:
    git apply sync-generator.patch
    git add -A
    git commit -m "chore: Sync generator run"
    git push
    

Or re-run the generator locally on Windows via build\run-api-sync-tool.cmd.

@unodevops

Copy link
Copy Markdown
Contributor

2 similar comments
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Jul 6, 2026
@unodevops

Copy link
Copy Markdown
Contributor

2 similar comments
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 220938 did not find any UI Test snapshots differences.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 220970 did not find any UI Test snapshots differences.

@unodevops

Copy link
Copy Markdown
Contributor

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

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 221070 found UI Test snapshots differences: skia-linux-screenshots: 0, skia-windows-screenshots: 72

Details
  • skia-linux-screenshots: 0 changed over 2366

  • skia-windows-screenshots: 72 changed over 2366

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DoubleImageBrushInList.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • DisplayInformation.png-dark
    • DropDownButtonPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • Image_UseTargetSize.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • Buttons.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • ClipboardTests.png-dark
    • ClipboardTests.png

@unodevops

Copy link
Copy Markdown
Contributor

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

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 221124 found UI Test snapshots differences: skia-linux-screenshots: 0, skia-windows-screenshots: 72

Details
  • skia-linux-screenshots: 0 changed over 2366

  • skia-windows-screenshots: 72 changed over 2366

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Image_AnimatedWebP.png-dark
    • Image_AnimatedWebP.png
    • Buttons.png-dark
    • DropDownButtonPage.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageBrushInList.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

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

ramezgerges and others added 12 commits July 31, 2026 15:10
BC16 is decided (dropped): the DependencyPropertyChangedEventArgs pool
already captures the allocation win, and the struct drops precedence/
bypass fields. Delete the #if false struct and its stale commented
reference instead of leaving 'bring back in Uno 6' dead code.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
… (BC41)

Move PointerPoint, PointerPointProperties, PointerUpdateKind and
IPointerPointTransform out of Uno.UI (Microsoft.UI.Input) into Uno.UWP so
Uno.UI.Composition can reference the modern type. This unblocks BC41:
VisualInteractionSource/ICompositionTarget/CompositionTarget.TryRedirectForManipulation
now take Microsoft.UI.Input.PointerPoint (was Windows.UI.Input.PointerPoint).

Drops the legacy Windows.UI.Input pointer variant of these types (and the
Microsoft<->Windows bridge), migrating in-assembly consumers (CoreWindow,
PointerEventArgs, injection, InputManager, PointerRoutedEventArgs) to the
modern type. GestureRecognizer/Manipulation stay in Uno.UI (Composition dep).

Compile-validated on Skia + Reference + RuntimeTests. Native/WASM/other Skia
hosts and interactive pointer input pending CI + device validation.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The WinAppSDKSyncGenerator's GetNamespaceBasePath routed all
Microsoft.UI.Input stubs to Uno.UI; after relocating PointerPoint,
PointerPointProperties, PointerUpdateKind and IPointerPointTransform to
Uno.UWP, their generated stubs must be routed there too so a regen
reproduces the layout. Rest of Microsoft.UI.Input stays in Uno.UI.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Follow-up to the PointerPoint relocation (BC41): migrate the platform-
specific and host consumers off the removed Windows.UI.Input pointer
types — PointerHelpers.Android, BrowserPointerInputSource (wasm + Browser
host), FrameBuffer/Tizen input sources, and the GestureRecognizer unit
test + samples. Disambiguate PointerDeviceType (Windows.Devices.Input vs
Microsoft.UI.Input) with per-file aliases/casts.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Round-3 CI fixes: X11/Win32/MacOS/FrameBuffer/Tizen/WASM-Browser input
sources + InputManager.Pointers referenced the removed Windows.UI.Input
pointer types via bare names. Import Microsoft.UI.Input (needed for the
PointerPointProperties extension methods) and disambiguate PointerEventArgs
(-> Windows.UI.Core) and PointerDeviceType (-> Windows.Devices.Input) via
per-file aliases. Validated locally: X11 + FrameBuffer hosts, Uno.UI.Skia,
RuntimeTests.Skia, UnitTests all build clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Apply the WinAppSDKSyncGenerator patch (re-adds the Windows.UI.Input.*
NotImplemented stubs the UWP contract requires, and normalizes the moved
Microsoft.UI.Input pointer stubs) so the sync-generator check passes.

Fix consumers shadowed by the re-added Windows.UI.Input stubs: CoreWindow
and PointerEventArgs drop the now-redundant Windows.UI.Input import; the
Preview.Injection files use namespace-scoped Microsoft.UI.Input aliases
(compilation-unit aliases lose to the enclosing Windows.UI.Input namespace).

Validated: Uno.UWP.Skia, Uno.UI.Skia, X11 + FrameBuffer hosts, UnitTests,
RuntimeTests.Skia all build clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Adds PackageDiffIgnore entries for the Phase-4 visibility reductions,
navigation ctor/setter hiding, Duration.TimeSpan read-only change, and
the Microsoft.UI.Input.PointerPoint family relocation (BC41).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
The BC41 relocation removed the whole `UI\Input\WinRT\*.cs` compile glob
from the Uno.UWP heads, which dropped the entire Windows.UI.Input gesture/
manipulation surface (GestureRecognizer, ManipulationDelta, etc.) — not just
the relocated PointerPoint family. Only the 4 PointerPoint-family files were
meant to move; that removal was accidental scope creep into BC76.

Restore the glob (the 4 relocated files already left the folder) and point
the gesture files' PointerPoint/PointerPointProperties/PointerUpdateKind
references at the relocated global::Microsoft.UI.Input types so they resolve
in both namespace flavors. Revert the 14 gesture/manipulation generated stubs
to their skip-already-declared form that coexists with the glob.

Compile-validated: Uno.UWP Skia+Reference, Uno.UI Skia, RuntimeTests Skia.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Completes BC41: PointerPoint moved to Uno.UWP but its PointerDeviceType
property type (Microsoft.UI.Input.PointerDeviceType) stayed in Uno.UI,
unreachable from Uno.UWP. That silently retyped PointerPoint.PointerDeviceType
to the device-layer Windows.Devices.Input.PointerDeviceType — a WinUI
divergence that broke consumers expecting the modern enum.

Move the enum (and its generated stub) into Uno.UWP alongside PointerPoint,
unconditionally, and route future regen there. Realign consumers now that
PointerPoint.PointerDeviceType is Microsoft.UI.Input.PointerDeviceType again:
VisualInteractionSource, ComboBox, and the two InputManager pointer partials
(device-layer PointerIdentifier.Type sites keep an explicit cast).

Compile-validated: Uno.UWP Skia+Reference, Uno.UI Skia, X11/FrameBuffer hosts,
RuntimeTests Skia.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Adds ignore entries for the remaining intended Uno.WinRT breaks surfaced
once the Uno.WinUI diff went green: GestureRecognizer/PointerEventArgs
methods retyped to Microsoft.UI.Input.PointerPoint, the dropped legacy
Windows.UI.Input.PointerPoint variant, MaterializableList<T> internalization
(BC48), and the Microsoft.UI.Input.PointerDeviceType relocation to Uno.UWP.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@ramezgerges
ramezgerges force-pushed the dev/bc-public-api-phase4 branch from 4920f2d to 45cd24f Compare July 31, 2026 15:29
@github-actions

Copy link
Copy Markdown
Contributor

WinAppSDK sync generator drift detected on 45cd24f

The Uno.WinAppSDKSyncGenerator produced changes that are not committed on this PR.

To apply automatically (PRs from branches in this repo only): comment /apply-sync-gen on this PR and a bot will push chore: Sync generator run to the head branch.

To apply manually (required for PRs from forks):

  1. Download the sync-generator-patch artifact from this run.
  2. In your local checkout of the PR branch:
    git apply sync-generator.patch
    git add -A
    git commit -m "chore: Sync generator run"
    git push
    

Or re-run the generator locally on Windows via build\run-api-sync-tool.cmd.

ramezgerges and others added 3 commits July 31, 2026 15:43
Relocating Microsoft.UI.Input.PointerDeviceType into Uno.UWP introduced it
into the native (Android/WASM-DOM) compilations, where these files import
both it and the device-layer Windows.Devices.Input.PointerDeviceType. Alias
the bare name to the device-layer enum they actually use, and qualify the one
modern (CurrentPoint.PointerDeviceType) site to Microsoft.UI.Input.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
AndroidCorePointerInputSource compares args.CurrentPoint.PointerDeviceType
(now Microsoft.UI.Input.PointerDeviceType after the relocation) against
device-layer constants. Repoint the file's PointerDeviceType alias and the
explicit comparison operands at the modern enum. Other Skia hosts already use
the device-layer enum only (feeding PointerDevice.For/PointerIdentifier), so
they are unaffected.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 225261 found UI Test snapshots differences: skia-windows-screenshots: 328, skia-linux-screenshots: 74

Details
  • skia-windows-screenshots: 328 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png-dark
    • AutomationProperties_AutomationId.png-dark
    • DamageRegion_Static.png-dark
    • DamageRegion_Static.png
    • ElevatedView_Tester.png-dark
    • ElevatedView_Tester.png
    • Elevation.png-dark
    • Elevation.png
    • FileOpenPicker_Bitmap.png-dark
    • FileOpenPicker_Bitmap.png
    • FileSavePickerTests.png-dark
    • FileSavePickerTests.png
    • FolderPickerTests.png-dark
    • FolderPickerTests.png
    • BadgeNotificationTests.png-dark
    • Contacts_Pick.png-dark
    • Contacts_Pick.png
    • ContentPresenter_TextProperties.png-dark
    • ContentPresenter_TextProperties.png
    • ContextRequested.png-dark
  • skia-linux-screenshots: 74 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DamageRegion_ShadowChildPaintingCaster.png-dark
    • DoubleImageBrushInList.png-dark
    • Gamepad_Enumeration.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • DynamicFont.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Image_Margin_Large.png
    • CalendarView_Theming.png-dark
    • ImageBrush_Stretch.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ImageBrushWithRotateTransform.png
    • DisplayInformation.png-dark
    • Gamepad_CurrentReading.png-dark

@mergify

mergify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ramezgerges
ramezgerges merged commit 43acbf6 into feature/breakingchanges Aug 3, 2026
68 checks passed
@ramezgerges
ramezgerges deleted the dev/bc-public-api-phase4 branch August 3, 2026 13:40
MartinZikmund added a commit to ramezgerges/uno that referenced this pull request Sep 21, 2026
…tform#23619/unoplatform#23671/unoplatform#24020/unoplatform#23999

Fold Application.skia.cs and Application.reference.cs back into
Application.cs (unoplatform#24001 skianaming), fix the Lauched->Launched typo
(unoplatform#23619), keep the branch's __SKIA__-only ALC window teardown (unoplatform#23671
was WASM+Skia but native heads are gone), and drop the dead
UNO_HAS_ENHANCED_LIFECYCLE/__NETSTD_REFERENCE__ guards (unoplatform#24020/unoplatform#23999).
Application.reference.cs is dead code in the Skia-only build and is
removed, matching master.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XsQppKuZgijApgJxaTZt81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/code-generation Categorizes an issue or PR as relevant to code generation area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform platform/x11 🐧 Categorizes an issue or PR as relevant to X11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants