Repository navigation
Description
Current behavior π
Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_ListViewBase.When_Reorder_DragDrop_ScrollsAwayFromDraggedItem_KeepsExtentAndPositions fails intermittently on the iOS Skia CI leg (Tests - iOS Skia / Runtime Tests 0), always on the same mid-drag assertion:
Assert.AreEqual failed. Expected a difference no greater than <0.5> between expected value <1440> and actual value <1560>.
'expected' expression: 'expectedExtent', 'actual' expression: 'scroll.ExtentHeight'.
extent must not grow while a reorder is in flight and the list scrolls away from the dragged item
The list is 36 rows Γ 40 px = 1440 px, and mid-drag the extent measures 1560 px β exactly 3 phantom rows. When it fails it is the only failing test of the ~2000 in the shard.
Occurrences observed since the test merged on 2026-08-04 (via #23946):
| Build | Branch | Result |
|---|---|---|
| 225991 (2026-08-05) | master |
iOS Skia attempt 1 failed on this test, passed on attempt 2 |
| 226424 (2026-08-07) | PR #24007 | this test in the iOS Skia failure artifact |
| 226524 (2026-08-07/08) | PR #24012 | 5/5 stage attempts failed on this single test, each on a different hosted agent, identical values every time |
Other builds the same days passed iOS Skia on attempt 1, so it is intermittent β but the identical 1440 β 1560 values on every failure suggest a real, timing-dependent residue of the extent-estimation corruption that #23946 fixed (pre-fix the same scenario measured 2920), surfacing only under the iOS simulator's timing profile. In other words this looks like signal about EstimatePanelExtent()/reorder interplay on Skia-iOS, not pure test noise.
The test only runs on Skia targets with input injection; the desktop Skia and Android Skia legs have not shown this failure.
Expected behavior π―
The extent must not grow while a reorder is in flight and the list scrolls away from the dragged item β deterministically, on all Skia targets, so the test passes reliably on the iOS Skia CI leg.
How to reproduce it (as minimally and precisely as possible) π¬
Run Given_ListViewBase.When_Reorder_DragDrop_ScrollsAwayFromDraggedItem_KeepsExtentAndPositions on the iOS Skia runtime-tests CI leg (shard Runtime Tests 0). It reproduces intermittently there; build 226524 reproduced it on 5 consecutive stage attempts.
Workaround π οΈ
Gate the test off Skia-iOS (RuntimeTestPlatforms.Skia & ~RuntimeTestPlatforms.SkiaIOS) until the underlying extent growth on the iOS timing profile is understood β the desktop and Android Skia legs keep covering the regression #23946 fixed.
Renderer π¨
- Skia
- Native
Affected platforms π±π»π₯οΈ
iOS
Uno.Sdk version (and other relevant versions) π¦
Repo master @ 2be1840 (6.8-dev), test added in #23946 (2026-08-04).
IDE version π§βπ»
n/a (CI)
Anything else we need to know? π¬
Related to the flaky-tests tracking issue #9080. /cc @Xiaoy312 (test author of #23946) β the mid-drag extent invariant genuinely breaks intermittently on Skia-iOS with the same values every time, so this is likely worth a look beyond just de-flaking CI.
Activity
test(listview): gate reorder scroll-away test off Skia-iOS
kazo0 commentedon Aug 8, 2026
FYI @Xiaoy312
test(listview): gate reorder scroll-away test off Skia-iOS