Closed Bug 1928198 Opened 1 year ago Closed 1 year ago

[Linux] "firefox is currently inhibiting power management" and OS doesn't suspend

Categories

(Core :: Widget: Gtk, defect)

Firefox 132
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kjur, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

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

Steps to reproduce:

Updated FF via Mozilla repo.
Currently it's version 132.0~build1 (64-bit) installed from Mozilla repo: https://packages.mozilla.org/apt mozilla main

Actual results:

Some recent Firefox versions cause "firefox is currently inhibiting power management" message in Power Manager in XFCE (Xubuntu 24.10) and block system to suspend (FF is not running or still open, but a plain text website is open, no videos playing).

Expected results:

Firefox shouldn't inhibit power management when laptop lid is closed.

Attached image image.png —

Comment on attachment 9434344 [details]
image.png

the message "Firefox is currently inhibiting power management" is there and I can't get rid of it. Sometimes it appears twice.

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Please run Firefox on terminal, try to reproduce the issue and attach a log with MOZ_LOG="LinuxWakeLock:5" env variable so we can check why Wake lock is applied.
Run as:

MOZ_LOG="LinuxWakeLock:5" firefox > log.txt 2>&1

and attach the log here.
Thanks.

Flags: needinfo?(kjur)
Summary: "firefox is currently inhibiting power management" and OS doesn't suspend → [Linux] "firefox is currently inhibiting power management" and OS doesn't suspend
Attached file firefox_log.txt (obsolete) —
(In reply to Martin Stránský [:stransky] (ni? me) from comment #5) > Please run Firefox on terminal, try to reproduce the issue and attach a log with MOZ_LOG="LinuxWakeLock:5" env variable so we can check why Wake lock is applied. > Run as: > ``` > MOZ_LOG="LinuxWakeLock:5" firefox > log.txt 2>&1 > ``` > and attach the log here. > Thanks. This is the log from last few minutes. Please let me know if this is suffice.

This is the log for around 10 minutes of running Firefox. I closed the lid once and then watch something on Youtube.
Let me know if this is suffice.

Flags: needinfo?(kjur)
Attachment #9435180 - Attachment is obsolete: true

Not sure if I'm right, but since upgrading to version 133 it looks like it may be fixed. Need to test more and report back here.

Flags: needinfo?(stransky)

Yes, 133.0 should have the fix.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(stransky)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: