Bug 168460 - dragon player doesn't disable the screensaver
Summary: dragon player doesn't disable the screensaver
Status: RESOLVED FIXED
Alias: None
Product: dragonplayer
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dragon Player Mailing List
URL:
Keywords:
: 177820 178657 190156 201919 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-05 23:37 UTC by Fede
Modified: 2009-08-24 21:39 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fede 2008-08-05 23:37:16 UTC
Version:           2.0 (using Devel)
Installed from:    Compiled sources
Compiler:          g++ 4.2.3 
OS:                Linux

when watching a DVD in full-screen mode, it is extremely annoying to have to move the mouse every X minutes because the screen goes blank..

if it's a normal window it could be ok.. but if you put it in fullscreen it's presumably because you want to sit far from your pc, so it would be nice to stay there and not move around.
Comment 1 Ian Monroe 2008-08-19 21:49:30 UTC
Well this is a bug, because as far as I know it does disable the screensaver.

What distro do you use?
Comment 2 Sebastian Trueg 2008-11-22 17:39:21 UTC
Same here on Gentoo with recent version from trunk.
Comment 3 Cyrille Berger 2009-01-15 20:20:33 UTC
I have the same problem with debian packages KDE 4.2RC1.
Comment 4 David Edmundson 2009-01-18 13:44:51 UTC
Dragon Player does disable the screensaver - however this isn't the same as disabling the screen turning itself off through power saving, something we're not currently doing.

I'm currently integrating calls to Power Devil so that should fix this soon.
Comment 5 David Edmundson 2009-01-21 09:11:05 UTC
*** Bug 178657 has been marked as a duplicate of this bug. ***
Comment 6 Richard Van Den Boom 2009-01-21 13:27:52 UTC
I confirm this is an issue related to power management. On the same system, my screen turns off after 15-20 minutes while wtaching a film, but xine-ui doesn't. I suppose it does turn of energy screen saving properly.
However, I don't seem to have been able to make Power Devil stop applying screen energy save, whatever the settings I tried though. 
Comment 7 David Edmundson 2009-01-21 15:54:08 UTC
*** Bug 177820 has been marked as a duplicate of this bug. ***
Comment 8 Jack Black 2009-01-26 12:54:20 UTC
Have the same problem here with power saving. It is really annoying to get disturbed watching a movie every 15 minutes. Please fix this! As for now I'm sticking with mplayer.
Comment 9 David Edmundson 2009-01-26 13:03:21 UTC
Suspend inhibition has now been added to trunk. Intend to backport to 4.2.1. 
Display power saving is being investigated.
Comment 10 Toni Helenius 2009-02-05 12:43:57 UTC
I can confirm this bug on Kubuntu 8.10 with the KDE 4.2 PPA packages from the repositories.
Comment 11 Unknown 2009-04-26 16:02:38 UTC
I've got the same issue, too: Kubuntu 9.04, KDE 4.2.2
Comment 12 Pierre Jarillon 2009-04-26 17:08:12 UTC
*** Bug 190156 has been marked as a duplicate of this bug. ***
Comment 13 Pierre Jarillon 2009-04-26 17:10:14 UTC
Confirmed on Mandriva 2009.1 - KDE 4.2.2
Comment 14 Miguel Tadeu 2009-05-22 04:23:11 UTC
I can confirm this not for DVD, but when watching video files.
Using kde4.3 beta1
Comment 15 Unknown 2009-05-24 21:12:00 UTC
Strange, I had the issue when looking a DVD, too.
Comment 16 Pierre Jarillon 2009-05-24 21:43:13 UTC
Not strange, the problem is related to any video!
Comment 17 Unknown 2009-05-24 21:49:35 UTC
Yeah, but #14 said that the problem would occur only for video files, not for discs, which I can not confirm.
Comment 18 Miguel Tadeu 2009-05-24 21:59:46 UTC
I haven't tried discs...only files
Comment 19 Matthias Bach 2009-07-29 09:13:58 UTC
Same problem on OpenSUSE 11.1 with KDE 4.2 and KDE 4.3 RC 3. Only workaround is to set the energy profile to presentation, which IMHO dragonplayer should do automatically when going to fullscreen.
Comment 20 FiNeX 2009-07-29 23:20:38 UTC
*** Bug 201919 has been marked as a duplicate of this bug. ***
Comment 21 Toni Helenius 2009-07-30 08:35:55 UTC
Other players in KDE 4 have this problem too (Kaffeine 0.8.x, VLC 0.9.x). This didn't exist in KDE 3. So the problem might not be DragonPlayer itself. Could it be the new Phonon? backend? I haven't tried Kaffeine 1.x series yet, it I believe uses Phonon at least.
Comment 22 David Edmundson 2009-07-30 11:09:22 UTC
Dragon Player uses KnotificationRestriction to disable the screensaver - it is not done by Phonon. 

