Closed Bug 1029280 Opened 5 years ago Closed 5 years ago

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

Categories

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

x86
macOS
defect
Not set

Tracking

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

RESOLVED FIXED
2.0 S5 (4july)
blocking-b2g 2.0+
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: jlal, Assigned: jlal)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(1 file)

No description provided.
blocking-b2g: --- → 2.0?
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.
Blocks: 1015336
No longer blocks: vertical-homescreen
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking?]
Keywords: regression
Whiteboard: [systemsfe]
Attachment #8444861 - Flags: review?(kgrandon) → review+
Sadly my test fails on try... debugging
https://github.com/mozilla-b2g/gaia/commit/5c8e30c3ce60c39dfa7a1bcb149576beac90206e
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
blocking-b2g: 2.0? → 2.0+
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking?] → [VH-FL-blocking-][VH-FC-blocking+]
You need to log in before you can comment on or make changes to this bug.