🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.kde
Article #8

Re: Firefox wakelocks

#8
From: Nicholas D Steeves
Date: Sat, 14 Nov 2026 03:00
77 lines
4705 bytes
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Rainer,

Rainer Dorsch <ml@bokomoko.de> writes:

> Am Donnerstag, 12. November 2026, 22:44:02 Mitteleurop=C3=A4ische Normalz=
eit=20
> schrieb Nicholas D Steeves:
>
>> > since a while I see from time to time firefox wakelocks which inhibit =
the
>> > plasma session to suspend, even if I kill the firefox process complete=
ly:
>> >=20
>> > rd@h370:~/git/emanager$ busctl --user call org.freedesktop.PowerManage=
ment
>> > / org/kde/Solid/PowerManagement/PolicyAgent
>> > org.kde.Solid.PowerManagement.PolicyAgent ListInhibitions
>> > a(ss) 1 "firefox-esr" "Playing video"
>> > rd@h370:~/git/emanager$ ps uaxwww|grep firefox
>> > rd        583476  0.0  0.0   6620  2420 pts/6    S+   07:28   0:00 grep
>> > firefox rd@h370:~/git/emanager$
=E2=80=A6
>>=20
>> I very briefly looked into this and found an upstream bug that looks
>> similar: https://bugzilla.mozilla.org/show_bug.cgi?id=3D2034009
>
> Thanks for sharing the link. For me this bug report  looks different: The=
 user=20
> complains about the system not going to suspend, when the video is playin=
g.
>
> I see the system not going to suspend if the tab with the video is closed=
 or=20
> even the entire firefox is closed. Unfortunately, I can not reliably repr=
o it=20
> so far, it happens every now and then.

From=20what I read at that bug, it's undefined whether the
PowerManagement.*Inhibition deactivation signal is sent when the tab,
window, or Firefox is closed.  This bug documents how videos_with_audio_unm=
uted, videos_with_audio_muted, and
videos_without_audio are handled differently, and how this can make the iss=
ue
difficult to reproduce <- that info could help you reproduce your bug.

Also, that bug looks like it provides a workaround for you: disable the
mechanism in Firefox that inhibits power management, and you disable the
thing that triggers the bug.

Cheers,
Nicholas

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4qYmHjkArtfNxmcIWogwR199EGEFAmr3zUAQHHN0ZW5AZGVi
aWFuLm9yZwAKCRBaiDBHX30QYS8yD/4vZ9bnE+hiaX7pqnPY7PH9Y2toMh+Hvbvj
h7j5QaWmDLq1HCCMOGpwdWSeiwMUHGTfetsEmkj2qXkwTb4eQ/8E5N97XeYnG1AC
mWDE1VkszbUK09N4bigkvM0x1zqlVg/XOXuMxPh/O5Jm+/xWJBlGW0xQ9tDjlpbm
BDDt2WMPrz+dmjtJitnAPGcy/PDs6PdXsMJZELLJWq2x8aFrhLNqheIBS8cA+HgA
fASoDO/pqCizC/bovrbkhwxneKb48uUKUCuXJD0Z19z4sNPkhhlbn3nhgJEPyT8B
LHm9cS7wHx5AxRPKjoOW5j0JkgIi9yIqKGHhc30SN5cixdh4IZlEFzHRE/JvoCGg
4PXFdItmf8I4hWpdh2ZAdTKtV3OzsLjUi0zW7q6hXezzFs2a3Rue0KxF0JkNC1Nm
FQfiIvD89px8IIQGl1me9qIuF/+xBFrcTdnrRfVHv/mK+QQ9olmfmM7XrBl7oqJr
SlZ7ZaC+e7TrLlgGSDI4p8aS54E7kPyoJP4BOITBisrBXAA1SLh+oeCd9WKmUGgs
5omzPGNMnRmrLNj+bFlJ8rt6zI8kUGhH4eMMHwct2UACp/tXONdNaM1hO+8ilVhe
XBQYntdYGsVEfT7ICtEoTeRvFNaT8fx7BsyzS8E8NoJRkapG2ZwLYf6BXc+Truqs
LLhNwoQUTw==
=x6XF
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <NZc9H-bKIu-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NYwWR-bnCm-1@gated-at.bofh.it> <NYKQ9-bv9N-1@gated-at.bofh.it> <NZ6QF-bHJt-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Nicholas D Steeves <sten@debian.org>
Newsgroups: linux.debian.maint.kde
Subject: Re: Firefox wakelocks
Date: Sat, 14 Nov 2026 04:00:01 +0100
Message-ID: <NZc9H-bKIu-3@gated-at.bofh.it>
References: <NYwWR-bnCm-1@gated-at.bofh.it> <NYKQ9-bv9N-1@gated-at.bofh.it> <NZ6QF-bHJt-5@gated-at.bofh.it>
X-Original-To: Rainer Dorsch <ml@bokomoko.de>, debian-kde@lists.debian.org
X-Mailbox-Line: From debian-kde-request@lists.debian.org  Sat Nov 14 02:54:13 2026
Old-Return-Path: <sten@debian.org>
X-Amavis-Spam-Status: No, score=-4.401 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-User: sten
X-Mailing-List: <debian-kde@lists.debian.org> archive/latest/42344
List-ID: <debian-kde.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kde/>
List-Archive: https://lists.debian.org/msgid-search/87o6bsyvgf.fsf@navis.mail-host-address-is-not-set
Approved: robomod@news.nic.it
Lines: 77
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 13 Nov 2026 21:53:52 -0500
X-Original-Message-ID: <87o6bsyvgf.fsf@navis.mail-host-address-is-not-set>
X-Original-References: <3438747.mvXUDI8C0e@h370>
 <87tsllzpwd.fsf@navis.mail-host-address-is-not-set>
 <3014284.ElGaqSPkdT@h370>