screensaver starts while playing HTML5 videos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Fix Released
|
Wishlist
|
|||
firefox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox-3.5
karmic alpha6 + updates
- click on a .ogv video link
- after watching some time, screensaver starts.
ProblemType: Bug
Architecture: amd64
Date: Tue Sep 22 08:45:53 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: firefox 3.5.3+build1+
PackageArchitec
ProcEnviron:
LANG=de_AT.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-10-generic x86_64
In Mozilla Bugzilla #517870, Sylvain Pasche (sylvain-pasche) wrote : | #1 |
In Mozilla Bugzilla #517870, Bugzilla-pdjs (bugzilla-pdjs) wrote : | #2 |
That MSDN page states that 'This function does not stop the screen saver from executing'. I have never used SetThreadExecut
In Mozilla Bugzilla #517870, Sylvain Pasche (sylvain-pasche) wrote : | #3 |
Er, yeah the documentation is right. Calling SetThreadExecut
Python testcase:
import ctypes, time
while True:
ctypes.
time.sleep(10)
In Mozilla Bugzilla #517870, Crjaquez (crjaquez) wrote : | #4 |
What you are testing is explained in the doc. The same call with ES_CONTINUOUS = 0x80000000 would not require the call to be made repeatedly (although it would potentially face the same problems as the reg key in the link I referenced earlier).
The real question is whether the screen saver comes on after the call or if this only effects the screen on/off state. I am about to test, but I am stuck on a PC where the screen saver is locked at 15 min so it will take a little longer than it should. If anyone can test in less time, feel free.
In Mozilla Bugzilla #517870, Bugzilla-pdjs (bugzilla-pdjs) wrote : | #5 |
See http://
In Mozilla Bugzilla #517870, Crjaquez (crjaquez) wrote : | #6 |
Confirmed: the documentation is correct. After 15 min, my screen saver came up even after the call to SetThreadExecut
Thank goodness for lunch or I would have never had 15 minutes to let my machine idle in the middle of the day!
tankdriver (stoneraider-deactivatedaccount) wrote : screensaver starts while playing .ogv videos | #7 |
Binary package hint: firefox-3.5
karmic alpha6 + updates
- click on a .ogv video link
- after watching some time, screensaver starts.
ProblemType: Bug
Architecture: amd64
Date: Tue Sep 22 08:45:53 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: firefox 3.5.3+build1+
PackageArchitec
ProcEnviron:
LANG=de_AT.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-10-generic x86_64
tankdriver (stoneraider-deactivatedaccount) wrote : | #8 |
Micah Gersten (micahg) wrote : | #9 |
Thank you for reporting this to Ubuntu. Which screensaver do you have? Which flavor of Ubuntu (Xfce, Gnome, KDE)? Did you try changing the screensaver setting for longer?
Changed in firefox-3.5 (Ubuntu): | |
status: | New → Incomplete |
tankdriver (stoneraider-deactivatedaccount) wrote : | #10 |
Uh. I thought ubuntu-bug would do that.
ok
GNOME Edition, +updates, default settings
I watched this (german)gimp tutorial video:
http://
after the set time (default 5min) the default screensaver (blackscreen) starts.
setting the time to other values does not fix the bug.
tankdriver (stoneraider-deactivatedaccount) wrote : | #11 |
.. and desktop settings are on.
Micah Gersten (micahg) wrote : | #12 |
I'm reassigning this to gnome-screensaver for further triage.
affects: | firefox-3.5 (Ubuntu) → gnome-screensaver (Ubuntu) |
Changed in gnome-screensaver (Ubuntu): | |
status: | Incomplete → New |
Sebastien Bacher (seb128) wrote : | #13 |
thank you for your bug report, do you have the issue while playing local videos too?
Changed in gnome-screensaver (Ubuntu): | |
importance: | Undecided → Low |
tankdriver (stoneraider-deactivatedaccount) wrote : | #14 |
( gnome-screensaver 2.27.0-0ubuntu6 )
tested local playback with totem 2.28.0-0ubuntu1:
NO Problems!
tankdriver (stoneraider-deactivatedaccount) wrote : | #15 |
update to gnome-screensaver 2.28.0-0ubuntu1 does NOT FIX the problem.
Why actually was this changed to "gnome-screensaver" ?
Doesn't Firefox have to tell gnome-screensaver (or over X ) not to start?
Micah Gersten (micahg) wrote : Re: [Bug 434476] Re: screensaver starts while playing .ogv videos | #16 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The reason I changed it is that you said increasing the time did not help.
tankdriver wrote:
> update to gnome-screensaver 2.28.0-0ubuntu1 does NOT FIX the problem.
> Why actually was this changed to "gnome-screensaver" ?
> Doesn't Firefox have to tell gnome-screensaver (or over X ) not to start?
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkq
bGkAnimg4ZhlzH6
=FZuf
-----END PGP SIGNATURE-----
tankdriver (stoneraider-deactivatedaccount) wrote : Re: screensaver starts while playing .ogv videos | #17 |
@Micah Gersten:
I think there was a misunderstanding at my side.
I try it again: when I reproduce the bug and the screensaver is set to 1minute,
then the screensaver starts after 1 min.
and when the sreensaver is set to 7min,
then the screensaver starts after 7 min.
I'll change the title to "...HTML5 Videos",
because I can reproduce this bug at http://
summary: |
- screensaver starts while playing .ogv videos + screensaver starts while playing HTML5 videos |
Micah Gersten (micahg) wrote : | #18 |
This is indeed a Firefox issue and needs to be upstreamed. I see several issues upstream and will look for the best match.
affects: | gnome-screensaver (Ubuntu) → firefox-3.5 (Ubuntu) |
Changed in firefox-3.5 (Ubuntu): | |
importance: | Low → Medium |
status: | New → Triaged |
In Mozilla Bugzilla #517870, Mozilla-bugs-micahscomputing (mozilla-bugs-micahscomputing) wrote : | #19 |
Changed in firefox-3.5 (Ubuntu): | |
importance: | Medium → Wishlist |
Changed in firefox: | |
status: | Unknown → Confirmed |
In Mozilla Bugzilla #517870, Dao (dao) wrote : | #20 |
*** Bug 565762 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #517870, Michael-monreal+moz (michael-monreal+moz) wrote : | #21 |
On Linux, this depends on the desktop environment. The GNOME screensaver can be deactivated using DBus (org.gnome.
Changed in firefox: | |
importance: | Unknown → Wishlist |
In Mozilla Bugzilla #517870, Jwein (jwein) wrote : | #22 |
Telling the OS to disable screen savers seems dangerous because it is unlikely to revert if Firefox crashes while viewing the video.
I think maybe we should just send a dummy keystroke every ~55 seconds (with 1 minute being the lowest screensaver time limit). If we crashed while viewing the video then the screensaver would come back on and no settings would be inconsistent.
In Mozilla Bugzilla #517870, Matti-mversen (matti-mversen) wrote : | #23 |
*** Bug 696563 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #517870, Jwein (jwein) wrote : | #24 |
cpearce: Do you think you will be able to take this bug? It seems that Flash disables the screensaver/
In Mozilla Bugzilla #517870, Chris-pearce (chris-pearce) wrote : | #25 |
I'm likely occupied for next month or two, so if someone wants to take this bug, that's fine.
However we should try to use the same back-end code/API as they're going to use in bug 697132, so we'll need to liaise with those guys on implementing this.
In Mozilla Bugzilla #517870, Reuben Morais (reuben-morais) wrote : | #26 |
Non-fullscreen HTML5 video should also stop the screensaver.
https:/
In Mozilla Bugzilla #517870, Mstange-themasta (mstange-themasta) wrote : | #27 |
(In reply to Reuben Morais [:reuben] from comment #14)
> https:/
I think that article is outdated; the modern way of preventing sleep on Mac is documented here:
https:/
and here:
https:/
In Mozilla Bugzilla #517870, Cpearce-t (cpearce-t) wrote : | #28 |
(In reply to Markus Stange from comment #15)
I was thinking we'd just use whatever API was implemented in bug 697132 to implement this feature.
In Mozilla Bugzilla #517870, Epinal99-bugzilla (epinal99-bugzilla) wrote : | #29 |
Some docs on Windows:
* Why does Windows wait longer than my screen saver idle timeout before starting the screen saver?
http://
* Block screensaver/
http://
NB: If password protection is enabled by policy, the screen saver is started regardless of what an application does with the SC_SCREENSAVE notification—even if fails to pass it to DefWindowProc.
In Mozilla Bugzilla #517870, Cpearce-t (cpearce-t) wrote : | #30 |
*** Bug 745546 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #517870, Cpearce-t (cpearce-t) wrote : | #31 |
*** Bug 745519 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #517870, Mounir (mounir) wrote : | #32 |
(In reply to Chris Pearce (:cpearce) from comment #16)
> (In reply to Markus Stange from comment #15)
>
> I was thinking we'd just use whatever API was implemented in bug 697132 to
> implement this feature.
It would be a good idea to use this API indeed but it has no backend for other OS than B2G so the backends will have to be written anyway.
In Mozilla Bugzilla #517870, Ehsan-mozilla (ehsan-mozilla) wrote : | #33 |
*** Bug 772347 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #517870, David Banner (ggg123david) wrote : | #34 |
Something like the Linux .sh script here would be nice, but for Windows:
http://
In Mozilla Bugzilla #517870, Jmuizelaar (jmuizelaar) wrote : | #35 |
The way to do this on Mac OS X is UpdateSystemAct
http://
In Mozilla Bugzilla #517870, ChristianSchaller (uraeus) wrote : | #36 |
The linux solution to stopping the screensaver from starting is to be done using d-bus:
http://
In Mozilla Bugzilla #517870, shawnlandden (shawnlandden) wrote : | #37 |
confirmed on android (ff17)
Kai Mast (kai-mast) wrote : | #38 |
Still happens in saucy! Is this so hard to fix?
tags: | added: firefox saucy |
Kai Mast (kai-mast) wrote : | #39 |
I linked it to the current firefox package. maybe drop the bug for 3.5 as it is not supported anymore?
In Mozilla Bugzilla #517870, acidicX (acidicx) wrote : | #40 |
More and more video playback is now HTML5-based, and with all the effort to get rid of 3rd party plugins (also Flash), this would be a serious UX improvement. I uninstalled Flash and the screensaver is sometimes driving me nuts on YouTube.
Dummy keystrokes every 55s (see comment #10) sounds like an elegant cross-platform solution, no?
As this is open since 2009... time to take action? :-) Could any1 take this up?
Changed in firefox: | |
importance: | Wishlist → Unknown |
status: | Confirmed → Unknown |
Changed in firefox: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Changed in firefox (Ubuntu): | |
status: | New → Confirmed |
68 comments hidden Loading more comments | view all 148 comments |
In Mozilla Bugzilla #811261, Cpearce-t (cpearce-t) wrote : | #109 |
Because opinions differ. ;)
We also want non-fullscreen video and webrtc chats to disable the screensaver. I, for one, find it very annoying when I'm watching a non-fullscreen video and the screensaver kicks in.
FYI, there's code in HTMLMediaElement to ensure the screensaver is only disabled when the video is actually in a visible region of the webpage, in a foreground tab.
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #110 |
The screensaver should not be inhibited by "cpu" and "high-priority" wake locks. It looks like those are used to inhibit GC or disable power save (see Bug 872430).
I've found two screen related wake locks - "DOM_Fullscreen" (Bug 805017) and "screen" (Bug 868325). I think any element which wants to inhibit screensaver should create the "screen" or "DOM_Fullscreen" wake locks - like the VideoElement does.
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #111 |
Created attachment 8441363
patch v.4
I watches "DOM_Fullscreen" and "screen" wakelocks only.
Passes the broken test:
./mach mochitest-plain dom/browser-
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #112 |
Comment on attachment 8441363
patch v.4
Try build: https:/
In Mozilla Bugzilla #811261, Karlt (karlt) wrote : | #113 |
Comment on attachment 8441363
patch v.4
The "screen" wake lock sounds good.
I suspect we shouldn't need DOM_Fullscreen, but I'm happy to let that by because other platforms treat that similarly.
However, we now know that the "Screensaver is already inhibited" assertion can fail, so that needs to be changed to an early return.
In Mozilla Bugzilla #811261, Edwin-d (edwin-d) wrote : | #114 |
(In reply to Martin Stránský from comment #53)
> The screensaver should not be inhibited by "cpu" and "high-priority" wake
> locks. It looks like those are used to inhibit GC or disable power save (see
> Bug 872430).
This isn't an issue with wake lock code, it's an issue with wake locks being used incorrectly on desktop. The better solution here would be to make sure that "cpu" and "high-priority" are never used in the first place, on desktop.
(In reply to Martin Stránský from comment #54)
> Passes the broken test:
> ./mach mochitest-plain dom/browser-
...by ignoring those topic strings outright. It doesn't fix the actual problem.
In Mozilla Bugzilla #811261, Cpearce-t (cpearce-t) wrote : | #115 |
We want to inhibit the screensaver when video is playing, not when *fullscreen* video is playing. It looks like the patch above is trying to only inhibit the screensaver for fullscreen video.
In Mozilla Bugzilla #811261, Karlt (karlt) wrote : | #116 |
(In reply to Chris Pearce (:cpearce) from comment #58)
> We want to inhibit the screensaver when video is playing,
I assume the "screen" wake lock is meant to take care of that.
http://
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #117 |
(In reply to Edwin Flores [:eflores] [:edwin] from comment #57)
> (In reply to Martin Stránský from comment #53)
> > The screensaver should not be inhibited by "cpu" and "high-priority" wake
> > locks. It looks like those are used to inhibit GC or disable power save (see
> > Bug 872430).
>
> This isn't an issue with wake lock code, it's an issue with wake locks being
> used incorrectly on desktop. The better solution here would be to make sure
> that "cpu" and "high-priority" are never used in the first place, on desktop.
That's possible but we just can't disable screensaver for *any* lock, right? We want to disable it for the screen-related events only, not for audio events or so.
I see the "DOM_Fullscreen" should not be used here - It seems to be set for any fullscreen elements, like full-screen webgl canvas, full-screen browsing and so.
In Mozilla Bugzilla #811261, Cpearce-t (cpearce-t) wrote : | #118 |
I think you want the "screen" topic, and the "locked-foreground" state to denote when to disable the screen saver.
HTMLMediaElement should already manage only disabling the screen saver when media is playing and in a foreground tab, and bug 1022669 is being worked on right now to ensure that we don't take a screen wake lock for audio-only media.
Edwin's point is that we shouldn't be taking non-screen wakelocks on desktop, they're meant for battery constrained mobile devices; for example the "cpu" wakelock code in HTMLMediaElemen
In Mozilla Bugzilla #811261, Karlt (karlt) wrote : | #119 |
This can be simplified considerably given we need only listen for the "screen" lock.
The hash table is not necessary, and classes can probably be merged.
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #120 |
Created attachment 8442071
patch v.5
Something like that? It listens to "screen" locks only and returns when screensaver is already inhibited.
In Mozilla Bugzilla #811261, Karlt (karlt) wrote : | #121 |
Comment on attachment 8442071
patch v.5
This could be much simpler, but let's not hold off this feature any longer.
Tidying up can be a followup.
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #122 |
Comment on attachment 8442071
patch v.5
In Mozilla Bugzilla #811261, Ryanvm (ryanvm) wrote : | #123 |
In Mozilla Bugzilla #811261, KWierso (kwierso) wrote : | #124 |
Changed in firefox: | |
status: | Confirmed → Fix Released |
In Mozilla Bugzilla #811261, Milan Bouchet-Valat (nalimilan) wrote : | #125 |
Great!
In Mozilla Bugzilla #811261, Catalin-varga (catalin-varga) wrote : | #126 |
I've tested this using Ubuntu 14.04 x64 and FF 33d.0b1(BUild Id: 20140903133924).
The turn screen off enters on the set time(Ubuntu 14.04 doesn’t ship with any screen savers, just a black screen that appears when your system is idle) when playing a youtube video on fullscreen. The same is happening when playing a video without going to fullscreen. I even installed XScreenSaver to see if the issue is reproducible using it instead of gnome screensaver and it is reproducible with XScreenSaver.
Is the fix not suppose to work for the turning off screen feature from Ubuntu? or is this an issue with the fix?
In Mozilla Bugzilla #811261, Florin-mezei (florin-mezei) wrote : | #127 |
So this does not appear to work on Ubuntu and Fedora. Can anyone shed some light on the test results from comment 69 and what is actually expected here? Otherwise we'll just have to reopen this as it does not seem to do anything.
In Mozilla Bugzilla #811261, Konstartyom (konstartyom) wrote : | #128 |
It works for me with gnome-screensaver 2.30, firefox nightly 2014-08-30, both with and without fullscreen. Sometimes screensaver stiil appears after ~ 25 minutes of video (but it's configured to get activated after 2 minutes), so it's another problem.
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #129 |
The patch utilizes the org.freedesktop
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #130 |
Check d-feet (#yum install d-feet.noarch in Fedora) to inspect your active dbus interfaces.
In Mozilla Bugzilla #811261, Stransky (stransky) wrote : | #131 |
For instance I see only "org.mate.
In Mozilla Bugzilla #811261, Catalin-varga (catalin-varga) wrote : | #132 |
On Ubuntu 14.04 I have org.gnome.
Based on previous comments it appears that the fix is working for gnome-screensaver 2.30 but that version of gnome-screensaver is pretty old( from September 2010). It appears that the fix is not working for Gnome 3. I found a post that discusses the changes suffered by Gnome lock-screen with the 3.0 release, not sure how relevant is to this bug but I'm going to post it nevertheless. http://
Our testing machines are running only newer versions of Ubuntu and no other Linux based operating systems so our verification of this bug options are limited. We can only confirm that the fix is not working on the newer Ubuntu releases.
In Mozilla Bugzilla #811261, Florin-mezei (florin-mezei) wrote : | #133 |
Removing "qe-verify+" since it seems we cannot verify this.
In Mozilla Bugzilla #811261, Sergey Kondakov (virtuousfox) wrote : | #134 |
Doesn't seem to be fixed in Firefox 33 on OpenSuse 13.1 with KDE4 & XScreenSaver-5.29 (not KDE's one): xscreensaver still sprungs up while playing fullscreen video on Youtube. May be a result of using "Download Manager (S3)" addon which draws a bar at the bottom that disappear slightly after video goes fullscreen. One more reason why it should work on non-fullscreen videos also, since the definition of "fullscreen" seems ambiguous.
Also, how about inhibiting screensaver on flash plugin spawn and uninhibiting on its termination ? Adobe will never add this functionality, but we are stuck with it. Doing so in Firefox as extension of this patch looks like the most straightforward solution. Especially in comparison to something like https:/
In Mozilla Bugzilla #811261, Milan Bouchet-Valat (nalimilan) wrote : | #135 |
Sergey, could you check whether with the S3 add-on disabled the screensaver is still not inhibited?
In Mozilla Bugzilla #811261, Sergey Kondakov (virtuousfox) wrote : | #136 |
(In reply to Milan Bouchet-Valat from comment #78)
> Sergey, could you check whether with the S3 add-on disabled the screensaver
> is still not inhibited?
It's that way even with almost empty profile and "safe mode". I also noticed that VLC-2.1.5 doesn't inhibit it also even thought it supposedly got dbus xscreensaver interface support (https:/
In Mozilla Bugzilla #811261, Bastien Nocera (hadess-deactivatedaccount) wrote : | #137 |
(In reply to Sergey Kondakov from comment #79)
> (In reply to Milan Bouchet-Valat from comment #78)
> > Sergey, could you check whether with the S3 add-on disabled the screensaver
> > is still not inhibited?
>
> It's that way even with almost empty profile and "safe mode". I also noticed
> that VLC-2.1.5 doesn't inhibit it also even thought it supposedly got dbus
> xscreensaver interface support (https:/
It's not "dbus xscreensaver interface support". It has nothing to do with XScreensaver.
> Upgrading to xscreensaver-5.30 didn't help either. Not sure what's going on.
XScreensaver implements no D-Bus interface. The D-Bus interface should work in GNOME and KDE though.
In Mozilla Bugzilla #811261, Sergey Kondakov (virtuousfox) wrote : | #138 |
(In reply to Bastien Nocera from comment #80)
> It's not "dbus xscreensaver interface support". It has nothing to do with
> XScreensaver.
Ah, just noticed ancient https:/
> XScreensaver implements no D-Bus interface. The D-Bus interface should work
> in GNOME and KDE though.
For some reason i thought that XSS not only had it, but also was the first one to implement it. But it seems that its developer isn't too keen on this new "kit & bus" fashion.
So now one has to use those abominations just to have a screensaver ? Then `xdg-screensaver` abstraction should have, probably, been used instead of direct dbus calls. It supports both dbus and console commands.
Otherwise https:/
In Mozilla Bugzilla #811261, Ajones-m (ajones-m) wrote : | #139 |
(In reply to Sergey Kondakov from comment #81)
> So now one has to use those abominations just to have a screensaver ? Then
> `xdg-screensaver` abstraction should have, probably, been used instead of
> direct dbus calls. It supports both dbus and console commands.
>
> Otherwise https:/
> it seems.
I doubt that anyone is going to have time to work on it. You've already looked up the details so the next step for you is creating a bug for the new change and providing a patch. :-)
In Mozilla Bugzilla #811261, Bastien Nocera (hadess-deactivatedaccount) wrote : | #140 |
I'll add that xdg-screensaver is an unmitigated piece of crap. It reimplements the bugs that using D-Bus for inhibition is supposed to fix (namely that if the app disappears, the screensaver shouldn't be left inhibited).
You could add D-Bus support to xscreensaver without linking to a D-Bus implementation. Look at the SDL2 code, it implements the same inhibition mechanism that Firefox and VLC implement through a dlopen()'ed libdbus.so.
However, I would recommend that you use a modern screensaver if you expect modern features.
In Mozilla Bugzilla #811261, Milan Bouchet-Valat (nalimilan) wrote : | #141 |
Is that supposed to work when watching a fullscreen Flash video, like Youtube? It doesn't here on Fedora 20 with Firefox 33 (and the D-Bus interface is present).
In Mozilla Bugzilla #811261, Ajones-m (ajones-m) wrote : | #142 |
(In reply to Milan Bouchet-Valat from comment #84)
> Is that supposed to work when watching a fullscreen Flash video, like
> Youtube? It doesn't here on Fedora 20 with Firefox 33 (and the D-Bus
> interface is present).
No.
In Mozilla Bugzilla #811261, Sergey Kondakov (virtuousfox) wrote : | #143 |
(In reply to Bastien Nocera from comment #83)
> I'll add that xdg-screensaver is an unmitigated piece of ****. It
> reimplements the bugs that using D-Bus for inhibition is supposed to fix
> (namely that if the app disappears, the screensaver shouldn't be left
> inhibited).
Mh, yeah, it's odd that it still doesn't do something like periodically checking that calling app is still alive.
> You could add D-Bus support to xscreensaver without linking to a D-Bus
> implementation. Look at the SDL2 code, it implements the same inhibition
> mechanism that Firefox and VLC implement through a dlopen()'ed libdbus.so.
If so, it probably should be at least communicated to the XSS author. But he doesn't seem to give much shits about Linux & X these days, ironically (http://
> However, I would recommend that you use a modern screensaver if you expect
> modern features.
It would be nice, except:
1) KDE screensaver doesn't seem to be even coming as separate binary, let alone DE-independent one. At one point KDE devs even tried to completely remove it and forcibly replace with their NIH plasma locking (http://
2) GNOME screensaver requires the core GNOME framework to go with it, not just GTK. Kinda overkill for a screensaver.
And i don't exactly expect "modern features". I expect _Firefox to inhibit/suspend a screensaver when it draws a video. Any videos and any screensavers_.
(In reply to Anthony Jones (:kentuckyfried
> (In reply to Milan Bouchet-Valat from comment #84)
> > Is that supposed to work when watching a fullscreen Flash video, like
> > Youtube? It doesn't here on Fedora 20 with Firefox 33 (and the D-Bus
> > interface is present).
>
> No.
Which makes whole thing pretty much useless. It should:
1) Work with any unpaused (like mplayer does) HTML5 video, fullscreen or not.
Time to put that famous "platform-
2) Work on flash spawn.
3) Work with any screensaver.
I hate to say it, but maybe such disparity warrants a dirty "Windows-way" of simulating user activity periodically while video is playing. Examples of this probably can be found in KDE/GNOME code that creates dbus "SimulateUserAc
Moreover, aforementioned "Caffeine" Ubuntu hack is pretty crude (it supposed to somehow force screensavers off when detecting a fullscreen window). It didn't seem to work for me with HTML5 video in Firefox. And going for fullscreen windows is a questionable approach anyway.
In Mozilla Bugzilla #811261, Sergey Kondakov (virtuousfox) wrote : | #144 |
(In reply to Sergey Kondakov from comment #86)
> 2) GNOME screensaver requires the core GNOME framework to go with it, not
> just GTK. Kinda overkill for a screensaver.
Scratch that ! I just read up on:
http://
https:/
https:/
Long story short:
Gnome gone Reverse-Xzibit and removed screensaver out of... their screensaver. Which locks the screen... but HAS NOT SCREENSAVERS.
> Which makes whole thing pretty much useless.
Even more than i imagined and complained previously.
> Moreover, aforementioned "Caffeine" Ubuntu hack is pretty crude...
Looks like in non-obsolete versions they removed XSS support... if it even worked. Which makes it also not an option.
> And i don't exactly expect "modern features". I expect _Firefox to
> inhibit/suspend a screensaver when it draws a video. Any videos and any
> screensavers_.
All of that above makes XSS The Only Option of having actual screensavers under X (except using KDE SS BUT ONLY under KDE session, because it's not even a binary).
And for that to work either:
1) FF devs must play nice with XSS
2) XSS dev should be persuaded to provide dbus interface as dbus today is the cross-DE daemon interface
3) XSS could be forked by a hacker who's not afraid of dbus
In any case this bug cannot be closed as "FIXED" because actual screesaver is not getting disabled under Linux, only lockers are.
no longer affects: | firefox-3.5 (Ubuntu) |
In Mozilla Bugzilla #811261, Electrovalent (electrovalent) wrote : | #145 |
Hi, i can see this is marked as fixed but i can confirm that on latest xubuntu and latest debian testing, firefox 35.01 is not able to disable screensaver or screen power management.
In Mozilla Bugzilla #811261, Js54434 (js54434) wrote : | #146 |
(In reply to electrovalent from comment #88)
> Hi, i can see this is marked as fixed but i can confirm that on latest
> xubuntu and latest debian testing, firefox 35.01 is not able to disable
> screensaver or screen power management.
Ditto. I just reinstalled Ubuntu Studio 14.04 and installed Unity, and in Firefox 35.0.1 it's not disabling the screensaver during playback.
Wiktor: Nizio (zap-4) wrote : | #147 |
I don't understand how it is a bug. This is what screensaver is meant to do: Hide your programs and Firefox is a program. I don't see why I can't have video running and screensaver working at the same time. Please respect what I have manually set in the system (screensaver after one hour) and don't disable it for me.
Paul White (paulw2u) wrote : | #148 |
Upstream bug closed "RESOLVED FIXED" on 2014-06-24
Target release - Firefox 33
Seems ok here using Ubuntu 18.04 and Firefox 63
Marking "Fix Released" to close
Changed in firefox (Ubuntu): | |
status: | Confirmed → Fix Released |
The right way to do this on Windows would be to use SetThreadExecut ionState( ES_DISPLAY_ REQUIRED) (http:// msdn.microsoft. com/en- us/library/ aa373208% 28VS.85% 29.aspx). No need to touch the registry or send fake events regularly.