totem does not prevent the screen to be blanked
Bug #123124 reported by
Nicolò Chieffo
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
description: | updated |
Changed in totem: | |
status: | Unknown → Confirmed |
Changed in totem: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
I've looked at the code in src/plugins/ totem-screensav er.c
static void totem_screensav er_update_ from_state (TotemObject *totem,
TotemScreensave rPlugin *pi)
totem_ scrsaver_ disable (pi->scr);
totem_ scrsaver_ enable (pi->scr);
{
if (totem_is_playing (totem) != FALSE
&& totem_is_fullscreen (totem) != FALSE) {
} else {
}
}
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). playing_ video_file should be implemented
the function totem_is_