I get colors out of this but not the exact color of Group of Tabs. It would be cool if we could get that info to use it.
Where to get help for add-ons?
Here is clearly not an active place.
Hey @Rhialto! I’ve been on vacation, but I’m checking in here on my last day off because I missed answering questions like this
When you say group.color
, I assume you’re referring to TabGroup.color. If so, yes, that’s the correct way to retrieve the color setting for a tab group.
I get colors out of this but not the exact color of Group of Tabs.
This may have been a bug in the version of Firefox you were using. As noted in this blog post, Firefox 138 only had initial support for the concept of tab groups. The Tab Groups API was added in Firefox 139 (developer release notes).
Just in case, I’d suggest testing again in the most recent version of Nightly, Beta, or Developer Edition.
Was also on a trip for the last 2 weeks.
I found out that the color match what is set when the TabGroup is open/extended, what happens is when TabGroup is closed/collapsed the color change. One obvious is Orange looking more Red when TabGroup is closed/collapsed. Same for Yellow which looks like a light brown when TabGroup is closed/collapsed and I wanted to read that color. Not sure it is possible?
Oh, huh! I didn’t realize the color changed when collapsed. Unfortunately those modified versions of the colors aren’t exposed in the extensions API.
Could they in a next API update? Where to ask for this? Could be useful for plugins that will manage Group of Tabs.
Where you open the feature request depends on what you’re after. If you only want a change in Firefox, it’s best to start with the WebExtensions product on bugzilla.mozilla.org. If you want to see a change in multiple web browsers, I’d suggest starting a discussion on the WebExtensions Community Group.
In either case, the browser developers will want to know more about the use case motivating this request. That is, what problem are you trying to solve? How significant is that problem? How many users does it affect? What extensions are interested in seeing this problem addressed?
Thank you! I filled this form so we will see what happen…