Closed Bug 839205 Opened 11 years ago Closed 6 years ago

If Firefox crashes after uninstalling a lightweight theme the theme is still present after restarting.

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: bnicholson, Unassigned)

Details

STR:
1) Install a persona
2) Uninstall the persona
3) kill -9 firefox
4) Reopen Firefox

Expected result:
The persona is gone

Actual result:
The uninstalled persona is back

This doesn't happen for other add-ons. This bug is also reproducible on Fennec (which is where I found it). On Fennec, updating/reinstalling the APK can be used as step 3.
Why should the persona be back if you uninstall it ?
>This doesn't happen for other add-ons
Do you use restartless addons in your test ?
(In reply to Matthias Versen [:Matti] from comment #1)
> Why should the persona be back if you uninstall it ?

I don't understand your question. The persona shouldn't be back, but it is (that's what this bug is about).

> >This doesn't happen for other add-ons
> Do you use restartless addons in your test ?

I just tested with PDF Viewer. After killing Firefox, the add-on is, in fact, still installed - though it's disabled. When testing the persona, it was not disabled after Firefox was killed. Either way, the add-ons were still installed in both cases, so it looks like restartless add-ons in general have this issue.
>I don't understand your question
Sorry, i confused Expected and Actual result.
Component: Theme → Add-ons Manager
Product: Firefox → Toolkit
Summary: Personas not uninstalled if Firefox is killed → Restartless add-ons not uninstalled if Firefox is killed
I'm guessing this only happens if the add-ons manager is still open when you kill firefox?
Depends on: 612168
(In reply to Dave Townsend (:Mossop) from comment #4)
> I'm guessing this only happens if the add-ons manager is still open when you
> kill firefox?

Hm, maybe this is a largely a personas issue after all. For restartless add-ons, this only happens if Firefox is killed while the add-ons manager is open as you guessed. For personas, however, I can uninstall the persona, close out of the add-ons manager, kill Firefox, and have the persona still be installed (and applied!) when Firefox is reopened.
(In reply to Brian Nicholson (:bnicholson) from comment #5)
> (In reply to Dave Townsend (:Mossop) from comment #4)
> > I'm guessing this only happens if the add-ons manager is still open when you
> > kill firefox?
> 
> Hm, maybe this is a largely a personas issue after all. For restartless
> add-ons, this only happens if Firefox is killed while the add-ons manager is
> open as you guessed. For personas, however, I can uninstall the persona,
> close out of the add-ons manager, kill Firefox, and have the persona still
> be installed (and applied!) when Firefox is reopened.

Going to switch this back to a personas only bug then, bug 612168 will (hopefully) take care of the case for restartless add-ons.

For this we need to flush the prefs to disk after removing the persona.
No longer depends on: 612168
Summary: Restartless add-ons not uninstalled if Firefox is killed → If Firefox crashes after uninstalling a lightweight theme the theme is still present after restarting.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.