Skip to content

fix(skia): suspend recycle-pooled element visuals - #23447

Closed
DerekRaven wants to merge 7 commits into
masterfrom
dev/dera/repeater-recycled-spinner-sample
Closed

DerekRaven wants to merge 7 commits into
masterfrom
dev/dera/repeater-recycled-spinner-sample

Conversation

@DerekRaven

@DerekRaven DerekRaven commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

What

On the Skia composition path, an element recycled by ItemsRepeater (via RecyclePool) stays parented and composed until it is reused. If it hosts continuously-animating content — e.g. an indeterminate ProgressRing, whose Lottie re-invalidates the canvas from its own Render() — the render loop never idles again after the item is removed: ~100% of one core, full-canvas repaints, with nothing visible on screen.

Fixes #23446.

How

"Elements in the pool are not composed", encapsulated in the pool itself:

  • RecyclePool.PutElementCore suspends the element's visual; TryGetElementCore restores it on reuse — covering every pool consumer and every reuse path.
  • The suspension is a new internal UIElement.IsVisualSuspendedForRecyclePooling (Skia-only) that drives Visual.IsVisible without touching the element's public Visibility — no app-observable state changes, no interference with bindings or visual states.
  • The restore is eager rather than left to the reuse arrange (which can early-out and skip ShowVisual), and ShowVisual respects the flag so an arrange while pooled cannot resurrect the visual.
  • Intentionally not done: detaching pooled elements (WinUI-parity behavior the pool relies on for cheap reuse) or clearing their DataContext. Note: current WinUI does clear the DataContext on recycle when the repeater set it (ViewManager::ClearElementToElementFactory / MustClearDataContext) — Uno's Repeater port predates that change. That is a separate parity gap (tracked in ItemsRepeater: DataContext not cleared on recycle (missing WinUI MustClearDataContext parity) #23624), and measurably not a fix for this bug: running the repro sample on the WinAppSDK head (real WinUI) reports stillParented=True / dataContextUnchanged=False / ringIsActive=True — the pooled ring keeps animating on WinUI even after the clear; WinUI just renders it for free.

Validation

  • Repro: ItemsRepeater_RecycledSpinner SamplesApp sample — two templates so the removed spinner element is recycled but never reused; includes a mechanism readout, a passive frames-per-second probe (the primary render-loop signal — full frame rate while pinned vs ~1–2 frames/s once idle), and an in-app CPU meter (meaningful on software-rasterized targets only; GPU-accelerated desktops read near-idle CPU even while the loop is pinned).

  • Measured on Skia X11 (external 1 Hz sampling of /proc/<pid>/stat):

    Phase Before After
    Spinner visible (animating) ~1.4 cores ~1.3 cores
    After spinner item removed ~1.4 cores, forever 0.00 cores within ~1 s
    Spinner item re-added (element reused) — ~1.3 cores (spinner animates again)

    Control: the same app idling on a static ItemsRepeater sample measures 0.00 cores.

  • Runtime test: When_Item_Removed_Then_Pooled_Element_Visual_Suspended_Until_Reuse — realized → composed; pooled → still parented, suspended, public Visibility untouched; reused → same element instance, composed again. Fails without the RecyclePool change, passes with it.

  • Existing suites: Repeater + MUX repeater runtime tests pass (108/108).

Docs

Uno-UI-Performance.md (Skia specifics) documents the new behavior, plus the ElementClearing/ElementPrepared workaround guidance for earlier versions — including the trap that re-activation on reuse cannot be left to bindings (no re-fire when the new item produces identical values).

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 12, 2026 01:50
@CLAassistant

CLAassistant commented Jun 12, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions

Copy link
Copy Markdown
Contributor

XAML Styler drift detected on 5798f52

XAML files under src/SamplesApp/ are not formatted according to src/SamplesApp/Settings.XamlStyler.

To apply automatically (PRs from branches in this repo only): comment /apply-xaml-style on this PR and a bot will push chore: Apply XAML styler to the head branch.

To apply manually (required for PRs from forks):

  1. Download the xaml-style-patch artifact from this run.
  2. In your local checkout of the PR branch:
    git apply xaml-style.patch
    git add -A
    git commit -m "chore: Apply XAML styler"
    git push
    

Or re-run the formatter locally: dotnet tool restore && dotnet xstyler -d src/SamplesApp -r.

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.

Pull request overview

This PR addresses a Skia-specific performance issue where ItemsRepeater recycled (pooled) elements can remain composed and continue driving the render loop (e.g., via indeterminate ProgressRing / Lottie invalidations) even after their item is removed, leading to sustained high CPU while nothing is visible.

Changes:

  • Add a Skia-only internal UIElement.IsVisualSuspendedForRecyclePooling flag that drives Visual.IsVisible without changing public UIElement.Visibility.
  • Update RecyclePool to suspend visuals on PutElementCore and eagerly restore them on TryGetElementCore.
  • Add a Skia runtime test plus a SamplesApp manual repro sample, and document the behavior in Uno-UI-Performance.md.

