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

[BUG] Icons-background-color always set to blue no matter what I set #69

Closed
Sangwan5688 opened this issue Dec 23, 2021 · 10 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Sangwan5688
Copy link

Sangwan5688 commented Dec 23, 2021

ℹ️ Info

Version: v2.6.6

💬 Description

As stated in the title itself, the icon_background_color is always shown blue (or whatever accent color is) in final built package, no matter what I write in config.

📜 Pubspec.yaml

msix_config:
  display_name: BlackHole
  publisher_display_name: Ankit Sangwan
  identity_name: com.shadow.blackhole
  icons_background_color: transparent
  logo_path: assets/ic_launcher.png
  msix_version: 1.0.0.0
  # file_extension: .mp3, .m4a
@YehudaKremer
Copy link
Owner

YehudaKremer commented Dec 23, 2021

Hello @Sangwan5688

What windows version you working with? (see in settings -> system -> about -> version:???)

@Sangwan5688
Copy link
Author

@YehudaKremer I'm on Windows 11 Pro 21H2 (OS Build 22000.376)

@YehudaKremer
Copy link
Owner

From version 20h2 and above, windows don't showing background colors anymore
you can read about this here:
https://docs.microsoft.com/en-us/windows/whats-new/whats-new-windows-10-version-20h2#windows-shell
image

You can work around this by adding background color to your icon itself.

I also a updated the documentation about this, thanks for this report.

@Sangwan5688
Copy link
Author

Ya, so actually the icon is fine in start menu. But during installation, in taskbar and in settings, it shows accent color as background.

During Installation:
Screenshot (194)

In start menu (Looks fine here):
Screenshot (196)

In taskbar or settings (Supposed to be look like first one but looks like second one):
Screenshot (197)

@YehudaKremer YehudaKremer self-assigned this Dec 24, 2021
@YehudaKremer YehudaKremer added the bug Something isn't working label Dec 24, 2021
@YehudaKremer
Copy link
Owner

Hello again

I publish new version (2.7.0) that fix the background color in the taskbar icon,
you only need logo_path now.
please read the changelog.

@Sangwan5688
Copy link
Author

Sangwan5688 commented Dec 28, 2021

Ok, So I tried using latest version, but looks like regardless of logo_path provided, it always create images of Flutter logo.
Edit: The issue with transparency is fixed in taskbar icon though it looks same in app settings and during installation.

Still same during installation:
Screenshot (216)
Same in settings:
Screenshot (214)

Fixed in taskbar (well that's more important)
Screenshot (215)

@YehudaKremer
Copy link
Owner

i will check it,
can please upload here your logo, i will check it too

@Sangwan5688
Copy link
Author

Sure, here's the logo

@YehudaKremer
Copy link
Owner

i upload new version (2.7.2) with fix to show your logo,
please check if its working for you

@Sangwan5688
Copy link
Author

Ok, now it's creating right logo. There's still those boundaries in settings and during installation but it's fine main issue was with taskbar which is resolved.

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
None yet
Development

No branches or pull requests

2 participants