Firefox doesn't inhibit screensaver on Xfce
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
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
Updated•3 years ago
|
Comment 3•3 years ago
|
||
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.
Updated•3 years ago
|
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/1a71a4f15928 Add org.freedesktop.PowerManagement.Inhibit interface to inhibit screensaver r=stransky
Comment 6•3 years ago
|
||
bugherder |
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
Description
•