Open Bug 1951332 Opened 24 days ago Updated 10 days ago

Firefox does not inhibit screensaver during fullscreen video playback on FreeBSD (X11)

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 135
defect

Tracking

()

UNCONFIRMED

People

(Reporter: boilednut, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0

Steps to reproduce:

  1. Start Firefox on FreeBSD 13.4 (X11, using scfb or other X drivers).
  2. Launch a fullscreen video (YouTube, etc.).
  3. Wait until the system screensaver timeout occurs.

Actual results:

On FreeBSD 13.4 with Firefox 135.0 (X11), fullscreen video playback does not inhibit the system screensaver.

This is most noticeable with desktop environments like MATE, which uses mate-screensaver, but the same behavior occurs with xscreensaver and other X11-based screensaver systems. Firefox does not appear to send any XResetScreenSaver() calls, nor does it make any attempt to use DBus inhibition on FreeBSD.

This works correctly with other browsers such as Brave (Chromium-based), which explicitly calls XResetScreenSaver() when a video is playing in fullscreen mode. Chromium also optionally interacts with org.freedesktop.ScreenSaver if DBus is available, though that’s less relevant on FreeBSD.

This issue appears to be a general oversight in Firefox’s platform integration for non-Linux X11 environments (FreeBSD, OpenBSD, etc.).

Expected results:

Screensaver should be suspended while video is playing fullscreen.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
You need to log in before you can comment on or make changes to this bug.