Changing window size will trigger playback of videos

RESOLVED INACTIVE

Status

()

Core
DOM: Events
RESOLVED INACTIVE
2 years ago
4 days ago

People

(Reporter: quadronom, Unassigned)

Tracking

({qawanted})

45 Branch
Unspecified
Windows 10
qawanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

2 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.
(Reporter)

Updated

2 years ago
OS: Unspecified → Windows 10
(Reporter)

Comment 1

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

Comment 2

2 years ago
Is it reproducible with a fresh profile?
Flags: needinfo?(quadronom)

Updated

2 years ago
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Jim - this smells a little bit like a widget bug. Thoughts?
Flags: needinfo?(jmathies)

Comment 4

2 years ago
(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
(Reporter)

Comment 8

2 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 :
Grafik
------

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: 20.19.15.4331
Treiber-Version (GPU #2): 10.18.13.6451
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)
(Reporter)

Comment 11

2 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…
(Reporter)

Comment 12

2 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!

Comment 13

4 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.