New issue
Advanced search Search tips

Issue 797494 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Android MediaSession artwork is not displayed after clearing cache

Reported by bcl...@gmail.com, Dec 23 2017

Issue description

Steps to reproduce the problem:
1. Make MediaSession notification with artwork appear
2. Clear Chrome cache
3. Refresh the page, goto 1

(Attached video can explain it better)

What is the expected behavior?

What went wrong?
MediaSession artwork is ignored, rel=icon image is used instead.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 65.0.3301.0  Channel: canary
OS Version: 8.1
Flash Version:
 
artwork-bug.7z
9.5 MB Download
Labels: Needs-triage-Mobile
Cc: pnangunoori@chromium.org
Labels: Triaged-Mobile Needs-Feedback
bclexa@ -- Thanks for reporting this issue along with the screencast. Could you please share the sample file to reproduce the issue. That would help us in further triaging the issue.

Thanks in advance!

Comment 3 by bcl...@gmail.com, Dec 26 2017

The initially attached artwork-bug.7z has the "site" directory inside. Serve it using any http server (for example https://www.npmjs.com/package/http-server).
Project Member

Comment 4 by sheriffbot@chromium.org, Dec 26 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "pnangunoori@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
When trying to reproduce this, I can see that the red icon shows for a split second but then switches to the green one. Reason is likely because Chrome doesn't have the icon ready and fetches it. Because we want to have something to show, we will use the website icon while the media session one is being fetched.

Do you confirm this?
By the way, thanks a lot for the great test page. I've hosted it here so it's easier to test: http://mounirlamouri.github.io/sandbox/bugs/797494.html 

Comment 7 by bcl...@gmail.com, Dec 27 2017

mlamouri, on my device (Pixel) when I follow steps captured in the screencast the red icon persists.

It's a bit flaky ineed. Better reproduced if you manage to hit play while the page loading progress bar is still visible. Could it be that the artwork is not loaded when there are other active fetches?

Project Member

Comment 8 by sheriffbot@chromium.org, Dec 27 2017

Cc: mlamouri@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "mlamouri@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 9 by bcl...@gmail.com, Dec 27 2017

I checked network activity via chrome://inspect/#devices
In the negative case, there are no requests for artwork. 
Screenshots attached.
fail.png
124 KB View Download
Components: -Blink>Media Internals>Media>UI
Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)
Thanks for the report! :)

I confirm the issue. What probably happens is that one helper (MediaSessionTabHelper or MediaImageManager) believes that the image or metadata have not change and therefore does not attempt any update but the data is no longer available. This theory seems to be confirmed by the fact that closing the tab and opening a new one to the same page fixes the glitch.

Also moving to P3 given the tiny breakage and the tiny window in which it can occur.
Project Member

Comment 11 by sheriffbot@chromium.org, Jan 10

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
Components: -Internals>Media>UI Internals>Media>Session
Status: Available (was: Untriaged)

Sign in to add a comment