GNOME Bugzilla – Bug 336674
Locks screen while playing a movie
Last modified: 2006-05-14 00:31:00 UTC
Please describe the problem: Since upgrading to gnome-screensaver 2.14, the screensaver has locked the screen while Totem was playing a movie. With 2.13, the screensaver would not lock the screen, as expected. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Works fine here. Is totem in fullscreen mode? What version of totem? Can you run: gnome-screensaver --no-daemon --debug Set your screen to lock in 1 minute, play a movie with totem in fullscreen, and post the output of the above command here?
Created attachment 62428 [details] gnome-screensaver debug output This is with Totem 1.2.1 in fullscreen mode. Attached is the debug output of gnome-screensaver.
Totem 1.4 is included with GNOME 2.14. You'll need to use that version.
Ok, but why did it work with the previous gnome-screensaver?
This happens with Totem 1.4 as well... I'll attach the output from gnome-screensaver.
Created attachment 62429 [details] gnome-screensaver --no-daemon --debug output with totem 1.4
Have you built totem with dbus support?
Totem was build with dbus support. I have traced the code as it executes and the "InhibitActivation" dbus call is being made in the screensaver_inhibit_dbus function in totem-scrsaver.c.
No idea. It works fine here: [listener_add_inhibitor] gs-listener-dbus.c:540 (11:52:21): adding inhibitor from :1.29 for reason: Playing a movie with Totem
I see the same problem with mplayer. This looks like a regression from previous behavior and also from XScreenSaver.
Javier, mplayer doesn't yet have gnome-screensaver support as far as I know. We are nearly ready to propose the DBUS API as a freedesktop standard that all media players will be able to use. Sam, can you try running totem from the commandline to see if any warnings are produced when you start playing in fullscreen? Also attach the g-s debug output when that occurs. Thanks.
Bah, I can't reproduce this any more. I have no idea why totem wasn't talking to gnome-screensaver before (or why gnome-screensaver wasn't listening)... :)