Hello my extension has been in production (not publicly listed) for some months now. The XPI extension is built on top of the addon sdk and cfx tool.
Over this months we had several users reporting the addon to install but nothing happening after installation, which is:
The icon won’t show in the toolbar/menu neither in the customize panel, it is just not present.
Following the “remove preferences files from the user profile directory” guide is not working.
Over the several release I’ve tried to do all that i found relevant, but still the addon is reported as not working from time to time (a few user fortunately, but still it’s a serious problem for a company’s product).
Most failures have been reported from OSX with up to date Firefox installed (but it happened also on a couple of windows machines).
My package.json contains the default icon.png explicitly which is in the root of the building dir as per default.
All .png are regular files (not overly compressed by minifing tools stripping metadata).
On the latest build i’ve also tried ‘unpack’: true in package.json but it didn’t help.
In the main.js i’m dinamically setting the icon passing the ui.ActionButton icon field an object containing all 4 resolutions for the icon i want depending on the page’s content (i’ve tried single resolution string as the value, both dinamically generated and hardcoded string).
Everything works fine for 99% of the users, but those fails are still there, some of our users have been so kind to try to reinstall firefox and nothing changed. We have not been able to reproduce the bug locally, and it’s hard to understand what’s going on since those users are all around the world.
Any guess, similar story, know bug, suggestion on how to sort this out?