Closed Bug 590798 Opened 14 years ago Closed 6 years ago

Use icon from the xpi for add-ons ready to be installed

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: sylvain.pasche, Unassigned)

References

Details

(from bug 588266 comment 11):

We always use the InstallTrigger icon for add-ons ready to be installed. It would be nice to use the icon from the xpi if possible, but that would require extracting it somewhere since otherwise we lock the xpi on windows. And extracting it has the problem that you need to be very careful to clean it up after.
What about other data that is pulled from the XPI at download -- is that just being read directly from the archive as opposed to being read from the extracted archive?
(In reply to comment #1)
> What about other data that is pulled from the XPI at download -- is that just
> being read directly from the archive as opposed to being read from the
> extracted archive?

At download the XPI isn't extracted at all so we pull all data directly out of it.
So I am presuming jar: uris don't work on XPIs, or if they do not for images?

Seems like this issue is popping up in relation to theme previews:

https://bugzilla.mozilla.org/show_bug.cgi?id=533038#c74
(In reply to comment #3)
> So I am presuming jar: uris don't work on XPIs, or if they do not for images?

jar: uris work fine on XPIs and for images, but they maintain a lock on the XPI file which means that on Windows it cannot be deleted until the lock is released
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.