Changing window size will trigger playback of videos




3 years ago
3 years ago


(Reporter: quadronom, Unassigned)



45 Branch
Windows 10

Firefox Tracking Flags

(Not tracked)


(Whiteboard: btpp-followup-2016-04-21)



3 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160303134406

Steps to reproduce:

Change the window size of Firefox via the "restore / maximize" button.

Actual results:

If you have any Youtube Videos opened in a tab, one randomly of them will start play.

Expected results:

Nothing, of course.
I even can't explain why changing the window size would trigger a video to playback.


3 years ago
OS: Unspecified → Windows 10

Comment 1

3 years ago
As a sidenote: It does not happen all time. Maybe only 1 in 5 times.

Comment 2

3 years ago
Is it reproducible with a fresh profile?
Flags: needinfo?(quadronom)
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Jim - this smells a little bit like a widget bug. Thoughts?
Flags: needinfo?(jmathies)
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #3)
> Jim - this smells a little bit like a widget bug. Thoughts?

Maybe, but doesn't seem plausible. (An errant input event?) I'd guess layout or dom over widget since resizing triggers reflow.
Flags: needinfo?(jmathies)
Keywords: qawanted
Moving to DOM > Core/Events.
Component: Audio/Video: Playback → DOM: Events
I tried repeatedly resizing a window (something like 6 times) with a paused youtube tab open and couldn't reproduce.
Whiteboard: btpp-followup-2016-04-21
My guess is that it is racy. Tell us more about the machine you're hitting the issue on? What CPU does it have? What version of Windows? Can you also paste in the graphics section of about:support

Comment 8

3 years ago
(In reply to Loic from comment #2)
> Is it reproducible with a fresh profile?

I didn't have the time to test it on a fresh profile. That would be very time consuming because I don't know a single way to clearly reproduce – it just happens from time to time.  
Did some testing in the last 20 minutes, but not once the bug occured. :/

(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #7)
> Tell us more about the machine

I'm working on a MSI Notebook from 2015, with a Intel i7-5700HQ, running Windows 10 build 10586.13.
From about:support :

Asynchrones Wischen und Zoomen: nichts
ClearType-Parameter: Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50
DirectWrite aktiviert: false (10.0.10586.0)
Gerätekennung: 0x1612
Gerätekennung (GPU #2): 0x139b
GPU #2 aktiv: false
GPU-beschleunigte Fenster: 0/1 Basic (OMTC)
H264-Hardware-Dekodierung unterstützt: No; Hardware video decoding disabled or blacklisted
Herstellerkennung: 0x8086
Herstellerkennung (GPU #2): 0x10de
Karten-Beschreibung: Intel(R) HD Graphics 5600
Karten-Beschreibung (GPU #2): NVIDIA GeForce GTX 960M
Karten-RAM: Unknown
Karten-RAM (GPU #2): 2048
Karten-Treiber: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
Karten-Treiber (GPU #2): nvd3dumx,nvwgf2umx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um,nvwgf2um
Subsys-ID: 11031462
Subsys-ID (GPU #2): 11031462
Treiber-Datum: 11-18-2015
Treiber-Datum (GPU #2): 3-7-2016
Treiber-Version (GPU #2):
WebGL-Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 5600 Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote: true
AzureCanvasBackend: skia
AzureContentBackend: cairo
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
Flags: needinfo?(quadronom)
Quadronom - are you resizing with the mouse, touchpad or touch screen? If it is a touchpad, are you using a separate button to drag or are you relying on touch drag? I'm wondering whether we're delivering touch events to the window.

Brian - you know something about events? Any ideas?
Flags: needinfo?(bbirtles)
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #9)
> Brian - you know something about events? Any ideas?

No. Olli or Masayuki are more like to be of help.
Flags: needinfo?(bbirtles)

Comment 11

3 years ago
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #9)
> Quadronom - are you resizing with the mouse, touchpad or touch screen?

Actually I never resize my firefox at all, it's always maximized (But if I would, I'll use my mouse).
I experienced the bug when I accidentelly missed the minimize button and hit restore.

I might want to add, that this could be a weird youtube bug as well – I didn't have the problem for a few days now…

Comment 12

3 years ago
Guys, it got even weirder.
In one tab I had Amazon Prime Video (Silverlight!) open, then I plugged an external monitor into my notebook: and tada, suddenly the playback of my Dexter episode started!
You need to log in before you can comment on or make changes to this bug.