Open Bug 572485 Opened 11 years ago Updated 6 years ago

[Linux] Adaptive Toolbar Glyphs

Categories

(Firefox :: Theme, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

People

(Reporter: shorlander, Unassigned)

References

()

Details

(Whiteboard: [Australis:P-])

Attachments

(2 files)

Attached image Adaptive Glyph Mockup
Most Linux distros ship with several bundled themes as well as supporting installable 3rd party themes. To blend with the system theme in most adaptive way we would like to have glyphs that adapt to the theme's color palette.

Some ideas on how to do this:

- SVG based glyphs that have the base color set to "Highlight"
- Use an SVG mask over the "Highlight" color

A less ideal alternative would be to ship a few glyphs to match a few of the most popular themes with a more general purpose base set.
Attached file CSS/SVG Example
Example of how it could work by using a combination of system colors and CSS effects.
Forget about the "alternative": there are far too many themes out there and themes can even change radically from version to version.

If the CSS/SVG solution works, that would be fine.

Is this change really needed? From a "Firefox identity" POV it makes a lot of sense. Personally, I like the nav icons to fit the rest of my desktop but the user base seems to be split about 50/50 here.

My suggestion would be to use the keyhole for official builds by default, but keep a way to fall back to GTK icons. A checkbox in "customize toolbar" maybe? Distributions could then decide to change the default as they please and users could do the same.
(In reply to comment #2)
> Forget about the "alternative": there are far too many themes out there and
> themes can even change radically from version to version.

I was thinking more along the lines of targeting maybe the most popular 4-5 themes and either having a generic fallback option or switching to native icons. Still it wouldn't be my first choice.

> Is this change really needed? From a "Firefox identity" POV it makes a lot of
> sense. Personally, I like the nav icons to fit the rest of my desktop but the
> user base seems to be split about 50/50 here.

I would like Firefox to have a visual flow and identity among platforms. It also gives us some benefit of control with regard to size and shape of buttons and toolbars.

> My suggestion would be to use the keyhole for official builds by default, but
> keep a way to fall back to GTK icons. A checkbox in "customize toolbar" maybe?

I think this would be ideal.
Another pro-glyph argument: currently, the rendering of button hover and pressed states totally sucks when using a Persona. I guess glyphs would be able to fix this magically...
Whiteboard: [target-betaN]
Whiteboard: [target-betaN]
Is this bug about providing new icons (SVG based) that will work for any Linux themes?

Apparently, "SVG based glyphs that have the base color set to Highlight" will work.
Can we get a couple of icons to experiment with (in bug 572484)?
Blocks: 947356
No longer blocks: 572482, 572484
(In reply to Paul Rouget [:paul] from comment #5)
> Is this bug about providing new icons (SVG based) that will work for any
> Linux themes?
> 
> Apparently, "SVG based glyphs that have the base color set to Highlight"
> will work.
> Can we get a couple of icons to experiment with (in bug 572484)?

You can grab some SVG icons from my latest attempt at this here: http://people.mozilla.org/~shorlander/files/australis-linux-svg-test/australis-liveDemo-linux.html

http://people.mozilla.org/~shorlander/files/australis-linux-svg-test/images-linux/
Not doing this for Australis at this point.
Whiteboard: [Australis:P-]
You need to log in before you can comment on or make changes to this bug.