Closed
Bug 1305430
Opened 8 years ago
Closed 8 years ago
Favicon is displayed on media control notification only after the "pause" button is tapped
Categories
(Firefox for Android Graveyard :: Audio/Video, defect, P2)
Tracking
(firefox52 verified)
VERIFIED
FIXED
Firefox 52
Tracking | Status | |
---|---|---|
firefox52 | --- | verified |
People
(Reporter: sflorean, Assigned: alwu)
References
Details
(Whiteboard: [TPE-1])
Attachments
(2 files)
Environment:
Device: Nexus 5 (Android 6.0.1);
Build: Nightly 52.0a1 (2016-09-24);
Steps to reproduce:
1. Start Firefox with a clean profile;
2. Go to www.guardian.com;
3. Go to the android notification bar;
4. Tap the pause button from the media control notification.
Expected result:
Favicon is displayed on media control when the video starts playing.
Actual result:
Favicon is displayed on media control only after the "pause" button is tapped.
Notes:
Please see the video: https://youtu.be/XAWcpn4oYBw
Updated•8 years ago
|
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Comment 1•8 years ago
|
||
This seems to happen for the first load of the page only, right? After the icon has been loaded and displayed once, it works for subsequent visits of the page, right?
Assignee: s.kaspari → nobody
Status: ASSIGNED → NEW
Whiteboard: [TPE-1]
Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #1)
> This seems to happen for the first load of the page only, right? After the
> icon has been loaded and displayed once, it works for subsequent visits of
> the page, right?
Yes, and with clean profile it's reproducible.
If I tap on play/pause button from media control notification the favicon is displayed for that media content every time I visit the page.
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(alwu)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → alwu
Flags: needinfo?(alwu)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8797098 -
Flags: review?(s.kaspari)
Attachment #8797099 -
Flags: review?(s.kaspari)
Updated•8 years ago
|
Priority: -- → P2
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8797098 [details]
Bug 1305430 - part1 : send the notification again after tab got its favicon.
https://reviewboard.mozilla.org/r/82734/#review82198
::: mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java:61
(Diff revision 1)
>
> private static WeakReference<Tab> mTabReference = new WeakReference<>(null);
>
> private int minCoverSize;
> private int coverSize;
> + private boolean mUseDefaultCoverIcon;
I wonder if we actually need this or if we should always update the notification if we receive a new icon for the playing tab. What do you think?
If we keep it then maybe we should rename it: From the name I'd assume that if this is 'true' then we always want to only use the default cover.
Attachment #8797098 -
Flags: review?(s.kaspari) → review+
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8797099 [details]
Bug 1305430 - part2 : replace action checking with isMediaPlaying().
https://reviewboard.mozilla.org/r/82736/#review82200
Attachment #8797099 -
Flags: review?(s.kaspari) → review+
Assignee | ||
Comment 7•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #5)
> I wonder if we actually need this or if we should always update the
> notification if we receive a new icon for the playing tab. What do you think?
Good idea, I'll remove that and update the notification everytime when the tab gets the new favicon.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf58d76c8f1d
part1 : send the notification again after tab got its favicon. r=sebastian
https://hg.mozilla.org/integration/autoland/rev/85ce273e1c6b
part2 : replace action checking with isMediaPlaying(). r=sebastian
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bf58d76c8f1d
https://hg.mozilla.org/mozilla-central/rev/85ce273e1c6b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Reporter | ||
Comment 13•8 years ago
|
||
Verified as fixed in build 52.0a1 2016-10-09;
Device: LG G4 (Android 5.1) and Nexus 5 (Android 6.0.1).
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•