Closed Bug 1406064 Opened 7 years ago Closed 7 years ago

Screensaver is not inhibited for non-fullscreen (HTML5) video playback

Categories

(Core :: Widget: Gtk, defect)

57 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1168090

People

(Reporter: markskilbeck, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170928234122 Steps to reproduce: Play a non-fullscreen HTML5 youtube video for longer than the OS screensaver timer. Actual results: Screensaver was started. Expected results: Screensaver should be inhibited.
I seem to remember this not being an issue before 57, but can't check right now. In case this is not a bug, but actually expected behaviour, I would like to request that default behaviour be changed to inhibit the screensaver whenever video is playing in the active tab. I think it is reasonable that video playing in the active tab is actively being viewed, and so should not be interrupted by the OS screensaver. An objection to this is that adverts may inhibit the screensaver.
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
In my testing, the screensaver is inhibited even when not fullscreen. Can you run dbus-monitor while playing fullscreen and non-fullscreen video to confirm, please? I suspect either the inhibition is not working at all on your system, or the session/screen manager is making its own decision based on whether Firefox is fullscreen or not.
See Also: → 1168090
(In reply to Karl Tomlinson (:karlt) from comment #2) > In my testing, the screensaver is inhibited even when not fullscreen. > > Can you run dbus-monitor while playing fullscreen and non-fullscreen video > to confirm, please? So I set the screensaver to run after 60s, using `xset s 60 60`. Running dbus-monitor produces the following output for both fullscreen and non-fullscreen mgsk@earth ~> sudo dbus-monitor signal time=1507537240.475806 sender=org.freedesktop.DBus -> destination=:1.0 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.0" signal time=1507537240.475823 sender=org.freedesktop.DBus -> destination=:1.0 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost string ":1.0" > I suspect either the inhibition is not working at all on your system, or the > session/screen manager is making its own decision based on whether Firefox > is fullscreen or not. Hum. That would be a pain.
Thanks. I suspect this is bug 1168090. The approach in bug 1398539 should also provide a solution.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
See Also: 11680901398539
You need to log in before you can comment on or make changes to this bug.