New issue
Advanced search Search tips

Issue 746405 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Disabling decoding background video doesn't work when window is backgrounded

Project Member Reported by fbeaufort@chromium.org, Jul 19 2017

Issue description

Chrome Version       : 61.0.3159.0
OS Version: 9756.0.0

Prerequisite: Enable chrome://flags/#disable-background-video-track

What steps will reproduce the problem?
1. Go to https://www.youtube.com/watch?v=8oB3LPeASB4 in Window A
2. Switch to a foregrounded Window B (hiding Window A completely)
3. Check out about:media-internals YouTube video player logs

What is the expected result?
It should include "Selected video track: []" that indicates that video tracks has been disabled when video was in the background.

What happens instead of that?
It does not.

Note that disabling decoding background video works great when switching simply tabs in the same window.


 
I think that's WAI as Chrome doesn't know if it is fully obfuscated. It would work if you minimise the window though.
Chrome OS should be able to know don't you think?
Chrome has a notion of visibility (ie. visible/backgrounded) and that's what is used here. The concept is more general than this feature. Whether we should be smarter on Chrome OS, I don't know. I think that the feature should use the generic signal and if Chrome OS marks the tab has hidden when fully obfuscated, it would just work.
Note that both Windows A and B were maximized.

Do you know who could help us regarding this signal?
I would start with sky@
Yes, this is WAI AFAIK. We've had issues with this in the past even for session restore and video playback; the "background" window is not actually considered backgrounded.
Cc: posciak@chromium.org
Status: WontFix (was: Unconfirmed)
Indeed. It is Work As Intended.

"To correctly determine if the active tab of a non-active window is not visible to the user requires non-trivial operations that would need to be re-run any time a window on the desktop changes its bounds."

;(

Sign in to add a comment