HTML5 video prevents display from sleeping when it probably should sleep |
|||||
Issue descriptionVersion: 52.0.2743.116 OS: Ubuntu 16.04.1 LTS What steps will reproduce the problem? (1) Open a page that uses HTML5 <video> tags, e.g. amazon.com What is the expected output? Chrome will not interfere with the user's Display Power Management Signaling (DPMS) preferences when the tab is not in the foreground. What do you see instead? The presence of the amazon.com tab causes Chrome to place an inhibition on DPMS power-off preferences. I presume this is because there are <video> elements (ads) on the page and Chrome assumes the user is watching them. However, this occurs even when the tab is in the background. The result is that the monitor does not switch off after the amount of time configured in DPMS preferences. I think the inhibition is too aggressive and should only be done if the video is in the foreground (full-screened or in a visible tab and actually in the physical viewport). Please use labels and text to provide additional information.
,
Oct 11 2016
In case it wasn't clear, this can result in the monitor being on for long periods of time. If you have many tabs open, it's very difficult to tell why the monitor is not being allowed to sleep.
,
Oct 11 2016
,
Oct 11 2016
Maybe the solution is to only do this preventing the display from sleeping if it's in a foreground tab? I don't see why we need to do this for background tabs.
,
Oct 11 2016
I believe the backend is what holds the power lock?
,
Aug 2 2017
An available bug that is a P3 and hasn't been updated in 180 days. I'm going to archive this. If you disagree with this action, please feel free to reopen and do anything necessary to get someone's attention to the fact that this is still a bug we care about.
,
Mar 30 2018
possibly related to https://bugs.chromium.org/p/chromium/issues/detail?id=827528 ? |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by sjr@google.com
, Oct 11 2016