Closed
Bug 1158282
Opened 10 years ago
Closed 10 years ago
Custom search engine favicons are displayed inconsistently in BrowserSearch screen
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(4 files, 2 obsolete files)
Follow-up to bug 1137483.
Custom search engines seem to be a bit wonky - let's fix it!
Assignee | ||
Comment 1•10 years ago
|
||
This is the only bug (besides regressions) that antlam said this needs to ship. If this doesn't hit 40, we need to add a build flag or backout bug 1137483 from 40.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
See title. There doesn't seem to be any obvious reason for when the partial globe or nothing is shown.
The list of search engines also seems to sometimes show a globe and sometimes drop the favicon for custom search engines too, which means there may be two issues here:
* Showing the entire globe in the search engine bar
* Always showing a globe if no favicon is present
Anthony, are you okay with a globe if there's no favicon? Or is there another placeholder icon you'd like to use?
Flags: needinfo?(alam)
Summary: Make custom search engines work properly in quick search bar → Custom search engines with no favicon sometimes show partial globe, sometimes nothing, in search engine bar
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → michael.l.comella
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8607860 -
Attachment is obsolete: true
Assignee | ||
Comment 5•10 years ago
|
||
I'm moving the search engine icon update to bug 1166868 and this bug will handle the existing issue (it's in the original BrowserSearch list) of the inconsistent display of custom search engine icons.
I've noticed that the custom search engine icons will change when scrolling up and down so I imagine this is a Loader and/or Adapter issue. This includes custom search engines with non-default favicons - sometimes they will go default.
Flags: needinfo?(alam)
Summary: Custom search engines with no favicon sometimes show partial globe, sometimes nothing, in search engine bar → Custom search engine favicons are displayed inconsistently in BrowserSearch screen
Assignee | ||
Comment 6•10 years ago
|
||
This occurred after scrolling up and down a bit. The icon always updates when it's row is off-screen.
Comment 7•10 years ago
|
||
Does bug 1156917 help with this? Since we are providing the assets ourselves for the defaults in that bug (OK'd with our default providers).
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Anthony Lam (:antlam) from comment #7)
> Does bug 1156917 help with this? Since we are providing the assets ourselves
> for the defaults in that bug (OK'd with our default providers).
No, this is a pre-existing bug in the current code that got uncovered from the addition of the search engine bar.
Assignee | ||
Comment 9•10 years ago
|
||
/r/9211 - Bug 1158282 - Handle the default favicon as any other favicon. r=margaret
/r/9213 - Bug 1158282 - Clarify existing comment in FaviconView.formatImage. r=margaret
Pull down these commits:
hg pull -r 11af2c5e798866eb31072a3f52d07392b2d15ba1 https://reviewboard-hg.mozilla.org/gecko/
Attachment #8608998 -
Flags: review?(margaret.leibovic)
Comment 10•10 years ago
|
||
https://reviewboard.mozilla.org/r/9211/#review7889
::: mobile/android/base/widget/FaviconView.java:226
(Diff revision 1)
> + updateAndScaleImage(defaultFaviconBitmap, DEFAULT_FAVICON_KEY);
It feels strange to be manually scaling this image, but I agree it's good to avoid custom logic paths.
And if this fixes the view re-use issue, works for me!
Comment 11•10 years ago
|
||
Comment on attachment 8608998 [details]
MozReview Request: bz://1158282/mcomella
https://reviewboard.mozilla.org/r/9209/#review7891
Ship It!
Attachment #8608998 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 12•10 years ago
|
||
Comment 13•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7330e7687ca6
https://hg.mozilla.org/mozilla-central/rev/8d1f3331f453
https://hg.mozilla.org/mozilla-central/rev/02d343f01fa5
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Assignee | ||
Comment 14•10 years ago
|
||
Attachment #8608998 -
Attachment is obsolete: true
Attachment #8620156 -
Flags: review+
Attachment #8620157 -
Flags: review+
Assignee | ||
Comment 15•10 years ago
|
||
Assignee | ||
Comment 16•10 years ago
|
||
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
•