Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon problem in the title barBug title #1512

Open
tingjiangcao opened this issue Mar 24, 2024 · 1 comment
Open

Icon problem in the title barBug title #1512

tingjiangcao opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tingjiangcao
Copy link

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

Snipaste_2024-03-24_17-56-33

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

@tingjiangcao tingjiangcao added bug Something isn't working needs-triage labels Mar 24, 2024
@HO-COOH
Copy link
Contributor

HO-COOH commented May 23, 2024

Looks like it's already fixed. There is a appWindow.SetIcon("Assets/Tiles/GalleryIcon.ico"); in NavigationRootPage.xaml.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants