microsoft / microsoft/WinUI-Gallery
App icon missing when packaged
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 17h 51m
- Merged PRs (30d)
- 14
Description
Which version of the app?
WinUI 3 Gallery
Description
In "Windows + TAB" or "ALT + TAB" interface, the title bar icon shows the default icon instead of the app's icon.
Screenshots
Currently need "AppWindow.SetIcon("xxx")" to solve the problem
I think after setting the icon in "Package.appxmainfest", the titlebar icon should be set at the same time, instead of setting it manually. (SDK optimization suggestion)
Windows version
No response
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 with Package.appxmanifest and the title-bar initialization that uses AppWindow.SetIcon("xxx"). Reproduce the default icon in the Windows + Tab or Alt + Tab interface, then verify that the packaged app icon is used without manual icon assignment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100