microsoft / microsoft/microsoft-ui-xaml
Crash occurs when enabling localization in Windows 11 OS
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
Describe the bug
Hi Team,
In Windows 11 OS, the application is crashed when the application is enabled with localization by using the Custom Control. You can also be able to replicate by using the below sample.
Steps to reproduce the bug
Open the PackLocalizationApp project.
Run the project in the mentioned OS.
Note, the application is crashed.
Expected behavior
in sample, we have added the localization resw file and missed to define in code behind. it should run properly.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.8 Experimental 1: 1.8.250515001-experimental2
Windows version
Windows 11 (23H2): Build 22631, Windows 11 (22H2): Build 22621
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by opening the attached PackLocalizationApp.zip and reproducing the crash on Windows 11 with the stated Windows App SDK version. Compare the sample's localization resw file and missing code-behind definition, then verify that the application runs without crashing while localization remains enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100