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
[tvOS] ScrollViewer extent stuck at 19px when shrunk to 16x16 with WinUI Generic.xaml styles #25151
area/scrollviewer ⏬Categorizes an issue or PR as relevant to ScrollViewerkind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification
With the WinUI Generic.xaml styles from #21513, Given_ScrollViewer.When_ScrollViewer_Resized fails on Skia tvOS only. When the ScrollViewer shrinks to 16×16, the extent and content stay at 19px:
Expected Super-shrinking [16x16] to be 16.0 because Extent, but found 19.0 (difference of 3).
Expected Super-shrinking [16x16] to be 16.0 because content ActualWidth, but found 19.0 (difference of 3).
It fails the same way on every retry (CI build 238253, tvOS Skia Runtime Tests 1, 4 attempts). It passes on iOS, Android, WASM, Linux, macOS and Windows. Larger sizes (200×400, 250×450, 225×425) pass on tvOS too. The last several master builds don't fail it.
The test is disabled on tvOS in #21513 until this is resolved.
Expected behavior 🎯
The extent and content size match the 16×16 viewport, as they do on the other platforms and on master.
How to reproduce it (as minimally and precisely as possible) 🔬
Run Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_ScrollViewer.When_ScrollViewer_Resized on Skia tvOS with the #21513 styles, after removing the SkiaTvOS exclusion.
Suspected cause (not verified): the new ScrollViewer/ScrollBar template has a minimum size or margin, about 19px, that takes effect at tiny viewport sizes on tvOS. tvOS has no mouse, so the ScrollBar indicator mode or visual state may differ from iOS.
Workaround 🛠️
None needed for apps yet. This only appears with a 16px ScrollViewer, and only with the #21513 styles.
area/scrollviewer ⏬Categorizes an issue or PR as relevant to ScrollViewerkind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification
Activity
test: Disable ScrollViewer resize test on tvOS
test: Disable ScrollViewer resize test on tvOS
test: Disable ScrollViewer resize test on tvOS
test: Disable ScrollViewer resize test on tvOS
test: Disable ScrollViewer resize test on tvOS