Note: The PR description uses Fixes #23446; if the repo’s PR conventions require fully-qualified issue links, update this to Fixes https://github.com/unoplatform/uno/issues/23446.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Uno.UI/UI/Xaml/UIElement.skia.cs Introduces a Skia-only internal suspension flag and makes ShowVisual respect it.
src/Uno.UI/UI/Xaml/Controls/Repeater/RecyclePool.cs Suspends pooled element visuals on recycle and restores them on reuse (Skia only).
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Repeater/Given_ItemsRepeater.cs Adds a Skia-only runtime test validating suspension while pooled and restoration on reuse.
src/SamplesApp/SamplesApp.Samples/Windows_UI_Xaml_Controls/Repeater/ItemsRepeater_RecycledSpinner.xaml Adds a manual repro UI demonstrating the “recycled spinner keeps rendering” scenario.
src/SamplesApp/SamplesApp.Samples/Windows_UI_Xaml_Controls/Repeater/ItemsRepeater_RecycledSpinner.xaml.cs Implements repro logic and CPU measurement/readout for manual validation.
doc/articles/Uno-UI-Performance.md Documents the pooled-visual suspension behavior and guidance for older versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

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

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

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • ImageIconPage.png-dark
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • DisplayInformation.png-dark
    • Image_AnimatedWebP.png-dark
    • Image_AnimatedWebP.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
  • skia-windows-screenshots: 528 changed over 2356

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AppWindowPositionAndSize.png
    • AutomationProperties_Name.png-dark
    • BasicEnability.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Clipping4273.png-dark
    • Clipping4273.png
    • CommandBar_Primary_And_Secondary.png-dark
    • CommandBar_Primary_And_Secondary.png
    • Control_IsEnabled_Inheritance.png-dark
    • Control_IsEnabled_Inheritance.png
    • CornerRadiusControls.png-dark
    • CornerRadiusControls.png
    • ElevatedView_Tester.png-dark
    • ElevatedView_Tester.png
    • Elevation.png-dark
    • Elevation.png
    • Focus_VisualStates.png-dark
    • Focus_VisualStates.png
    • Focus_WASM_Tab.png-dark
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension

@DerekRaven
DerekRaven enabled auto-merge June 16, 2026 01:25
@DerekRaven
DerekRaven disabled auto-merge June 16, 2026 16:13
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

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

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

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Focus_FocusVisual_Properties.png-dark
    • DisplayInformation.png-dark
    • ImageIconPage.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ClipboardTests.png-dark
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
  • skia-windows-screenshots: 646 changed over 2358

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png-dark
    • ApplicationViewSizing.png
    • AppXamlDefinedResources.png
    • AutoSuggestBoxChosenSuggestion.png
    • BadgeNotificationTests.png-dark
    • BorderVersusPanelClipping.png-dark
    • BorderVersusPanelClipping.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • CameraCaptureUISample.png-dark
    • CameraCaptureUISample.png
    • DataTemplate_Update_Sample.png-dark
    • DataTemplate_Update_Sample.png
    • DataTransferManager.png-dark
    • DataTransferManager.png
    • DragDrop_ListView_Custom_States.png-dark
    • DragDrop_ListView_Custom_States.png
    • Focus_FocusCycle.png-dark
    • Focus_FocusCycle.png
    • Focus_FocusState.png-dark
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • 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
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems

DerekRaven and others added 2 commits July 2, 2026 08:02
A RecyclePool keeps a recycled element parented until it is reused, so on
the Skia composition path the pooled element keeps rendering at its stale
position. Continuously-animating content it hosts (e.g. an indeterminate
ProgressRing, whose Lottie re-invalidates the canvas from its own Render)
then keeps the render loop awake at full frame rate indefinitely, with
nothing visible on screen (~100% of one core at idle).

Suspend the element's visual when it enters the pool and restore it when
the pool hands the element back, via internal composition state only —
the element's public Visibility is untouched, and the restore is eager
because the reuse arrange can early-out and skip ShowVisual.

- Repro: SamplesApp ItemsRepeater_RecycledSpinner. Measured on Skia X11:
  ~1.4 cores pinned after item removal before the fix; 0.00 cores within
  ~1s after it (and back to animating when the element is reused).
- Test: When_Item_Removed_Then_Pooled_Element_Visual_Suspended_Until_Reuse
  (fails without the RecyclePool change, passes with it). Repeater + MUX
  repeater runtime suites pass (108/108).
- Docs: note the behavior in Uno-UI-Performance.md (Skia specifics).

Addresses #23446.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
- Drop redundant DependencyObject from FindDescendant<T> generic
  constraint; DependencyObject is a base class on WinAppSDK so
  'class, DependencyObject' triggers CS0450. The method body only
  needs 'where T : class', which compiles on both WinAppSDK and Uno.
- Reformat the DataTemplate comment per XamlStyler to clear style drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Measured on the WinAppSDK head, the recycled-spinner mechanism readout is
True / False / True: current WinUI clears the DataContext on recycle
(ViewManager MustClearDataContext), which Uno's Repeater port predates.
The ring still stays active there — WinUI just pays nothing for it.
State both expectations instead of the Skia-only one.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 17:33
@DerekRaven
DerekRaven force-pushed the dev/dera/repeater-recycled-spinner-sample branch from 7adf9fe to 0910e59 Compare July 2, 2026 17:33
@github-actions github-actions Bot added area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/automation Categorizes an issue or PR as relevant to project automation kind/documentation labels Jul 2, 2026

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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

