Closed Bug 722252 Opened 12 years ago Closed 12 years ago

Add-ons Manager: Extensions without icon get displayed with the icon of the previous extension viewed

Categories

(Firefox for Android Graveyard :: General, defect, P2)

ARM
Android
defect

Tracking

(firefox13 verified, blocking-fennec1.0 +, fennec11+)

VERIFIED FIXED
Firefox 13
Tracking Status
firefox13 --- verified
blocking-fennec1.0 --- +
fennec 11+ ---

People

(Reporter: jwkbugzilla, Assigned: mbrubeck)

References

Details

Attachments

(3 files)

Attached image Screenshot
See screenshot - that's the details view for the Extensions Auto-Installer, yet it shows the icon of Adblock Plus. To get there I first opened the details view for Adblock Plus, then went back and opened the details view for Extensions Auto-Installer. Extensions Auto-Installer doesn't have an icon, so apparently whichever icon was displayed last simply stays there.
Blocks: aom
tracking-fennec: --- → 11+
Priority: -- → P2
Assignee: nobody → mbrubeck
Attached patch patchSplinter Review
addon.iconURL is null in this case, but setAttribute("src", null) has no effect, and neither does setAttribute("src", "").  Instead we need to call removeAttribute.
Attachment #600060 - Flags: review?(mark.finkle)
Attachment #600060 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/930014e7965c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
blocking-fennec1.0: --- → +
Nightly Fennec 13.0a1 (2012-02-01)
Device: HTC Desire Z
OS: Android 2.3.3

The proper icon is displayed for all add-ons in detail view if there is no icon the icon field stays empty.
Status: RESOLVED → VERIFIED
Fennec 28.0b4
OS: Android 4.2.2

Addons not from AMO still have this problem if addon has no icon.

ex:
to Replicate bug:

download an addon from outside AMO that does not have an icon 
(ex: http://mozilla.github.io/shumway/extension/firefox/shumway.xpi)
after downloading and installing go to addons page
tap on an addon with an icon
go out of detail view
tap the addon that has no icon and does not come from AMO

Expected result:
for no icon to show when addon has no icon

Actual result:
icon of last addon view with an icon is shown
Please open a new bug.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: