New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 859926 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Opening bookmarks in new window plays every video simultaneously

Reported by mjbu...@gmail.com, Jul 3

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Open the bookmark manager
2. Select a folder, or just multiple bookmarks with links to YouTube videos
3. Open these bookmarks in a new window
4. Notice that all of the videos play simultaneously, unlike if you were to open them in tabs in the current window.

What is the expected behavior?
The only video to play should be the active tab.

What went wrong?
All of the videos play simultaneously, unlike if you were to open them in tabs in the current window.

Did this work before? N/A 

Is it a problem with Flash or HTML5? N/A

Does this work in other browsers? N/A

Chrome version: 67.0.3396.99  Channel: stable
OS Version: OS X 10.13.5
Flash Version: 

Contents of chrome://gpu:
 
Components: Internals>BackgroundTaskScheduler
Hmm, this would imply background/foreground status is incorrect at launch of the new window. There's another bug that this can be linked to if I can find it, but for now +background scheduler folks who are probably at least interested in an FYI for this.
Owner: mlamouri@chromium.org
mlamouri@: Is this something you could take an initial look at?
+gab who is the last person I remember making a lot of changes for the foreground/background machinery. The bugs I was thinking of are  issue 526271  and  issue 560446  -- which is still open and available.
Cc: gab@chromium.org
actually +gab for c#3.
Cc: -gab@chromium.org mlamouri@chromium.org
Components: -Internals>Media Blink>Media>Autoplay
Owner: gab@chromium.org
Assigning to gab@ as playback will only be blocked for hidden pages. If there is a bug here it's very likely because the page is exposed as note hidden. The fact that opening in a new window is the problem over opening to the current window seems more likely the issue over the background playback logic.
Labels: Needs-Triage-M67
Cc: fdoray@chromium.org chrisha@chromium.org
Status: Untriaged (was: Unconfirmed)
This could be  issue 560446  but I'm not convinced. We inversed the backgrounding logic in M51 (r385608) to make navigations foreground by default (otherwise foreground navigations were backgrounded until navigation commit per having no associated visible state...). So ctrl+click would indeed result in a "foreground" tab until it's focused and unfocused again...

There's been discussion on how to solve this, oysteine@ had a proposal but has since left the team and I haven't had time to loop back around to it.

However,  issue 560446  results in foreground *priority*, widgets are still not considered *visible*. i.e. the same thing happens on session restore (all tabs will have foreground priority until focused/unfocused once), but video playback is stopped nonetheless.

So the problem is that "open in new window" for a bookmark group doesn't have the same behavior as session restore (where this does work despite  issue 560446 ).

+fdoray/chrisha as the restore experts.


PS: What's BackgroundTaskScheduler?! It sounds like a thing the base/task_scheduler folks should be aware of?
Owner: chrisha@chromium.org
BackgroundTaskScheduler is a wrapper around an Android System API for executing tasks when the Chrome executable is not running. On some versions of Android, instead of the system API, Google Play services is used.
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment