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

Chromium Web Store extension icon notification counter number is not visible properly #101

Closed
guest999v22 opened this issue Jul 26, 2022 · 4 comments

Comments

@guest999v22
Copy link

This is what the counter looked like before chrome v102 update:
chrome old icon 01

This is what the counter looks like in later chrome versions:
chrome new icon 01

chrome new icon 03

I have tried enabling disabling "Pervasive system accent color" chrome flag along with win 10 accent colour setting with no success. As it can be seen in the last pic, other extensions are managing it properly so it should be doable for this extension too & hopefully nothing complicated to implement.

@NeverDecaf
Copy link
Owner

NeverDecaf commented Jul 26, 2022

Are you using version 1.5+? If so, this is caused by a bug(?) in Manifest V3, see: https://support.google.com/chrome/thread/164964343/chrome-extensions-have-black-dark-box-and-text-for-notifications
If other extensions have white text, they are using Manifest V2.

Edit: I'm not sure if the blame lies on Manifest v3 as some extensions shown in that thread are still using Manifest v2. I can't say what is causing this bug, but the API provides no method to change the badge text color; I'll look into it more later when I have the time.
https://bugs.chromium.org/p/chromium/issues/detail?id=1321962&q=badge&can=2

@NeverDecaf
Copy link
Owner

After a quick read through https://bugs.chromium.org/p/chromium/issues/detail?id=1321962&q=badge&can=2 I believe this might be an intentional and permanent change. I think the only fix may be to change the badge background color to a color where white is more contrasting than black.

@guest999v22
Copy link
Author

I am using v1.4.4.2. I have seen this similar issue in another extension where the developer fixed it in later version likely by doing the same thing you mentioned.

@NeverDecaf
Copy link
Owner

Yep, just had to change the red from #FF0000 to #FE0000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants