Homepage favicons improvements
Categories
(Fenix :: Homepage, enhancement, P2)
Tracking
(firefox120 verified, firefox121 verified)
People
(Reporter: jmahon, Assigned: towhite)
References
(Depends on 2 open bugs, Blocks 2 open bugs)
Details
(Whiteboard: [needs-ux] [fxdroid])
Attachments
(8 files)
90.41 KB,
image/jpeg
|
Details | |
341.21 KB,
image/jpeg
|
Details | |
59 bytes,
text/x-github-pull-request
|
Details | Review | |
59 bytes,
text/x-github-pull-request
|
Details | Review | |
131.42 KB,
image/jpeg
|
Details | |
483.01 KB,
image/png
|
Details | |
59 bytes,
text/x-github-pull-request
|
diannaS
:
approval-mozilla-release+
|
Details | Review |
36.92 KB,
image/jpeg
|
Details |
"Less janky homepage" - favicons improvements:
originally requested here.
- Sometimes, favicons and images that were present before are missing and then get reloaded or images are replaced by similar but different images.
- Generic favicons - often mostly the same color and sometimes the letter doesn’t match the title. Sometimes used when a favicon exists.
- Should also look into the color selection algorithm to make sure we're spreading colors out evenly across placeholder icons, rather than 'randomly' (meaning: would be nice to avoid duplicating colors)
(JM note: it's possible we're misunderstanding what populates the 'letter' placeholder - e.g., is it the domain URL or the page title? Please confirm expectations before trying to change that one.)
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
I'm unable to reproduce any 'janky' fav icon behaviour with the Compose Top Sites. The main offender appears to be 'Jump back in' card image, which is being worked on here. Noticed the pocket Stories can sometimes take a moment to load too, but I'm unsure exactly which fav icons this bug pertains too, if UX could provide more context to this it'd be appreciated, thanks!
Joe is this describing a similar/or same problem as this meta bug https://bugzilla.mozilla.org/show_bug.cgi?id=1842103?
Reporter | ||
Comment 4•1 years ago
|
||
Hmm it looks like there's a variety of things that are interwoven here, yeah, but I hesitate to say that it's fully duplicate. I'll index this under that meta, as well just for safekeeping.
In terms of reproduction, Verdi would be the person to double check any of this with, he has a better understanding of the original issues that were reported and captured here.
Comment 5•1 years ago
|
||
In terms of reproduction, Verdi would be the person to double check any of this with, >he has a better understanding of the original issues that were reported and captured >here.
I'm not sure about the missing or changing favicons - haven't noticed this lately. But here's a screenshot from today of 6 generic favicons with 4 of them being nearly identical green.
:verdi thanks the the update. I believe this issue should now be fixed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1848605. I am not able to reproduce the icon state you have in the screenshot, could you please check if you still see the placeholder favicons please?
Updated•1 year ago
|
I still have placeholder icons for some sites. I tried removing and replacing the shortcuts, it didn't help. When I launch Fenix, reuters.com/world and telegraph.co.uk always lose their favicons. Today's Nightly, Compose Top Sites is enabled.
Thank you for the update :Mark. I can now reproduce this particular issue on Nightly by closing and re-opening a couple of times.
Update: The issue is actually closing the related tab
Comment 10•1 year ago
|
||
Assignee | ||
Comment 11•1 year ago
|
||
I believe the main cause of the 'template' favicons is due to the TippyToppy defined image_urls
referencing SVG files which cannot be decoded by AndroidImageDecoder
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
This is Nightly 121.0a1 (Build 2015982114) with compose top sites and compose tab tray turned on.
I've got 4 pink icons for 2 different urls. The screenshot in Jump Back In is for the Vox tab but the name and URL is for the support article.
Comment 14•1 year ago
|
||
Authored by https://github.com/t-p-white
https://github.com/mozilla-mobile/firefox-android/commit/9d916549240b3361bea5e395d054880f824b7abd
[main] Bug 1821701 - Added SVG decoding for favicons.
Assignee | ||
Comment 15•1 year ago
•
|
||
This ticket partially fixes:
Sometimes, favicons and images that were present before are missing and then get reloaded or images are replaced by similar but different images.
As there are a number of issues still at play here, I've broken this issue out to the following issues:
I've got 4 pink icons for 2 different urls.
https://bugzilla.mozilla.org/show_bug.cgi?id=1863717
The screenshot in Jump Back In is for the Vox tab but the name and URL is for the support article.
I believe this is covered by https://bugzilla.mozilla.org/show_bug.cgi?id=1844750
Should also look into the color selection algorithm to make sure we're spreading colors out evenly across placeholder icons, rather than 'randomly' (meaning: would be nice to avoid duplicating colors)
Comment 16•1 year ago
|
||
Verified on the latest Fenix Nightly 121.0a1 from 11/10 with Google Pixel 6 (Android 14), and Oppo Find N2 Flip (Android 13).
The top sites & shortcuts icons are displayed with different colors, and are displayed centered. The favicons and images that were present before are displayed, and aren't
replaced by similar images.
Updated•1 year ago
|
Assignee | ||
Comment 17•1 year ago
|
||
Nominating this as a potential patch to uplift to 120. :jmahon wdyt?
Reporter | ||
Comment 18•1 year ago
|
||
Thanks so much for digging through this and separating it out into different pieces, Tom.
Just to make sure I understand correctly:
- FIXED - disappearing/inconsistent favicons - this bug
- To Do - duplicate placeholder colors - Bug 1863720
- To Do - "Jump back in" and "Recently loaded" images are empty or incorrect - Bug 1844750
- To Do - Favicon 'letter' placeholder is wonky - Bug 1863717
Is that accurate? If so, sure, this can be uplifted. I just want make sure it's clear what we're actually fixing with this uplift.
Assignee | ||
Comment 19•1 year ago
|
||
No probs, thanks!
Yes, your summary above is accurate 👌
Comment 20•1 year ago
|
||
Assignee | ||
Comment 21•1 year ago
|
||
Comment on attachment 9363461 [details] [review]
[mozilla-mobile/firefox-android] Bug 1821701 - Added SVG decoding for favicons. (backport #4166) (#4469)
Beta/Release Uplift Approval Request
- User impact if declined: Some Homepage icons may appear buggy e.g. appear and disappear
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Verified in Nightly, uses a robust third party library for the heavy work
- String changes made/needed:
- Is Android affected?: No
Comment 22•1 year ago
|
||
Updated•1 year ago
|
Comment 23•1 year ago
|
||
Comment 24•1 year ago
|
||
Authored by https://github.com/t-p-white
https://github.com/mozilla-mobile/firefox-android/commit/23cab565faa5c778fb39236c1e273d9230e3634f
[releases_v120] Bug 1821701 - Added SVG decoding for favicons.
Comment 25•1 year ago
|
||
Comment 26•1 year ago
|
||
Verified on Firefox 120.0.RC2 with Samsung Galaxy A32 (Android 12), and Motorola 9 Plus (Android 11).
The top sites & shortcuts icons are displayed with different colors, centered. The favicons and images that were present before are still displayed, and aren't replaced by similar images.
Description
•