Closed Bug 733045 Opened 10 years ago Closed 3 years ago

installing bootstrapped add-on directly after uninstalling it disabled results in disabled install


(Toolkit :: Add-ons Manager, defect)

Not set





(Reporter: dietrich, Unassigned)




1. install a restartless add-on
2. disable it
3. uninstall it
4. install it

Expected: add-on is installed and enabled

Actual: add-on is installed and disabled

post-uninstall, any action should be as on a blank slate. the state of a previous installation has leaked into the subsequent install.
Can you give more precise STR here, what were you doing with the UI to do all of these things?
Revised STR:

1. install a restartless add-on
2. disable it some point later (weeks? months?)
3. let time pass, many browsing sessions, etc
4. open add-ons manager, click uninstall
5. while add-ons manager is still open, hit cmd+o, navigate Finder to an xpi of a new version of the add-on (no code change, only version bump), and select it to finish install.

i'll see if i can reproduce in a clean profile.
Ok that makes sense, basically a problem with the hack we put in place to allow undoing uninstalls for restartless add-ons. When you uninstall but don't close the UI the add-on is actually just disabled but still installed, so installing another version is like upgrading so it retains the disabled state. Would either need another hacky solution or a proper fix of bug 612168.
Depends on: 612168
OS: Mac OS X → All
Hardware: x86 → All
Confirmed with a new profile and hello-world add-on.
Blocks: 1010397
Per policy at If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.