> For the uninhibit case, it tolerates 5 failures and disables wakelock after that. We should not have this threshold.
Not disagreeing with this assessment, but was there any clue in the version control history about why that threshold was introduced? Would be unfortunate to accidentally reintroduce some other issue in the process of fixing this one. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/2047262 Title: Firefox stopped inhibiting screensaver on video playback Status in Mozilla Firefox: Confirmed Status in firefox package in Ubuntu: Confirmed Bug description: Update (02/2024): With Firefox 122 on Ubuntu-Mate 23.10, screensaver/powermanager inhibition is completely broken even with Mozilla's .deb package. After a fresh start of firefox, screen saver is blocked properly when playing video but after opening/un-suspending a few tabs with video, inhibition stops working. I was unable to come up with reproducible scenario but after a few hours of browsing it usually stops working. Restarting firefox fixes the problem. The bug first appeared around August and affects both .deb and snap packages. Tested on Ubuntu-Mate 22.04.3, Xorg, both Pulseaudio and Pipewire (if that's relevant). I don't see any relevant msgs in xsession-errors or system logs. To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/2047262/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp