Closed Bug 1002708 Opened 11 years ago Closed 9 years ago

Add-on SDK ui-button module picks different icons from list provided by the add-on when in customize mode the first time vs. the second time (possibly OS X hidpi related)

Categories

(Add-on SDK Graveyard :: General, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: phlsa, Assigned: zer0)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:P-])

This can be tested with the Lightbeam add-on on OS X. When Lightbeam is in the customization palette, its icon is being shown after a fresh start of the browser. However, if you just exit and re-enter customization mode, it doesn't display the icon anymore (just the text). The icon then remains hidden until the next restart of the browser. On Windows 8.1, the icon is always visible (as it should be).
Does lightbeam show the default "add-on" icon, or does it have its own icon (in the version you're using)?
Flags: needinfo?(philipp)
(In reply to :Gijs Kruitbosch (PTO april 28) from comment #1) > Does lightbeam show the default "add-on" icon, or does it have its own icon > (in the version you're using)? It has its own icon. It's version 1.0.9.
Flags: needinfo?(philipp)
I hope to be able to look at this in the coming week. Not sure I actually will, however...
Flags: needinfo?(gijskruitbosch+bugs)
Flags: firefox-backlog?
Flags: firefox-backlog? → firefox-backlog+
Does this reproduce with any other add-ons? It looks like the icon changes from the 32x32 to 48x48, which isn't in their repo and therefore isn't shipped. Needinfo'ing Monica for that, because it looks like it does claim this is usable, and that's weird: https://github.com/mozilla/lightbeam/blob/master/lib/ui.js#L277 However, it's also strange that at one point, the SDK decides to use one icon, and at another point, it randomly decides to use a different one. Matteo, can you look at this, please?
Component: Toolbars and Customization → General
Flags: needinfo?(zer0)
Flags: needinfo?(mmc)
Flags: needinfo?(gijskruitbosch+bugs)
Flags: firefox-backlog+
Product: Firefox → Add-on SDK
Whiteboard: [Australis:P5] → [Australis:P-]
Version: 31 Branch → unspecified
Gijs, thanks for finding that bug. We'll remove reference to that icon in the next release, which should hopefully be out next week.
Flags: needinfo?(mmc)
(In reply to :Gijs Kruitbosch from comment #4) > Does this reproduce with any other add-ons? I do have a similar issue with Adblock edge (https://addons.mozilla.org/sv-SE/firefox/addon/adblock-edge/), but it is not exactly the same since it just never shows an icon when in the customization palette.
(In reply to Philipp Sackl [:phlsa] from comment #6) > (In reply to :Gijs Kruitbosch from comment #4) > > Does this reproduce with any other add-ons? > I do have a similar issue with Adblock edge > (https://addons.mozilla.org/sv-SE/firefox/addon/adblock-edge/), but it is > not exactly the same since it just never shows an icon when in the > customization palette. I'll try and have a look what's up here in the near future, but I'm pretty backlogged because of high-prio other stuff.
Flags: needinfo?(gijskruitbosch+bugs)
(In reply to :Gijs Kruitbosch from comment #4) > However, it's also strange that at one point, the SDK decides to use one > icon, and at another point, it randomly decides to use a different one. > Matteo, can you look at this, please? I'll take a look on that.
Flags: needinfo?(zer0)
Assignee: nobody → zer0
The ABE case is because it references "abe-status-32.png" which doesn't actually exist in the add-on (unlike abe-status.png, abe-status-16.png and abe-icon-big.png). Sounds like all that remains is the SDK issue.
Flags: needinfo?(gijskruitbosch+bugs)
Summary: Add-on icons disappear from customization mode after exiting it for the first time → Add-on SDK ui-button module picks different icons from list provided by the add-on when in customize mode the first time vs. the second time (possibly OS X hidpi related)
Hey Matteo, are you working on this one? if not could you please unassign yourself.
Flags: needinfo?(zer0)
Sorry, I wasn't working on SDK anymore; and it gets a lower priority since WebExt. I tried to take a look but I wasn't able to reproduce the issue (on OS X). Please, feel free to reopen the bug if it's still applicable.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(zer0)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.