Closed Bug 1733796 Opened 3 years ago Closed 3 years ago

Firefox doesn't inhibit screensaver on Xfce

Categories

(Core :: Widget: Gtk, enhancement)

Firefox 92
enhancement

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: paul, Assigned: paul)

References

Details

Attachments

(1 file)

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

Steps to reproduce:

  • Run Firefox on Xfce desktop environment on Fedora 34
  • Play a video on Youtube

Actual results:

  • The screen with eventually blank and lock

Expected results:

  • The screen should not blank when a video is playing

There is an open Xfce bug report at https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/42

From this bug report, Chromium has the expected behaviour as it is using a different Dbus interface to inhibit the screensaver. There is also a discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1168090

A potential fix would be to use the org.freedesktop.PowerManagement.Inhibit Dbus interface when inhibiting the screensaver as Chromium does in https://chromium.googlesource.com/chromium/src/+/a8498df479418cae7b379aca518d04d0648f3a68/device/power_save_blocker/power_save_blocker_x11.cc

Assignee: nobody → paul

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

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

Let's wait to 95 cycle.

Component: Audio/Video: Playback → Widget: Gtk
Attachment #9244073 - Attachment description: Bug 1733796 - Use org.freedesktop.PowerManagement.Inhibit interface to inhibit screensaver r?stransky → Bug 1733796 - Add org.freedesktop.PowerManagement.Inhibit interface to inhibit screensaver r?stransky
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/1a71a4f15928
Add org.freedesktop.PowerManagement.Inhibit interface to inhibit screensaver r=stransky
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Regressions: 1745179
See Also: → 1771000

The problem still exist
FF v102.0.1
EndeavourOS (Arch Linux) only in xfce4

To fully function on xfce4 you also need this change to xfce4-power-manager to have it inhibit DPMS which has not been released yet: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/merge_requests/22

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: