Icon is not updated on the homescreen when the app is updated (if the homescreen is running)

RESOLVED FIXED in Firefox OS v2.0

Status

Firefox OS
Gaia::Homescreen
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: lightsofapollo, Assigned: lightsofapollo)

Tracking

({regression})

unspecified
2.0 S5 (4july)
x86
Mac OS X
regression

Firefox Tracking Flags

(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 fixed)

Details

(Whiteboard: [systemsfe])

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Updated

4 years ago
blocking-b2g: --- → 2.0?

Updated

4 years ago
Duplicate of this bug: 1029194
Thanks Jason. Adding Johan's notes from the other bug here as it's more detailed, but this has a patch I guess.

STR
1. Get http://mozilla.github.io/qa-testcase-data/webapi/apps/smallappcachepreload.manifest and host it on your own HTTP server
2. Install the app by pointing to your self-hosted manifest via you browser
3. To simulate an app update, in the the mini-manifest, modify:
"appcache_path": "*value*" to "appcache_path": "http://mozilla.github.io/qa-testcase-data/webapi/apps/largeappcachepreload." 
"icons": {*value*} to "icons": { "126": "your_new_icon_path.png"
4. Check for new version and wait until the notification pop.
5. Update the app.
6. Wait for the app to be downloaded.
7. Go back to the homescreen.

Actual result
The app is updated but not its icon, until a phone restart.

Updated

4 years ago
Blocks: 1015336
No longer blocks: 989848
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking?]
Keywords: regression
Whiteboard: [systemsfe]
Attachment #8444861 - Flags: review?(kgrandon) → review+
(Assignee)

Comment 5

4 years ago
Sadly my test fails on try... debugging
(Assignee)

Comment 6

4 years ago
https://github.com/mozilla-b2g/gaia/commit/5c8e30c3ce60c39dfa7a1bcb149576beac90206e
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
blocking-b2g: 2.0? → 2.0+

Updated

4 years ago
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking?] → [VH-FL-blocking-][VH-FC-blocking+]
v2.0: https://github.com/mozilla-b2g/gaia/commit/eaeff148c33111abc5a0244df0c2db59b3a594c9
status-b2g-v2.0: --- → fixed
status-b2g-v2.1: --- → fixed
Target Milestone: --- → 2.0 S5 (4july)
You need to log in before you can comment on or make changes to this bug.