You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Skia/Win32] Accessibility raises a UIA BoundingRectangle event for every moved element on each layout pass #24784
On the Skia Win32 head, Win32Accessibility.OnSizeOrOffsetChanged raises a UIA BoundingRectangle property-changed event (UiaRaiseAutomationPropertyChangedEvent) for every element whose visual moves or resizes. UIA clients such as PowerToys, TextInputHost and Chromium browsers are listening on most desktops, so while scrolling a virtualized list every frame pays a native UIA call per realized element.
Profiled scroll of an ItemsRepeater + UniformGridLayout grid of 2,837 Fluent Button tiles (12 × 60 steps of 40 px): ~270–390 ms of UI-thread time is under AccessibilityRouter.OnVisualOffsetOrSizeChanged → Win32Accessibility.OnSizeOrOffsetChanged. Uno 6.5 had no such cost.
Expected behavior 🎯
Match WinUI: WinUI never raises BoundingRectangle changes on layout. UIA clients pull get_BoundingRectangle on demand (CUIAWrapper::get_BoundingRectangle).
How to reproduce it (as minimally and precisely as possible) 🔬
Skia desktop app on Windows, ScrollViewer > ItemsRepeater with UniformGridLayout, ~2,800 Button items.
Scroll with ChangeView(null, offset, null, disableAnimation: true) in 40 px steps.
Profile with dotnet-trace (dotnet-sampled-thread-time): Win32Accessibility.OnSizeOrOffsetChanged shows up on the UI thread every frame.
Workaround 🛠️
None from app code.
Renderer 🎨
Skia
Native
Affected platforms 📱💻🖥️
Desktop (Windows)
Uno.Sdk version (and other relevant versions) 📦
Uno.Sdk 6.7.22 (Uno.WinUI 6.7.103), 6.8.0-dev.51, and master.
IDE version 🧑💻
No response
Anything else we need to know? 💬
Found while investigating the remaining 6.5 → 6.8 scroll gap reported by @mikernet in #23984.
Activity
Jen-Uno commentedon Sep 30, 2026
QA: closing out without a manual pass. The fix in #24785 ships with automated tests (
Given_Win32Accessibility.cs) that exercise the change.If you still see this behaviour on a build that includes that PR, please reopen or comment here.