New issue
Advanced search Search tips

Issue 706212 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Nov 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

In the browser notification flyout , image display is missing sometimes although available in the payload

Reported by svara...@yahoo-inc.com, Mar 29 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36

Steps to reproduce the problem:
1. Enable browser notifications for few profiles in latest chrome version.
2. When notifications are sent, observe that although the payload has the image, some notifications do not show the image in the flyout.
3. Screenshot attached.

What is the expected behavior?
Image in the browser notifications flyout should show up consistently.

What went wrong?
screenshot attached showing in some browser notifications flyout image is missing.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.110  Channel: stable
OS Version: OS X 10.10.5
Flash Version:
 
noimage.png
17.9 KB View Download
Components: -Blink>ServiceWorker UI>Notifications
Labels: Needs-Triage-M57

Comment 4 by lgrey@google.com, Mar 30 2017

Labels: Needs-Feedback
Is there any rhyme or reason to the images this happens with? Unable to reproduce via sending many notifications with icon: "http://placekitten.com.s3.amazonaws.com/homepage-samples/408/287.jpg"

Comment 5 by peter@chromium.org, Mar 31 2017

Owner: peter@chromium.org
There are a few reasons why this could happen, most notably the image fetching timeout (which we set at 90 seconds), after which we give up. Is there any chance at all that your laptop may be subject to poor connectivity?

Other reasons include decode and IPC failures, but those should be far less likely. I'm OOO right now, but will take a look at metrics on Monday to see if there's any elevated values.

Comment 6 by lgrey@chromium.org, Mar 31 2017

Status: Untriaged (was: Unconfirmed)
I got an eventual repro for this by turning on notifications on yahoo.com (per the original report). and waiting a while, but I'm not sure how to inspect a payload.

Comment 7 by joh...@chromium.org, Mar 31 2017

Another possible reason - it could be a rendering glitch like  issue 482386 .

Comment 8 by phistuck@gmail.com, Mar 31 2017

So do all of the desktop platforms suffer from severe notification rendering glitches from time to time? :( See issue 486509 for the Windows version.

Comment 9 by dk...@chromium.org, Apr 5 2017

Labels: -Needs-Feedback
Removing needs feedback since it looks like we've got a repro. Should we move this bug from untriaged to available?
Status: Available (was: Untriaged)
Thanks. We are seeing similar in mail notifications also.
mail.png
131 KB View Download
Any update on the issue?

Comment 13 by peter@chromium.org, May 15 2017

Hi Svarader, this issue is very hard to act on without more information. Where does the image URL come from? Could you link to your Service Worker code so that I can take a look at how you're displaying the notification?
We use the following pseudo code to show Notifications in the Service worker
```    return Promise.all([
        self.self.registration.showNotification(title, {
            body, icon, tag, data,
            renotify: true,
            requireInteraction: true,
        }),
        Promise.resolve(parseError && doSomething1(..)),
        doSomething2(),
        doSomething3(),
    ]);


```

The service-worker URL: https://www.yahoo.com/service-worker.js

Image URL: https://s.yimg.com/uu/api/res/1.2/smR9cGzfRcnbxFsQmaveHQ--/Zmk9c3RyaW07aD0zMjA7cHlvZmY9MDtxPTgwO3c9MzIwO3NtPTE7YXBwaWQ9eXRhY2h5b24-/http://media.zenfs.com/en-US/video/video.associatedpressfree.com/0611dcf52cd8d5dffc777d9cef2a255a (13kB)
Project Member

Comment 15 by sheriffbot@chromium.org, May 28 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Assigned (was: Untriaged)
Labels: Hotlist-DesktopUIChecked
Status: WontFix (was: Assigned)
*** UI Mass Triage***

Tested on latest Canary #72.0.3617.0 on Mac 10.13.6 and was not able to reproduce the issue by performing testing on www.mail.yahoo.com. Able to see the images on the notifications received.

svaradar@ -- Please feel free to file a new issue or reopen this issue if the issue is reproduced on latest Canary versions.

Thanks!

706212-1.png
29.8 KB View Download

Sign in to add a comment