Closed
Bug 1299524
Opened 8 years ago
Closed 8 years ago
Tweak favicon appearance in Activity Stream topsites
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect, P1)
Firefox for Android Graveyard
Awesomescreen
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: ahunt, Assigned: ahunt)
References
Details
(Whiteboard: [MobileAS])
Attachments
(4 files)
To match the topsites design, a few adjustments are needed, probably within FaviconView:
- No rounded corners (CardView will round the upper corners for us, the bottom should be completely flat).
- Avoid upscaling generated favicons: we seem to make generated favicon 2x size if the FaviconView is larger than expected.
- Ensure generated favicons gave a background (this might happen automatically with sebastian's Favicon improvements in Bug 1290014)
Possibly also worthwhile:
- investigate why we get white as the dominant colour (i.e. background colour) for the BBC and NZZ icons, where are mostly black.
Assignee | ||
Comment 1•8 years ago
|
||
I'm planning to wait for Bug 1290014 to land before looking into this (I do have a few hacky patches for some of the issues locally - but it's likely most of them conflict with the code in Bug 1290014).
Comment 2•8 years ago
|
||
(In reply to Andrzej Hunt :ahunt from comment #0)
> Possibly also worthwhile:
> - investigate why we get white as the dominant colour (i.e. background
> colour) for the BBC and NZZ icons, where are mostly black.
One reason could be that we treat black (0) as "no dominant color" afaik.
Updated•8 years ago
|
Priority: -- → P3
Comment 3•8 years ago
|
||
This is a screenshot of some top sites pages with the new icon code. Colors are fixed and scaling looks better too.
Updated•8 years ago
|
Priority: P3 → P2
Assignee | ||
Comment 4•8 years ago
|
||
I've started playing with both the sizing, and dominant colour processing: I'm wondering whether we should consider increasing the default favicon caching size to fill more of the topsites view. I've also managed to improve handling for black favicons.
I've attached a screenshot with larger icons: in some cases making the icon fill the view would be ideal (facebook), in other cases making the icon smaller is better. In some cases not fading the background colour is better (e.g. facebook), in some cases it seems to be worse (spiegel).
I'm going to experiment with some further algorithms: maybe if there's one dominant border colour we can use that for the background (no fading), if there are multiple colours we could fade instead?
(The new favicon code is great btw, icons actually appear reliably!)
Updated•8 years ago
|
Priority: P2 → P1
Updated•8 years ago
|
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•8 years ago
|
||
I'll leave the favicon code for now, the use of Palette has improved handling quite a bit - this is something we could always revisit in future, but it seems like premature optimisation to spend too much time on this right now while we're still implementing basic functionality.
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8788550 [details]
Bug 1299524 - Allow disabling FaviconView corner rounding via enableRoundCorners attribute
https://reviewboard.mozilla.org/r/77002/#review75158
Attachment #8788550 -
Flags: review?(s.kaspari) → review+
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8788551 [details]
Bug 1299524 - Disable FaviconView corner rounding in Activity Stream topsites
https://reviewboard.mozilla.org/r/77004/#review75160
Attachment #8788551 -
Flags: review?(s.kaspari) → review+
Comment 10•8 years ago
|
||
Pushed by ahunt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ae2cab55008a
Allow disabling FaviconView corner rounding via enableRoundCorners attribute r=sebastian
https://hg.mozilla.org/integration/autoland/rev/f14745862e04
Disable FaviconView corner rounding in Activity Stream topsites r=sebastian
Comment 11•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ae2cab55008a
https://hg.mozilla.org/mozilla-central/rev/f14745862e04
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Updated•8 years ago
|
Iteration: --- → 1.4
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•