DerekRaven and others added 2 commits July 2, 2026 10:45
The sample ships in the same PR as the RecyclePool fix, so its copy
described the pre-fix behavior ("stays at ~100% of one core") as the
actual outcome. Reword the sample description, in-app instructions, and
mechanism readout as before/after-fix diagnostics so the text stays
accurate on fixed builds. Addresses review feedback.

Co-Authored-By: Claude Fable 5 <[email protected]>
The in-app CPU meter only reflects the render loop on software-rasterized
targets; on GPU-accelerated desktops both phases read near idle, so it
cannot demonstrate the fix. Add a passive SKCanvasElement probe whose
RenderOverride counts composed frames, sampled at 1 Hz: ~1-2 frames/s
when the loop idles vs full frame rate while it is pinned, on any GPU.
CompositionTarget.Rendering is unsuitable — subscribing forces the
render loop awake on both Uno Skia and WinUI. Keep the CPU meter as a
secondary signal with its scope stated.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 18:04

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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

@unodevops

Copy link
Copy Markdown
Contributor

The SKCanvasElement probe missed frames: per-visual picture caching
replays unchanged visuals without invoking their paint, so the probe
only counted its own invalidations and read idle while the Lottie
animated. Subscribe to the Uno-internal CompositionTarget.FrameRendered
instead — raised once at the end of every composed frame, and
InternalsVisibleTo covers the Skia sample heads.

Validated on Skia X11: ~60 frames/s while the spinner animates,
0-1 frames/s within one second of removing the item (fix active),
mechanism readout True/True/True.

Co-Authored-By: Claude Fable 5 <[email protected]>
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

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

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

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ClipboardTests.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • Buttons.png-dark
    • Buttons.png
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • Focus_FocusVisual_Properties.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • Image_AnimatedWebP.png-dark
    • Image_AnimatedWebP.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
  • skia-windows-screenshots: 2348 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png
    • ApplicationViewSizing.png-dark
    • Attributed_text_FontSize_Changing.png
    • AutoSizedPathCentered.png
    • AutoSuggestBox_Reason.png
    • BasicAutoSuggestBox.png
    • Battery.png
    • BezierSegment.png
    • BitmapIcon_Sizing.png
    • BitmapImage_vs_SvgImageSource.png-dark
    • Border_CornerRadius_Clipping.png
    • Border_CornerRadius_Clipping2.png-dark
    • Border_Simple_with_non_Uniform_Thickness.png-dark
    • Border_Simple_with_non_Uniform_Thickness.png
    • Buttons.png-dark
    • Buttons.png
    • CheckBox_IsEnabled_Automated.png-dark
    • CheckBox_IsEnabled_Automated.png
    • ComboBox_DropDownPlacement.png-dark
    • ComboBox_DropDownPlacement.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Uno_Web.Http.CookieManagerTests
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@unodevops

Copy link
Copy Markdown
Contributor

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

The instructions stated the mechanism line always shows a stale
DataContext (WinUI clears it on recycle), and the CPU meter pointed
GPU desktops at 'the frame probe' even on targets where the probe is
unavailable and the frame line already names an external alternative.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 20:15

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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

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

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

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DisplayInformation.png-dark
    • Buttons.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • Examples.png-dark
    • Examples.png
    • Focus_FocusVisual_Properties.png-dark
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • ImageIconPage.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
  • skia-windows-screenshots: 2348 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png
    • ApplicationViewSpanningRectsPage.png-dark
    • Attributed_text_Supserscript.png-dark
    • AutomationPropertiesExtensions_Role.png
    • AutoSuggestBox_Icons.png
    • Basics Pivot Test.png-dark
    • BeginTime_MultipleAnimations.png-dark
    • BitmapIcon_Sizing.png-dark
    • Border_BorderThickness.png
    • Border_Clipped_Change_Property.png-dark
    • Border_CornerRadius_Toggle.png
    • Border_CornerRadius_with_Opacity.png-dark
    • Border_With_ScaleTransform.png-dark
    • Border_With_ScaleTransform.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • ColorPickerSample.png-dark
    • ColorPickerSample.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
    • 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
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Uno_Web.Http.CookieManagerTests
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@unodevops

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Sep 1, 2026

@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.

The suspension is paired at pool put/take, leaves public Visibility intact, survives an arrange while pooled, and restores eagerly when reuse does not trigger another arrange. The Skia render path skips invisible visuals, addressing the render-driven spinner loop without detaching pool entries.

Retain the explicit remaining WinUI difference: ViewManager clears DataContext when the repeater assigned it. This patch intentionally does not port that ownership cleanup, so visual suspension is not full recycle-lifecycle parity. Source approval; conflicts must still be reconciled.

@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions Bot closed this Sep 27, 2026
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/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation stale This item has been marked as stale and will be closed if there is no activity.

Projects

None yet

9 participants