Add-on notifications.notify API and Firefox 44.0a2

Hi,

Just wondering if anyone has any issues with the notifications.notify API and Firefox version 44.0a2 such as the icon size?

Example:

var notifications = require(“sdk/notifications”);

var myIconURL = "./myIcon.png";

notifications.notify({
  text: "I have an icon!",
  iconURL: myIconURL
});

The icon seems to be much larger in 44.0a2 than it was in version 43

Is there a specific size for the icon via this API?

Thanks

I’m not seeing it in nightly. Might be platform dependant? How big is the actual PNG image you are using?

Hey, 31kb and 31x31

I will check again to see if its something I am doing wrong.

I noticed the same thing, I didn’t see any documentation changes related to the icon size so I just upped my source icon resolution. Though the new layout of the notice looks like it needs work, just based on the proximity of my icon to the bottom edge.

Top is 44.0a2, bottom is 43.0b3

Thanks, I thought it was just me!

I have not yet found a solution to this matter and will possibly log this down as a potential bug?

If you do find a solution, please let me know.

https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&email1=darren%40wizzardweb.co.uk&field0-0-0=bug_status&type0-0-0=notequals&value0-0-0=UNCONFIRMED&field0-0-1=reporter&type0-0-1=equals&value0-0-1=darren%40wizzardweb.co.uk&list_id=12697545

Regression (or perhaps intentional?) from this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1201397

Of course I don’t see it because I’m on Linux and have my own native notification system.

Very possible… Thanks for that

I would like to add the Same Issue here on (Windows Firefox 44.0) / 26 Jan 2016

My Notification are also showing up in Large Size and the Icons are also showing in Original Size. While befor all Icons were being Automatically resized to fit the Notification. I even tried to resize the Icons to small size, but Still the Notification + Icons are showing up in Large size.

So what is causing this? Did we find any fix to for this issue.

Thank you-

https://bugzilla.mozilla.org/show_bug.cgi?id=1225845

You can probably fix this pretty easily with some CSS to limit the width and height of the notification icon. I haven’t tried though.

No resolution as far as I am aware with regards to this issue.

I have raised the issue here https://bugzilla.mozilla.org/show_bug.cgi?id=1225845