Closed
Bug 1477664
Opened 7 years ago
Closed 5 years ago
Media control notification issues
Categories
(Firefox for Android Graveyard :: Audio/Video, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mark.paxman99, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:63.0) Gecko/20100101 Firefox/63.0
Build ID: 20180721220720
Steps to reproduce:
On Fennec Nightly 2018-07-22
Make sure autoplay settings in about:config are at default values.
Turn off "Allow autoplay" in Setings > Advanced
Restart Fennec to be sure
Navigate to http://www.falmouthpacket.co.uk/news/16368976.cocaine-seizure-in-newlyn-one-of-biggest-ever-in-uk-video/
The video on the page starts autoplaying. A notification pops up with title and pause button.
The following behaviours seem incorrect:
* if I leave the notification alone it disappears completely (it should minimise to the Android toolbar?)
* if I DO try to interact with the notification eg tap pause it correctly minimises to the Android toolbar, but...
- If I try to pause using the notification nothing happens, the video doesn't pause
- If I try to swipe the notification to disappear it, I can't.
- If I navigate "back" from the falmouthpacket video page, the notification does not disappear. I think I have to restart Fennec to get rid of it.
This is very different from how the notification behaves on eg CNET where it behaves sensibly. I think the video example in this bug has no sound, so perhaps the problem is how the notification logic interacts with no-sound videos?????
Comment 1•7 years ago
|
||
> A notification pops up with title and pause button.
Bug 1477700.
> If I try to swipe the notification to disappear it, I can't.
I think that's part of the design - as long the the corresponding media is playing, the notification cannot be dismissed.
The other points you mention don't sound right, though and need investigating.
Component: General → Audio/Video
Comment 2•7 years ago
|
||
... and that notification isn't autoplay-specific. (Although the autoplay-blocking behaviour changed a few days ago in bug 1476853, which probably doesn't help in distinguishing which behaviour changes might have been caused by what).
OS: Unspecified → Android
Hardware: Unspecified → All
Summary: Prevent autoplay notification can be erratic → Media control notification issues
I see the same strange behaviour on cnn.com. Which is odd, when I fiddled with it a few hours ago cnn.com behaved much more sensibly (I could pause/play from the notification and the notification appeared and disappeared in a sensible fashion). Now cnn.com behaves strangely.
So this may be an intermittent problem, or it may just affect my device?
(PS thanks for changing the bug title, mine was ****)
Comment 4•7 years ago
|
||
Thanks for the report!
Could you please tell me on what device are you seeing this issue? Tested with Nexus 5(Android 6.0.1) and I didn't get any notification with build from 25-07 and allow autoplay OFF.
Flags: needinfo?(mark.paxman99)
Hmmm
I do get the notification on my Sony Xperia X Compact running Oreo
I don't get the notification on my BQ Aquaris X5 running Nougat
I think I have them both set up the same. Both on http://www.falmouthpacket.co.uk/news/16368976.cocaine-seizure-in-newlyn-one-of-biggest-ever-in-uk-video/
Flags: needinfo?(mark.paxman99)
Comment 6•7 years ago
|
||
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Comment 7•7 years ago
|
||
I think this needs further investigating.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INACTIVE → ---
Aha, on all three of my phones I briefly see a Fennec icon flash in the notification area top left as the video starts. On two of my phones it disappears again within a fraction of a second. On the third phone it becomes a big toast ("heads-up"?) notification which stays on the screen for a few seconds. If I interact with the heads-up Fennec screws up. On another of my phones, if I have the notification area expanded (swipe down from the top) as the video starts to play, the notification hangs around and if I intereact with it, Fennec screws up.
Moto E 2nd gen 4G Android 6.0
BQ Aquaris X5 Android 7.1.2
Sony Xperia X Compact Android 8.0.0
All Fennec Nightly 2018-07-26
All have media.autoplay.xxxxx settings at default values
All have Settings > Advanced > Allow autoplay set to OFF
Navigate to http://www.falmouthpacket.co.uk/news/16368976.cocaine-seizure-in-newlyn-one-of-biggest-ever-in-uk-video/
On the Moto and BQ a Fennec icon flashes briefly in the notification area top left as the video starts to play. Perhaps for half a second.
On the Sony it shows a full heads up notification which persists for a few seconds. If I interact with the heads-up notification on the Sony (e.g. touch pause), Fennec screws up because it doesn't dismiss the notification properly.
On the Moto, if I swipe down from the top just before the video starts, so that the notification area is shown (transparent overlay says "No notifications"), sometimes I get the same behaviour as on the Sony, i.e. a full size notification appears with a pause button, and if I interact with that notification Fennec screws up. You need to make sure the notification area is visible just before the video starts.
The BQ does not show this behaviour. Just the brief flash of the Fennec icon in the notification area top left.
What I think it happening:-
1. Fennec always fires a notification when the video starts playing (it shouldn't)
2. If the video is has no audio and so is play-by-default, Fennec kills the notification again within a fraction of a second (ugly)
3. On my Sony with Android 8.0.0 when the notification fires it becomes a big "heads-up" notification and if I interact before it gets killed by Fennec it goes wrong. I guess "heads-up" does not exist on Android 6 & 7 ???? (yuk)
4. On my Moto I sometimes see a similar problem to (3) if I happen to have the notification area visible. (yuk)
Wild guesses!
Comment 9•7 years ago
|
||
As I mentioned, the heads-up appearance on Android O isn't intentional and should be fixed by bug 1477700.
| Reporter | ||
Comment 10•7 years ago
|
||
Sure thanks. But I think the problem is there shouldn't be a notification AT ALL if this is something that's playing by default?
I think there's a conflict between two bits of code. The video play code says, let's start playing this video by default but we won't tell the notification code. But the notification code says, let's pop up a notification anyway with the pause button. And maybe kill it again a second later. But the two bits of code don't talk to each other so if I interact with the notification it has no way of talking back to the video play code. So the pause button doesn't work and the notification can get stuck.
I understand this isn't a high priority right now so feel free to kill, I won't be offended ;) I don't allow any autoplaying normally so I was just fiddling. But I reckon there is a quick fix somewhere in the notification logic.
Mark
| Reporter | ||
Comment 11•7 years ago
|
||
Comment 12•5 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 5 years ago
Resolution: --- → INCOMPLETE
Updated•5 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
•