-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SymbolIcon broken in non english languages. #8385
Comments
I know exactly why: MicrosoftDocs/winrt-api#2363 |
SymbolIcon is practically deprecated. See #5887 (comment) |
Hi @llongley can you explain how this issue is fixed? |
@Jay-o-Way Looking at the internal issue, it looks like this was the fix: #8379. This fix was also in WinAppSDK 1.4. |
This comment has been minimized.
This comment has been minimized.
Hey @Jay-o-Way, the fix for this issue was in 2 parts:
The linked comment above (#8379) was to update the controls in WinUI2. The same fix was ported over to WinUI3, and a separate PR was merged in for SymbolEnum. Both these PRs are internal and serviced for WASDK 1.4. Please let me know if you are still able to repro this issue. Please reference the comment here explaining. |
Okay, so it's internal and thus invisible, right? That's good to know. A comment like such would have been nice. |
Actually, WinUI3 source is available now! Here's the code that maps the glyphs for your reference: https://github.com/microsoft/microsoft-ui-xaml/blob/winui3/release/1.5-stable/dxaml/xcp/core/core/elements/icon.cpp#L448 Note that the decision to write a map rather than replacing the glyphs explicitly is to avoid any breaking changes in the SymbolEnum API (and a whole formal API review). |
@karkarl thank you so much! I absolutely love the quality of your communication! You're the best! |
Describe the bug
The control symbolIcon of Winui3 will cause garbled code in non English environments
Steps to reproduce the bug
Expected behavior
The control will be garbled instead of the expected Symbol.
Screenshots
NuGet package version
None
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response
The text was updated successfully, but these errors were encountered: