Linux Lite Forums

Software - Support => Other => Topic started by: mulcahey on November 22, 2023, 10:06:58 PM

Title: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on November 22, 2023, 10:06:58 PM
Lately, my screensaver has started coming on while I'm watching fullscreen videos in Firefox. This happens when I'm watching Netflix or YouTube.

This is unusual; In the past, if I made a video fullscreen, the screensaver would not come on. But now the screensaver comes on every 15 min or so.

Has anyone else encountered this issue? Know how to fix?

Thank you.
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on December 03, 2023, 03:27:42 PM
Update:
Tried changing all my Power Management settings (disabling & re-enabling screensaver, changing the timeout periods) but no matter what I do, my system will not recognize fullscreen videos in Firefox. It will interrupt them with whatever sleep/suspend/display setting I've picked.

This didn't used to be the case. Previously, if I made a Firefox video full screen, the system would not interrupt it. (I have not tried playing fullscreen videos in any other app. I do all my video watching in Firefox)

Did a Firefox setting change during an update or something? Here's my about:config settings when I search for "Full". Anything here look off?

(https://i.imgur.com/mJpd92t.png)
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: stevef on December 04, 2023, 01:02:58 AM
Firefox updates since August 2023 are listed below.  If you suspect a Firefox update caused it can you tie the start of your symptoms to one of these dates ?


2023-08-21 (116.0.3+build2-0ubuntu0.20.04.1) over (116.0.2+build1-0ubuntu0.20.04.1)
2023-08-30 (117.0+build2-0ubuntu0.20.04.1) over (116.0.3+build2-0ubuntu0.20.04.1)
2023-09-14 (117.0.1+build2-0ubuntu0.20.04.1) over (117.0+build2-0ubuntu0.20.04.1)
2023-10-03 (118.0.1+build1-0ubuntu0.20.04.1) over (117.0.1+build2-0ubuntu0.20.04.1)
2023-10-11 (118.0.2+build2-0ubuntu0.20.04.1) over (118.0.1+build1-0ubuntu0.20.04.1)
2023-10-30 (119.0+build2-0ubuntu0.20.04.1) over (118.0.2+build2-0ubuntu0.20.04.1)
2023-11-14 (119.0.1+build1-0ubuntu0.20.04.1) over (119.0+build2-0ubuntu0.20.04.1)
2023-11-23 (120.0+build2-0ubuntu0.20.04.1) over (119.0.1+build1-0ubuntu0.20.04.1)
2023-12-04 (120.0.1+build1-0ubuntu0.20.04.1) over (120.0+build2-0ubuntu0.20.04.1)
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on December 06, 2023, 01:00:32 PM
Thank you Steve. I can't say for certain when the problem began, but I think I first noticed it on 11/20. That actually could line up with the 11/14 update, since I was out of town for that week. It's possible that I came home on the 20th, updated everything, and broke it then.

Any way to check?
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: stevef on December 06, 2023, 01:28:15 PM
Do you have a backup of your home folder made before the key date perhaps using Backups aka deja-dup ?
If so, it should be possible to find the about:config from the back up set.
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on December 15, 2023, 04:09:48 PM
No backup, but I made a discovery: In its last update, Firefox "fixed" a bug that displayed the status bar in fullscreen mode. https://bugzilla.mozilla.org/show_bug.cgi?id=1853896 (https://bugzilla.mozilla.org/show_bug.cgi?id=1853896)

Fairly certain that this is the cause of the issue. I'll report it to Mozilla. Is there a way to downgrade my Firefox in the meantime, if I don't have a backup?  Thank you.
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: stevef on December 16, 2023, 02:14:28 AM
Perhaps check here
https://support.mozilla.org/en-US/kb/install-older-version-firefox
or maybe
https://support.mozilla.org/en-US/kb/switch-to-firefox-extended-support-release-esr

As Firefox is part of the LL 5.x package it may be more complex to stop it updating.
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on January 29, 2024, 08:38:51 PM
Ok, I think I've made some progress and figured out that it's somehow related to Caffeine. But now I've uninstalled Caffeine and it's still not working.

Previously, I had installed Caffeine to keep the screen awake while viewing non-fullscreen webpages, but it never worked. My computer would got to sleep no matter what, even if I was playing a fullscreen video, with or without Caffeine.

Yesterday I uninstalled Firefox, and I was prompted to uninstall a bunch of other packages at the same time. I removed them all. (I should have kept a log. Oops.)

I re-installed Firefox, and fullscreen videos worked great! Fullscreen videos would KEEP my screen on, as intended! I didn't even enable Caffeine!

Then, I turned on Caffeine so I could keep a non-fullscreen webpage open. It didn't work. The computer went to sleep.

Then, the next time I tried to watch a fullscreen video, the computer ALSO went to sleep. So I think that enabling Caffeine screwed something up.

So, I uninstalled Caffeine, uninstalled Firefox, re-installed Firefox, but now things are back to NOT working.

Not sure what else I can do. Any thoughts? Thank you
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on February 26, 2024, 03:35:04 PM
Ok, at long last, I think I've solved this.

The issue seems to be that Caffeine messed up something in my windows manager, and it remained messed up even after I uninstalled. I identified that I was running Lightdm, so I ran

Code: [Select]
sudo apt-get reinstall lightdm
And finally, FINALLY... full screen videos seem to run without being interrupted.
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: mulcahey on February 28, 2024, 02:29:52 PM
*SIGH* False alarm  :( This is NOT fixed.

Latest update:

Here's what I'm trying now:

Testing this now. Fingers crossed :(

Note: Still odd to me that this ONLY happens with Firefox, and not VLC. Why can my computer detect that VLC is fullscreen, but not the videos that play via Firefox?
Title: Re: Screensaver interrupts fullscreen Firefox videos
Post by: Şerban S. on March 06, 2024, 06:00:20 PM
I'm just asking...
Is the screensaver such a critical program?
I never use screensavers. They suck a lot of resources (computing power) to do... What? Nothing?
I could never understand the use of this.
Save what? Do what? Show images while I'm away from the computer? Again: while I'm away from the computer?
Why would I bother?
But, as always: The client is always right!

Anyway...
If you think this is such a critical piece of software, try tweaking the parameters of the screensaver itself. If it is a serious software, it has at least some such parameters like "Never show when watching video."
As for the internal parameters setting , they work exactly as you described: from time to time. I assume that interrupting video, is kinda "bonus feature", although, unsolicited...
This story goes backwards as far as when I started to use Linux: 1997. I presume that some people find it very funny, since no one bothered to fix this in over 25 years...

Best regards