It uses this method, which has an outstanding open bug:

https://bugs.kde.org/show_bug.cgi?id=181585
Comment 23 Toni Helenius 2009-07-30 11:17:11 UTC
Can you provide any ETA on fixing this?

I do love KDE 4, it has many innovations and great feel. But lacking the support for watching movies is kinda lame. Manual workarounds seem to exist (presentation mode) but it is not the same. And a normal everyday regular user can't find the workarounds, such feature is supposed to work out-of-the-box! I'm sure many agrees that this should just work...
Comment 24 Khashayar 2009-07-30 11:49:04 UTC
If other players have the same problem, then this most probably is an issue of powerdevil - and should therefore be reassigned. I guess the bug is that powerdevil turns off the screensaver but omits to make a change to the "display power management". So can anyone reassigne the bug?

And yes, I agree that this should be fixed as soon as possible, especially given that the fix probably is rather simple.
Comment 25 Pierre Jarillon 2009-07-30 12:07:36 UTC
I use VLC in Mandriva Cooker (2010 alpha). VLC allows now to see a whole DVD.
Note: I made a dd copy of the dvd in mydvd.iso and VLC can read it.
Dragon should be able to read it too..
Comment 26 Khashayar 2009-07-30 12:42:00 UTC
This is probably coincidental, but might be related somehow. Richard Hughes writes about a similar problem with gnome power manager (http://blogs.gnome.org/hughsie/2009/07/30/accidental-blanking-and-gnome-power-manager/)
Comment 27 Cyrille Berger 2009-07-30 12:56:57 UTC
I can confirm what Pierre observed, on debian/testing, with vlc 0.9.9a and KDE 4.2.4, I don't have the problem anymore. (can't test with dragonplayer)
Comment 28 Kyle Tirak 2009-08-21 07:34:02 UTC
Occurring here on Arch Linux with KDE 4.3.0/Dragon Player 2.0
Comment 29 David Edmundson 2009-08-21 20:34:20 UTC
SVN commit 1014167 by davidedmundson:

BUG: 168460
Replace disabled screensvaer code to KNotificationRestrictions with DBUS call to screensvaer


 M  +1 -0      mainWindow.h  
 M  +20 -12    stateChange.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014167
Comment 30 Raphael Kubo da Costa 2009-08-21 20:51:48 UTC
SVN commit 1014170 by rkcosta:

Backport 1014167.

Replace disabled screensaver code to KNotificationRestrictions with DBUS call to
screensaver.

CCBUG: 168460


 M  +1 -0      mainWindow.h  
 M  +20 -12    stateChange.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014170
Comment 31 Khashayar 2009-08-22 20:57:32 UTC
According to comment #21 other players have this issue too under KDE. So I guess a fix in Dragon player leaves that unchanged. Should there be another bug report filed concerning that?
Comment 32 Toni Helenius 2009-08-23 00:21:24 UTC
If you look at Kaffeine 1.0-pre2 release notes, there is:
 * added screen saver inhibition (using DBUS; org.freedesktop.ScreenSaver)

Source: http://kaffeine.kde.org/?q=node/25

I haven't tried it, so if somebody could check it out?
Comment 33 Toni Helenius 2009-08-24 21:39:44 UTC
On a side note, I just watched a 2h movie with Kubuntu Karmic using VLC 1.0.1 and KDE 4.3 from the official repos both. And guess what? I never got screensaver nor power savings! And they worked after the movie was finished! Hooray!