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 the user uses the English (United States) locale but change their decimal separator to use anything other than a dot, Win2D Path Mini Parser generates the wrong code.
Regression
No response
Reproducible in sample app?
This bug can be reproduced in the sample app.
Steps to reproduce
1. Change the decimal separator in the Control Panel Region Applet
2. Open the Sample App.
3. Go to Helpers > Win2D Path Mini Language Parser
4. Click on any of the samples (i.e., Rounded Star)
5. Observe the Canvas tab showing nothing, and the wrong code being generated in the Commands tab.
Expected behavior
The Canvas tab should show the correct glyphs and the Commands tab should show the correct code being generated, regardless of the user's decimal settings.
Hello dongle-the-gadget, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Describe the bug
When the user uses the English (United States) locale but change their decimal separator to use anything other than a dot, Win2D Path Mini Parser generates the wrong code.
Regression
No response
Reproducible in sample app?
Steps to reproduce
Expected behavior
The Canvas tab should show the correct glyphs and the Commands tab should show the correct code being generated, regardless of the user's decimal settings.
Screenshots
Windows Build Number
Other Windows Build number
23481 and 23486
App minimum and target SDK version
Other SDK version
10.0.22621.0
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
Desktop
Nuget packages
Microsoft.Toolkit.Uwp.UI.Media 7.1.3
Additional context
Wrong path for Rounded Star in English United States + comma as decimal separator:
https://gist.github.com/dongle-the-gadget/16d4112792a56a175008d48e058dbd53
Correct reference path from default locale settings:
https://pastebin.com/raw/fwMPkfKp
From my observation, it seems that the decimal point was entirely missing.
[Unrelated to the problem but worthy to mention: the suffix "f" for float is also missing]
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: