Closed Bug 1722087 Opened 3 years ago Closed 3 years ago

Large unused theme images still in omni.jar

Categories

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

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox92 --- wontfix
firefox93 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(1 file)

I was poking around the omni.jar and found some theme images that appear to be unused. They total 1.4MB in size.

browser/base/content/defaultthemes/1.header.jpg
browser/base/content/defaultthemes/1.icon.jpg
browser/base/content/defaultthemes/1.preview.jpg
browser/base/content/defaultthemes/2.header.jpg
browser/base/content/defaultthemes/2.icon.jpg
browser/base/content/defaultthemes/2.preview.jpg
browser/base/content/defaultthemes/3.header.png
browser/base/content/defaultthemes/3.icon.png
browser/base/content/defaultthemes/3.preview.png
browser/base/content/defaultthemes/4.header.png
browser/base/content/defaultthemes/4.icon.png
browser/base/content/defaultthemes/4.preview.png
browser/base/content/defaultthemes/5.header.png
browser/base/content/defaultthemes/5.icon.jpg
browser/base/content/defaultthemes/5.preview.jpg

Feel free to redirect the component or reviews if there is a more appropriate place for this.

Severity: -- → N/A
Status: NEW → ASSIGNED
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cc08ab00539b
Save 1.4M in omnijar by removing unused theme images; r=desktop-theme-reviewers,harry

So uh, yeah, these files were part of a recommended themes feature - but we didn't then install from AMO, we installed locally, and so I think if users used these builtin themes previously, they will now encounter breakage because the requisite files will have gone AWOL.

Can you file a follow-up to migrate such people back to the default theme, rather than break their Firefox (or, if that's not likely to happen before soft freeze on Thursday, perhaps consider asking for a backout on this patch and relanding it when we're sure we won't break those users)?

See also how when we previously reduced the list of available custom themes, we didn't remove the older images: https://hg.mozilla.org/mozilla-central/rev/06bced347abc

and the pre-existing discussion in bug 1370919.

Flags: needinfo?(htwyford)
Flags: needinfo?(gtatum)
See Also: → 1723602
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

Clearing needinfo because Greg has this handled in bug 1723602.

Flags: needinfo?(htwyford)

I have a patch in Bug 1723602 to migrate users. If that's not landed or acceptable approach, then we can back this one out.

Flags: needinfo?(gtatum)

Backed out from beta for causing issues if users still have old theme set as active (bug 1723602):
https://hg.mozilla.org/releases/mozilla-beta/rev/73a94947399c

Target Milestone: 92 Branch → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: