totem does not prevent the screen to be blanked

Bug #123124 reported by Nicolò Chieffo
This bug report is a duplicate of:  Bug #66257: Screen blanks when watching movies. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Totem
Fix Released
Unknown
totem (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem-gstreamer

using gutsy:
totem-gstreamer 2.19.4-0ubuntu3

When I play videos the "blank screen" is not inhibited. I noticed that the package has a plugin named "screensaver", but it is not listed under the plugins window, so I cannot see if it is misconfigured

This plugin does this:
when the screensaver should start, the whole screen (except the video) becomes more and more black.
Then when the timeout of gnome-power-manager is triggered the screen is blanked.

Related branches

Nicolò Chieffo (yelo3)
description: updated
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I've looked at the code in src/plugins/totem-screensaver.c

static void totem_screensaver_update_from_state (TotemObject *totem,
                     TotemScreensaverPlugin *pi)
{
    if (totem_is_playing (totem) != FALSE
        && totem_is_fullscreen (totem) != FALSE) {
        totem_scrsaver_disable (pi->scr);
    } else {
        totem_scrsaver_enable (pi->scr);
    }
}

I really think that this condition in inadequate: why the check that totem is fullscreen? I mean, I can prefer watching the video in windowed mode, especially if the resolution is not hi...

the check should be if totem_is_playing && totem_is_playing_video_file. Remember that there is the problem of inhibit the suspend, which should be done also if totem is playing an audio file (don't know if this is done elsewhere).
the function totem_is_playing_video_file should be implemented

Changed in totem:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. That's known upstream http://bugzilla.gnome.org/show_bug.cgi?id=425473

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Triaged
Changed in totem:
status: Unknown → Confirmed
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

Sorry. but can we apply the patch removing "&& totem_is_fullscreen" by ourselves? Upstream doesn't seem interested in this bug, and it is a simple fix for us!

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've sent a patch upstream, commited it to svn and uploaded a package update with it now

Changed in totem:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

totem (2.19.90-0ubuntu3) gutsy; urgency=low

  * debian/patches/07_no_screensaver_activation_when_playing.dpatch:
    - unactivate the screensaver also when not playing in fullscreen
      (LP: #123124)

 -- Sebastien Bacher <email address hidden> Wed, 22 Aug 2007 12:37:55 +0200

Changed in totem:
status: Fix Committed → Fix Released
Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 123124] Re: totem does not prevent the screen to be blanked

Sebastien, in this way the screensaver is also disactivated when
playing music. Is there a way to check if a video is playing, instead
of music, to better handle this problem?

Revision history for this message
Sebastien Bacher (seb128) wrote :

you might have graphical effects when playing music, that's only code and that's likely possible but we don't have the ressources to start coding on minor things like that at the moment and that's a different issue, you can try to open a new bug upstream about it though

Changed in totem:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.