Closed Bug 1181049 Opened 9 years ago Closed 9 years ago

sdk/notifications with libnotify works only the 2nd time with remote image

Categories

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

Unspecified
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1178061

People

(Reporter: contact, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150605133456

Steps to reproduce:

var notifications = require("sdk/notifications");

notifications.notify({
 title: "stuff",
 text: "stuff",
 iconURL: "direct url to image"
});

Plugin with this issue :
https://github.com/Wykks/Untamed-Now-Playing-Next
Notification part (this file will be split in multiple modules, don't worry about that):
https://github.com/Wykks/Untamed-Now-Playing-Next/blob/master/lib/nowPlayingIO.js#L47


Actual results:

No notification is shown, no error is raised.

The above code works fine on Windows. But on Linux it only works the 2nd time.


Expected results:

A notification should be shown, the first time.
OS: Unspecified → Linux
Thanks for the good bug report. I'm going to dupe to an older report.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.