infirmary-integrated icon indicating copy to clipboard operation
infirmary-integrated copied to clipboard

Non-Latin-Based Languages all Devices crash on Window initiation. (Windows Only?)

Open tanjera opened this issue 2 years ago • 2 comments

Only appears to affect non-Latin-based languages including: Hindi, Hebrew, Arabic, Chinese Does not affect: English, Spanish, French, Portuguese, etc.

tanjera avatar Jul 10 '22 21:07 tanjera

Tested on Linux, bug not reproducible. Suspect it may be a problem with AvaloniaUI on Windows w/ either fonts or language.

Debugged InitInterface() functions without any Exceptions thrown. Also commented out all InitInterface() language/text assignment and issue did not resolve. This leads me to believe it's not a problem with assigning text, rendering text, etc... may have to do with layout elements being handled incorrectly due to different fonts or language scheme.

Since it was not reproducible in Linux and did resolve with modifications to how Infirmary handles language in the interface, going to treat as a "known issue" possibly with upstream (AvaloniaUI) for now.

Next steps for triage/priority: attempt to reproduce in MacOS, determine if this is truly Windows-only?

tanjera avatar Jul 10 '22 21:07 tanjera

Note: also tested on previous versions to determine when the problem originated. It was present since IISIM (IIAvalonia) 2.0: the initial port to AvaloniaUI. I think this bug was not manifesting at the time of the port (though the code from that time is currently manifesting the bug) which is why I suspect it may be an upstream change (in dotnet, Avalonia, Windows) that is causing this problem.

tanjera avatar Jul 10 '22 21:07 tanjera

Tested after updating Avalonia packages in b115fd8 and the problem is resolved. Closing.

tanjera avatar Jan 28 '23 21:01 tanjera