Open Bug 1937575 Opened 2 months ago Updated 8 days ago

Uninstalling an extension should clear location placement information

Categories

(Firefox :: Toolbars and Customization, task, P3)

Desktop
Unspecified
task

Tracking

()

People

(Reporter: abyrne, Unassigned)

References

Details

If an extension is pinned to the toolbar, and then uninstalled and re-installed, it will re-pin itself to the toolbar - remembering the previous placement from a previous install.

We should "forget" the placement of an extension if it is uninstalled, causing the defaults to apply when it is re-installed.

Component: Extension Compatibility → Toolbars and Customization

As I recall, remembering the old placements of uninstalled extensions was an explicit choice when we first built this. It's a carry-over from when toolbar placement state was persisted with XULStore in the pre-CustomizableUI days.

I'm not opposed to this at all, but I want to make sure we have a clear direction here:

  1. We will continue to remember the toolbar / panel placement for extensions when they are disabled
  2. We will forget the toolbar / panel placement for extensions when they are uninstalled
  3. All historically remembered widget placements in the toolbar / panel for extensions that are no longer installed should be purged

Are 1-3 correct?

Flags: needinfo?(abyrne)

(As the original persistence was an intentional choice, I'm moving this from a "defect" to a "task")

Type: defect → task
Summary: Uninstalling an extension does not clear location placement information → Uninstalling an extension should clear location placement information

I agree with the three choices proposed. Thanks Mike!

Flags: needinfo?(abyrne)

Could the same work also resolve this bug, and clear the pending updates information when an add-on is removed?

I'm afraid they're two separate subsystems. We'd probably best keep bug 1408443 separate.

You need to log in before you can comment on or make changes to this bug.