microsoft / microsoft/microsoft-ui-xaml
SemanticZoom does not display anything when used with Native AOT compilation
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
When using .NET with Native AOT for a WinUI 3 or UWP application, the SemanticZoom control fails to display its content. You find same problem in SemanticZoom with AOT?
Why is this important?
SemanticZoom is one of a key control in WinUI, without AOT support, developers cannot adopt Native AOT in many essential app scenarios.
Steps to reproduce the bug
Example Code to Reproduce:original-sound-hq-player
I'm guessing it related with cswinrt.
Actual behavior
No response
Expected behavior
No response
Screenshots
NuGet package version
2.1.3
Windows version
Windows 11 (24H2): Build 26100
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 reproducing the issue with the original-sound-hq-player AlbumPage.xaml example under Native AOT, then review the SemanticZoom control and the linked discussion about AOT. Done means SemanticZoom displays its content correctly in a WinUI 3 or UWP application compiled with Native AOT.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100