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
When repeatedly reordering a single list item, at some point, the item ends up with extremely rounded borders, causing a visual glitch. This bug can be observed in the WinUI 2 Gallery itself
I was able to replicate the issue by editing a style that includes any Windows.UI.Xaml.Controls control. If the style contains, within the ControlTemplate at the topmost level of the visual tree (highest z-index), a Windows.UI.Xaml.Shapes component, such as a Rectangle, the bug does not occur.
Bellow we can see many styles that will occur the bug
With borders
Without borders
Bellow we can't reproduce the bug, using Shapes
With Rectangle
Why i can't use Shapes and "fix" the bug? The Shapes form don't have Corner radius, only RadiusX or RadiusX, so, we cant set TopLeft or TopRight CornerRadius to create a Style.
Steps to reproduce the bug
Go to WinUI 2 Gallery
Open List View with Drag drop example
Choose a item
Reorder the same item repeatedly
Expected behavior
The item still with original shape
Screenshots
NuGet package version
None
Windows version
Windows 10 (20H2): Build 19042, Windows 11 (24H2): Build 26100
Additional context
No response
The text was updated successfully, but these errors were encountered:
FernandoVeras
changed the title
Reorder in ListView many times createa a disproportionate rounding in UWP
Reorder in ListView many times create a disproportionate rounding in UWP
Jan 7, 2025
Describe the bug
When repeatedly reordering a single list item, at some point, the item ends up with extremely rounded borders, causing a visual glitch. This bug can be observed in the WinUI 2 Gallery itself
I was able to replicate the issue by editing a style that includes any Windows.UI.Xaml.Controls control. If the style contains, within the ControlTemplate at the topmost level of the visual tree (highest z-index), a Windows.UI.Xaml.Shapes component, such as a Rectangle, the bug does not occur.
Bellow we can see many styles that will occur the bug
With borders
Without borders
Bellow we can't reproduce the bug, using Shapes
With Rectangle
Why i can't use Shapes and "fix" the bug? The Shapes form don't have Corner radius, only RadiusX or RadiusX, so, we cant set TopLeft or TopRight CornerRadius to create a Style.
Steps to reproduce the bug
Expected behavior
The item still with original shape
Screenshots
NuGet package version
None
Windows version
Windows 10 (20H2): Build 19042, Windows 11 (24H2): Build 26100
Additional context
No response
The text was updated successfully, but these errors were encountered: