Closed
Bug 1181541
Opened 8 years ago
Closed 8 years ago
Branding identity icons for internal pages should be SVG
Categories
(Firefox :: General, defect, P1)
Firefox
General
Tracking
()
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: ttaubert, Assigned: MattN)
References
Details
(Keywords: addon-compat, Whiteboard: [fxprivacy] [campaign])
Attachments
(3 files, 1 obsolete file)
With bug 1175678 fixed all the URL bar icons will be SVG. We should do the same for the branding icons, there currently are three different ones: Aurora, Nightly/Unofficial, and Official. Steven, how difficult would it be to get those in 16px and 24px versions?
Flags: qe-verify-
Flags: needinfo?(shorlander)
Flags: firefox-backlog?
Reporter | ||
Updated•8 years ago
|
Whiteboard: [fxprivacy]
Updated•8 years ago
|
Whiteboard: [fxprivacy] → [fxprivacy] [ux]
Updated•8 years ago
|
Rank: 4
Flags: firefox-backlog? → firefox-backlog+
Priority: -- → P2
Summary: [ux] Branding identity icons for internal pages should be SVG → [UX] Branding identity icons for internal pages should be SVG
Updated•8 years ago
|
Rank: 4
Here's an SVG. Not knowing what you need it for I have a few concerns. SVGs are not always an appropriate format, and you might actually need a highly tailored SVG file to get good results. Can someone send me the mock up of what's being proposed. I might be able to create a better option for you.
Assignee | ||
Comment 2•8 years ago
|
||
This is for http://grab.by/IR7W (e.g. from about:home) which we want to scale for various dppx (e.g. on Windows with 1.25x, 1.5x, etc.) We're looking for replacements for the files listed here: https://mxr.mozilla.org/mozilla-central/find?string=identity-icons-brand&tree=mozilla-central&hint=
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(bbell)
Here are the SVGs you asked for.
Attachment #8634308 -
Attachment is obsolete: true
Flags: needinfo?(shorlander)
Flags: needinfo?(bbell)
Assignee | ||
Comment 4•8 years ago
|
||
Thanks!
Assignee: nobody → MattN+bmo
Blocks: 1023511
Status: NEW → ASSIGNED
Iteration: --- → 42.2 - Jul 27
Points: --- → 3
Updated•8 years ago
|
Rank: 4
Priority: P2 → P1
Whiteboard: [fxprivacy] [ux] → [fxprivacy]
Updated•8 years ago
|
Summary: [UX] Branding identity icons for internal pages should be SVG → Branding identity icons for internal pages should be SVG
Whiteboard: [fxprivacy] → [fxprivacy] [campaign]
Assignee | ||
Comment 5•8 years ago
|
||
I couldn't fine anywhere the 2nd or 3rd state in the sprite were used in the tree but Classic Theme Restorer is using it and this bug isn't making the problem worse. Marking addon-compat and CC'ing bsmedberg and Aris since their extensions reference the PNG files.
Keywords: addon-compat
Assignee | ||
Comment 6•8 years ago
|
||
Bug 1181541 - Convert branding identity icons for internal pages to SVG. r=ttaubert
Attachment #8636957 -
Flags: review?(ttaubert)
(In reply to Matthew N. [:MattN] from comment #5) > I couldn't fine anywhere the 2nd or 3rd state in the sprite were used in the > tree but Classic Theme Restorer is using it and this bug isn't making the > problem worse. > > Marking addon-compat and CC'ing bsmedberg and Aris since their extensions > reference the PNG files. Would you prefer the icons on their own?
Assignee | ||
Comment 9•8 years ago
|
||
Tested on Win8.1 and OS X 10.10 btw.
Assignee | ||
Comment 10•8 years ago
|
||
(In reply to bbell from comment #7) > (In reply to Matthew N. [:MattN] from comment #5) > > I couldn't fine anywhere the 2nd or 3rd state in the sprite were used in the > > tree but Classic Theme Restorer is using it and this bug isn't making the > > problem worse. > > Would you prefer the icons on their own? We'll see what Tim says. This bug won't make anything worse either way. (In reply to bbell from comment #8) > All four icons minus the hover and active states. Thanks
Comment 11•8 years ago
|
||
Thanks for letting me know. I will update CTRs brand icons references once SVG icons hit Nightly channel. Just did some local tests with provided SVG files and everything works fine. Is this change planned for Fx42+ in general (F42: Nightly->Aurora->Beta->Release) or for Nightly only?
Reporter | ||
Comment 12•8 years ago
|
||
Comment on attachment 8636957 [details] MozReview Request: Bug 1181541 - Convert branding identity icons for internal pages to SVG. r=ttaubert https://reviewboard.mozilla.org/r/13771/#review12373 The SVG files itself are quite heavy already, I think we shouldn't include the hover/active states if we don't use them anymore. All other location bar SVGs have a single state. Should we push to try to see whether that makes a difference for Talos? All SVG files should have the following header: <?xml version="1.0" encoding="utf-8"?> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> We should add the following to the top of every SVG file: <?xml version="1.0" encoding="utf-8"?> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
Attachment #8636957 -
Flags: review?(ttaubert)
Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8636957 [details] MozReview Request: Bug 1181541 - Convert branding identity icons for internal pages to SVG. r=ttaubert Bug 1181541 - Convert branding identity icons for internal pages to SVG. r=ttaubert
Attachment #8636957 -
Flags: review?(ttaubert)
Assignee | ||
Comment 14•8 years ago
|
||
Try push in progress (waiting for try autoland) for talos. Aris, note that we're removing 2nd and third state now.
Assignee | ||
Comment 15•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=103193c1cd13
Assignee | ||
Comment 16•8 years ago
|
||
(In reply to Aris from comment #11) > Thanks for letting me know. No problem. It's easy when there are only a few affected AMO add-ons and I can figure out the author's bugmail address. > Is this change planned for Fx42+ in general (F42: > Nightly->Aurora->Beta->Release) or for Nightly only? It will land in 42 and ride the trains.
Reporter | ||
Updated•8 years ago
|
Attachment #8636957 -
Flags: review?(ttaubert) → review+
Reporter | ||
Comment 17•8 years ago
|
||
Comment on attachment 8636957 [details] MozReview Request: Bug 1181541 - Convert branding identity icons for internal pages to SVG. r=ttaubert https://reviewboard.mozilla.org/r/13771/#review12423 r=me with the tiny CSS fix and the <defs> and <g> elements removed from all four SVGs. Thanks! ::: browser/themes/shared/identity-block/identity-block.inc.css:98 (Diff revision 2) > - -moz-image-region: rect(0, 16px, 16px, 0); > + -moz-image-region: rect(0, 32px, 32px, 0); We don't need this any longer. ::: browser/branding/aurora/content/identity-icons-brand.svg:14 (Diff revision 2) > + <g id="artboard-1"> <g> is a grouping element, we don't need it. ::: browser/branding/aurora/content/identity-icons-brand.svg:6 (Diff revision 2) > + <defs> No need to wrap <style> in <defs>. Just remove the <defs> element.
Assignee | ||
Comment 18•8 years ago
|
||
Sorry, I didn't attempt to clean up the SVG. I've addressed the comments locally. Just waiting on the Talos results now: https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla-central&originalRevision=8e5c888d0d89&newProject=try&newRevision=103193c1cd13 So far there's nothing really bad on Linux.
Assignee | ||
Comment 19•8 years ago
|
||
Due to bugs in Talos and PerfHerder, I'm still waiting on accurate results: https://treeherder.mozilla.org/#/jobs?repo=try&author=mozilla@noorenberghe.ca&fromchange=996530200d41&tochange=6f97042313dc http://compare-talos.mattn.ca/?oldRevs=996530200d41&newRev=2673a2942c84&submit=true http://compare-talos.mattn.ca/?oldRevs=c9b3e5fa453b&newRev=6f97042313dc&submit=true
Whiteboard: [fxprivacy] [campaign] → [fxprivacy] [campaign] [waiting on talos]
Assignee | ||
Comment 20•8 years ago
|
||
Windows 7 results have been running for 5 hours and I don't want to wait anymore after all of the talos/perfherder issues plus Win7 was fine on the push from comment 18 so I'm pushing this. No relevant red/green shows on compare-talos.
Assignee | ||
Updated•8 years ago
|
Whiteboard: [fxprivacy] [campaign] [waiting on talos] → [fxprivacy] [campaign]
https://hg.mozilla.org/mozilla-central/rev/d6e98b1b3a63
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
You need to log in
before you can comment on or make changes to this bug.
Description
•