unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.74k stars 706 forks source link

[XamlReader] `StrokeDashArray` raises exception on Uno #16625

Open iurycarlos opened 3 months ago

iurycarlos commented 3 months ago

Current behavior

Adding StrokeDashArray attribute to a rectangle (shape) will generate an exception on Uno:

https://playgroundcanary.z19.web.core.windows.net/#00dbca18

Expected behavior

Should work exactly as WinUI

How to reproduce it (as minimally and precisely as possible)

Go to the following snippet and observe the raised exception:

https://playgroundcanary.z19.web.core.windows.net/#00dbca18

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Youssef1313 commented 3 months ago

This happens only in XAML reader

agneszitte commented 3 months ago

This happens only in XAML reader

fyi @iurycarlos, @Youssef1313, @MartinZikmund I added this other issue for my tests the other day