Open tingjiangcao opened 5 months ago
Looks like it's already fixed. There is a appWindow.SetIcon("Assets/Tiles/GalleryIcon.ico");
in NavigationRootPage.xaml.cs
WinUI 3 Gallery 2.4.3.0
There is also no icon in the task manager and in the hover window in the taskbar.
Screenshots
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