Closed Bug 1215861 Opened 9 years ago Closed 8 years ago

Notifications popup does not work the first time with iconURL:remote image

Categories

(Core :: Graphics: ImageLib, defect)

37 Branch
Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1233086
Tracking Status
firefox41 --- wontfix
firefox42 --- wontfix
firefox43 --- wontfix
firefox44 --- wontfix
firefox45 --- wontfix
firefox46 --- wontfix
firefox47 --- wontfix
firefox48 --- wontfix
firefox49 --- fixed
firefox-esr38 --- wontfix

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [dupe me][gfx-noted])

Attachments

(1 file)

(deleted), application/x-xpinstall
Details
Attached file notification.xpi (deleted) —
I found a bug when I test Bug 1201397.
This problem is since Firefox37 on Linux. (it works on Windows7)

Notifications popup does not work the first time with remote image.
If remove the iconURL:...., It works the first time as expected.


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

  notifications.notify({
   title: "notifications test",
   text: "test from sdk",
   iconURL: "https://bugzilla.mozilla.org/extensions/BMO/web/producticons/firefox.png"
  });



Steps To Reproduce:
1. Install attached addon
2. Restart
   --- observe notification
3. Open about:addons
4. Disable and then Enable the addon
   --- observe notification

Actual Results:
Notifications popup does not work the 1st time (step.2), but works 2nd, 3rd... time (step.4)


Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cac6192956ab&tochange=369a8f14ccf8

Suspect: Bug 1079627
Flags: needinfo?(seth)
Whiteboard: [dupe me] → [dupe me][gfx-noted]
Also reported here: 1125558
[Tracking Requested - why for this release]: We are promoting notifications in Fx 42 due to the newly added Push API. It will be confusing to developers if the first notification doesn't work and will reduce trust in this new feature.
Oops, I meant 44.
Tracked for 44 since this also impacts push notifications feature to be shipped in FF44.
MattN, will the fix for this come from you/Kit (push notifications team)? If not, who can I ping to get somebody to investigate this? I would consider this as release blocking for push notifications.
Flags: needinfo?(MattN+bmo)
Josh, Andrew: This bug is about losing the first notification with remote images. Could you help find an owner for this bug? Thanks!
Flags: needinfo?(overholt)
Flags: needinfo?(josh)
Ideally this would come from Seth's team since it's his regression but I think Kit was looking into or fixing this in another bug.
Flags: needinfo?(MattN+bmo)
I emailed Seth to see what he thinks. Unless Kit can come up with a fix, if this is indeed an ImageLib regression, Seth is likely the best assignee.
Flags: needinfo?(overholt)
Nothing to add to the above.
Flags: needinfo?(josh)
We are in RC mode, it's too late and this is now a wontfix for Fx44.
Milan, who can look at this?
Flags: needinfo?(milan)
Flags: needinfo?(howareyou322)
Does this reproduce anymore? comment 0 worked as expected for me in nightly and release.
Flags: needinfo?(alice0775)
I can still reproduce the problem on Ubuntu14.04.

https://hg.mozilla.org/mozilla-central/rev/9ce31e9f90cb0e534611b0f617c5bbc232ffe748
Mozilla/5.0 (X11; Linux i686; rv:49.0) Gecko/20100101 Firefox/49.0 ID:20160426044609

This problem occurs on LINUX, but not on Windows. (I do not know on OSX)
Flags: needinfo?(alice0775)
Hmm, I guess it doesn't happen on OS X then, at least not for me.

It looks like this code is getting rewritten in bug 1233086 (patches almost ready to land it looks like). Before looking into this I would check if those patches fix this. I'll do this eventually if someone doesn't get to it before me (assuming I can reproduce on another machine).
Depends on: 1233086
Flags: needinfo?(howareyou322)
waiting on bug 1233086 for another cycle.
Status: NEW → RESOLVED
Closed: 8 years ago
No longer depends on: 1233086
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: