Closed Bug 1222340 Opened 9 years ago Closed 9 years ago

websites pinned as a site don't have a logo anymore

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect, P1)

defect

Tracking

(blocking-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)

VERIFIED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.5 --- fixed
b2g-master --- fixed

People

(Reporter: mihaibn, Assigned: cwiiis)

References

Details

(Keywords: foxfood, Whiteboard: [bzlite][systemsfe])

Attachments

(17 files)

134.58 KB, application/gzip
Details
39.54 KB, application/octet-stream
Details
43 bytes, application/octet-stream
Details
602 bytes, application/octet-stream
Details
1.63 KB, application/octet-stream
Details
14.18 KB, application/octet-stream
Details
164 bytes, application/octet-stream
Details
12 bytes, application/octet-stream
Details
1.01 KB, application/octet-stream
Details
64.73 KB, application/octet-stream
Details
312 bytes, application/octet-stream
Details
4.86 KB, application/octet-stream
Details
6.07 KB, application/octet-stream
Details
72.74 KB, application/octet-stream
Details
9.50 KB, application/octet-stream
Details
46 bytes, text/x-github-pull-request
mikehenrty
: review+
Details | Review
46 bytes, text/x-github-pull-request
Details | Review
User-Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

I am using a Flame phone running 20151105150203 OTA
Attached file proc-vmstat.log
Attached file proc-vmallocinfo.log
Attached file proc-version.log
Attached file proc-uptime.log
Attached file proc-meminfo.log
Attached file proc-kmsg.log
Attached file proc-cmdline.log
Attached file dev-log-radio.log
Attached file dev-log-system.log
Attached file dev-log-main.log
Attached file properties.log
Component: Gaia::Feedback → Gaia::Homescreen
Same here. My bookmarks I had for some time now lost their logos. This might have happened some time ago already.
Priority: -- → P1
Whiteboard: [bzlite] → [bzlite][systemsfe]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Any STR anybody?

I can't remember if we rely on the IconsHelper cache or our own cache for site icons, gmarty?
Flags: needinfo?(gmarty)
I guess have a bookmark created a while ago. Maybe >6 months. I can see it with cnn.com, dict.leo.org, derstandard.at
(In reply to Gregor Wagner [:gwagner] from comment #18)
> I guess have a bookmark created a while ago. Maybe >6 months. I can see it
> with cnn.com, dict.leo.org, derstandard.at

aaah, this sounds like the old bookmark.icon string property handling has been removed... gmarty, any comment?
issue still happens with the latest OTA from this morning
blocking-b2g: --- → 2.5+
I'm seeing this for a couple of pinned sites that I wasn't before - I expect this was triggered by an IconsHelper change and is a regression.

Bisecting this would be tricky though, I'll take a look at this later to see if there's anything obvious.
Updated my phone to master with the patch from bug 1224136, one of my icons reappeared, the other disappeared entirely. Will see what I can do...
This is a regression partially caused by 1221195 - ends up we do need that permission to fetch icons :(

On top of this, failing bookmark icon loading doesn't result in getting the rocket icon, possibly only after bug 1224136.

I'll fix both of these in this bug.
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Flags: needinfo?(gmarty)
Depends on: 1224136
Comment on attachment 8687965 [details] [review]
[gaia] Cwiiis:bug1222340-homescreen-fix-bookmark-icon-fetch > mozilla-b2g:master

Fix the two bugs here - re-add systemXHR so bookmark icon fetches work, handle bookmark icon fetch failing so the rocket icon displays and add unit tests to make sure that bookmark icon fetch failing is handled correctly.
Attachment #8687965 - Flags: review?(mhenretty)
Attachment #8687965 - Flags: review?(mhenretty) → review+
Rebased and merged: https://github.com/mozilla-b2g/gaia/commit/5d2eaa28ac77209ad305509610b732a908495f6d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8687965 [details] [review]
[gaia] Cwiiis:bug1222340-homescreen-fix-bookmark-icon-fetch > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: Icons are not downloaded for pinned sites or for the icons in the center of pinned pages.
[Testing completed]: Manual testing completed. Further related unit tests added.
[Risk to taking this patch] (and alternatives if risky): Small risk of other bookmark icon-fetching related issues appearing. Requires bug 1224136.
[String changes made]: None.
Attachment #8687965 - Flags: approval-gaia-v2.5?
Awesome. Will this be available in the OTA that will normally be released in 2 hours or so?
(In reply to Mihai Barbat from comment #29)
> Awesome. Will this be available in the OTA that will normally be released in
> 2 hours or so?

I'm not sure how the OTA gets made, sorry - if you build from master, you'll have these changes. If there's a Nightly OTA, I'd be surprised if this wasn't at least in tomorrow's.
Comment on attachment 8687965 [details] [review]
[gaia] Cwiiis:bug1222340-homescreen-fix-bookmark-icon-fetch > mozilla-b2g:master

Approved for 2.5 uplift.

Thanks
Attachment #8687965 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
I confirm this is fixed with OTA 20151118150206
Status: RESOLVED → VERIFIED
Just for future reference, using Promise.resolve as a function, not a method, as this changeset attempts to do, is not valid per spec.  It kinda works in Gecko right now, but that's a Gecko bug that we're trying to fix, except people keep adding more busted uses...
Depends on: 1228239
The patch seems to break the unit test on v2.5 branch. Could you please help or find someone who could help on this issue? Thanks.
Flags: needinfo?(cbook)
To be more specific the test fails is homescreen/test/unit/app_test.js .
Guillaume, can you see why this patch fails the above homescreen unit test on 2.5? If it's not exposing a real bug, go ahead and just disable that test, r=me a=test-only.
Flags: needinfo?(gmarty)
Flags: needinfo?(cbook)
YiFan, is this failing in automation anywhere? I'm not seeing Gu on the 2.5 branch in treeherder:

https://treeherder.mozilla.org/#/jobs?repo=mozilla-b2g44_v2_5
Flags: needinfo?(yliao)
Hi Yifan, I worked on a fix but there are still many unrelated failures on the v2.5 branch (See https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=022effae135b97c0af46d003654908ef47faf567).
Do you want me to land the fix still?
Flags: needinfo?(gmarty)
Thank you! I've notify the owners about the causes of those failures. Yes please land the fix for the homescreen test.
Flags: needinfo?(yliao)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: