Skip to content

[WIP] Fix GridView virtualization for performance improvement - #21968

Closed
MartinZikmund with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-gridview-virtualization-issue
Closed

MartinZikmund with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-gridview-virtualization-issue

Conversation

Copilot AI commented Nov 26, 2025 •

Copy link
Copy Markdown
Contributor
  • Understand the issue: GridView is not virtualizing items on Skia platform, causing severe performance issues
  • Analyze the codebase:
    • ItemsStackPanel has a managed implementation (ItemsStackPanelLayout.managed.cs) for Skia/WASM
    • ItemsWrapGrid is missing the managed implementation - it only has implementations for Android and iOS
    • ItemsWrapGrid.cs has #if !IS_UNIT_TESTS && !UNO_REFERENCE_API which excludes it from Skia/WASM
  • Create ItemsWrapGridLayout.managed.cs with virtualization support for Skia
  • Update ItemsWrapGrid.cs to support Skia/WASM platforms
  • Create ItemsWrapGrid.managed.cs to enable proper layout handling on Skia
  • Build and test the changes
  • Run code review and security checks
Original prompt

This section details on the original issue you should resolve

<issue_title>[Skia] GridView Virtualization</issue_title>
<issue_description>### What would you like to be added? 💡

Not sure if this isn't working correctly and should be a bug or if this is expected at this time and should be an enhancement request, but GridView is not virtualizing items, which makes it very slow and memory intensive for grid views with a large number of items (~10k simple items uses 5GB memory, locks up UI for 10 seconds on startup and scrolling is very janky). This means Skia -desktop is unusable for my use-case and is forcing me to use WinAppSdk instead (which runs great).

Why is this needed? 🤔

Performance.

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

Desktop (Windows)

Anything else we need to know? 💬

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 185215 has failed on Uno.UI - docs.

@unodevops

Copy link
Copy Markdown
Contributor

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

@github-actions

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 Jan 26, 2026
@github-actions

github-actions Bot commented Feb 5, 2026

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 Feb 5, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 2, 2026
@MartinZikmund MartinZikmund removed the stale This item has been marked as stale and will be closed if there is no activity. label Jun 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Skia] GridView Virtualization

4 participants