Closed Bug 804469 Opened 13 years ago Closed 13 years ago

[Marketplace] Installed app can't be removed immediately if it has been executed (need reboot)

Categories

(Core Graveyard :: DOM: Apps, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:+, firefox18 verified, firefox19 verified)

VERIFIED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- verified
firefox19 --- verified

People

(Reporter: johnshih.bugs, Assigned: fabrice)

References

Details

(Keywords: smoketest)

Attachments

(1 file)

## Environment : Otoro phone, build 2012-10-23 Build info: * "gaia master" revision= 608ba8a6a931322c96ac1cea7e02f4c4bf9d70fd * "gecko" revision= 167d5a73c6aa564d1abcae4654467aa18aba9a3e ## Repro : 1. Install an app from marketplace 2. Execute it 3. Press the home button to quit 4. Back to homescreen, then long press on it 5. Press "X" and choose Delete in the dialogue ## Expected: * Back to homescreen and see the app disappear ## Actual: * The app didn't disappear, you have to reboot * If you then try to install another app from market place, it will fail to appear as well
If you install a app and try to remove it directly (doesn't execute) it will work fine
blocking-basecamp: --- → ?
I can confirm this as well. Smoke test bustage.
blocking-basecamp: ? → +
I am looking into this. It seems not a gaia bug. Try this: 1. Open Settings app -> Application Permission, check calculator is there. 2. Press home and then longpress home, remove caculator app. 3. Back to Settings app, the calculator disappears. This is normal case, but if you try the following steps then something broken: 4. Use card view to kill the settings app. 5. Open settings app again. Goto Application Permission page again. Check clock is there. 6. Press home and then longpress home button, remove clock app. 7. Back to settings app, the clock app is still there!! Therefore, the actual problem is, 'mozApps.mgmt install/uninstall' callback is broken when the page/app is killed and restarted. The original STR works because, your lovely homescreen app is killed by OOM in background. So, the homescreen you see after you launch an app and then return to, is not the first one. It's the second-time-invoked homescreen. After that, install anything in marketplace doesn't reflect to homescreen.
Component: Gaia → General
Assignee: nobody → overholt
David, did you assign this to me so I could find an owner?
Flags: needinfo?(dscravaglieri)
Keywords: smoketest
No you can find an owner
Flags: needinfo?(dscravaglieri)
Assignee: overholt → fabrice
Attached patch patchSplinter Review
The code removing message listeners when a process stops was incorrect, using the |children| property as an array while it's a dictionary.
Attachment #679859 - Flags: review?(21)
Comment on attachment 679859 [details] [diff] [review] patch Review of attachment 679859 [details] [diff] [review]: ----------------------------------------------------------------- Do you know when does it change from an array to an object? sigh.
Attachment #679859 - Flags: review?(21) → review+
Component: General → DOM: Apps
OS: Linux → Gonk (Firefox OS)
Product: Boot2Gecko → Core
Hardware: x86_64 → ARM
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Keywords: verifyme
QA Contact: jsmith
Verified on 11/12.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Reopen, still happen on 11/21 build.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
(In reply to Yuren Ju [:yurenju] from comment #14) > Reopen, still happen on 11/21 build. bug 812119 is already tracking this.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: