Open Bug 1620302 Opened 6 years ago Updated 3 years ago

Remove the undo option after uninstalling an add-on

Categories

(Toolkit :: Add-ons Manager, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mstriemer, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

All of the places where an add-on can be uninstalled now prompt the user for confirmation before uninstalling the add-on. Since we've already asked for confirmation we can remove the undo option.

See Also: → 1616812

There's a ton of complexity in the AddonManager backend that can be removed if this is done. Does this bug cover all that or just the front-end bits? It seems like the two tasks are pretty different and would probably warrant separate bugs?

Flags: needinfo?(mstriemer)
Blocks: 1620440

This was intended for the UI. I just filed another bug to remove it from the backend since this would need to happen first.

Flags: needinfo?(mstriemer)

Hi! I would like to work on this :)

Assignee: nobody → gaurijove
Status: NEW → ASSIGNED

May I also work on the backend for this, if it hasn't been fixed yet ? :)

For the backend part, do we need to remove all the cancelUninstall and related methods?

Flags: needinfo?(prathikshaprasadsuman)
Flags: needinfo?(mstriemer)
Flags: needinfo?(jhofmann)

Are we aiming to "completely" remove the functionality of cancelling the uninstallation of the addon.

I don't know, this is a question for Mark, really :)

Flags: needinfo?(prathikshaprasadsuman)
Flags: needinfo?(jhofmann)

This bug is to stop putting add-ons into the pending uninstall state and remove any UI associated with that. I think we'll run into some trouble regarding the abuse reports as they expect to have an add-on object available and if we have entirely removed the add-on when we open the UI there might not be one available. That could be a blocker here for now but I'd need to investigate that more.

Bug 1620440 is tracking removing support for pending uninstalls from the backend, but I can't comment too much on how that would be accomplished. I suspect updating the backend would require a decent amount of knowledge of how the AddonManager code is structured, as I understand there are quite a few edge cases in a lot of places.

Flags: needinfo?(mstriemer)
Attachment #9132820 - Attachment description: Bug 1620302- Remove the Undo option UI after uninstalling an add-on. r=prathiksha → Bug 1620302- Uninstall addon immediately rather than putting in pending state. r=mstriemer

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: gaurijove → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: