when paused it should not inhibit the screensaver

Bug #589722 reported by Nicolò Chieffo
58
This bug affects 13 people
Affects Status Importance Assigned to Milestone
VLC media player
Fix Committed
Undecided
Unassigned
vlc (Debian)
Fix Released
Unknown
vlc (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: vlc

When a video is open and paused vlc still inhibits the screensaver.
The screensaver should be inhibited only when playing the video.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: vlc 1.0.6-1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.34-5.13-generic 2.6.34
Uname: Linux 2.6.34-5-generic x86_64
Architecture: amd64
Date: Fri Jun 4 17:00:54 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=it_IT.utf8
 SHELL=/bin/bash
SourcePackage: vlc

Revision history for this message
Nicolò Chieffo (yelo3) wrote :
Changed in vlc (Ubuntu):
status: New → Confirmed
Changed in vlc:
importance: Undecided → Unknown
status: New → Unknown
Changed in vlc:
status: Unknown → New
Revision history for this message
Michele Roviello (micheleroviello) wrote :

I have the same problem with VLC 1.1.0 and Ubuntu lucid.

Daniel Hahler (blueyed)
Changed in vlc (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Pavlo Bohmat (bohm) wrote :

vlc (1.3.0~~git20120107+r1099-0~r54~precise1) does not stop (never) xscreensaver (always active) in fluxbox...

Revision history for this message
Volodya (volodya) wrote :

On this one i would say that it's not a bug it's a feature. Paused video is still "playing" technically, so the screen saver should not activate.

Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Triaged. Patch welcome upstream.

Revision history for this message
Andrew McCarthy (andrewmccarthy) wrote :

Note: similar, but not identical, to bug #986785 ("vlc keeps inhibiting the screensaver").

Benjamin Drung (bdrung)
Changed in vlc (Ubuntu):
status: Confirmed → Triaged
Changed in vlc (Debian):
status: Unknown → Confirmed
Revision history for this message
abandonedaccount (emanuelczirai-deactivatedaccount) wrote :

There's a module that takes care of this but requires recompiling vlc I guess:
https://github.com/jjk-jacky/abs/blob/726bba27c787339f331ae92380119281f20f4ff6/vlc-jjk/0001-Add-dpms-module-to-switch-it-off-while-playing.patch
(requires disabling screensaver and power management in Preferences, because it handles them instead)

But if you want another variant(if the above isn't what you want for some reason), then this is what I am using now (for vlc-git): https://github.com/emanueLczirai/coostomhuston/blob/c3b3108cd1fba34ac8e0056f38eb8024261439fb/system/lenovo%20z575/OS/manjaro/filesystem%20now/home/emacs/build/vlc-git/0001_allow_screensaver_and_power_management_while_video_is_paused.patch
(this variant doesn't require you changing any vlc settings; although it's a hacky way of implementing this feature AND it "forces" vlc to use xdg-screensaver to inhibit screensaver and powermanagement from triggering during playback; the other way vlc would use is dbus to inhibit...)

Both work for me btw; Result: vlc doesn't let screensaver, screen blanking, power management trigger while video(or audio) is playing, but allows them to kick in while the video is paused.

Hope this helps someone somehow.

Cheers,
EmanueL

PS: don't kill me? :)

PS2: relevant thread of people asking for this feature: https://forum.videolan.org/viewtopic.php?t=100211

Revision history for this message
Plurtu (plurtu) wrote :

It also shouldn't inhibit the screensaver when the window is minimized (like Firefox with HTML5 video).

Changed in vlc:
milestone: none → 3.0.0
importance: Unknown → Undecided
status: New → Fix Committed
Changed in vlc (Debian):
status: Confirmed → Fix Released
Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

Fixed in 3.0

Changed in vlc (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Volodya (volodya) wrote :

Sad. So many real bugs aren't fixed, but this "bug" will soon be no more.

Revision history for this message
Attila Lendvai (attila-lendvai) wrote :

yes, it's not a bug, but a serious security issue.

thanks for fixing it finally!

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.