Bug 4027 - vlc doesn't prevent kde from starting screensaver
Summary: vlc doesn't prevent kde from starting screensaver
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard: MGA4TOO
Keywords: Triaged, UPSTREAM
: 13302 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-05 09:23 CET by Jerome Quelin
Modified: 2019-04-08 21:47 CEST (History)
6 users (show)

See Also:
Source RPM: vlc
CVE:
Status comment:


Attachments

Description Jerome Quelin 2012-01-05 09:23:42 CET
1. read a dvd with vlc
2. 5 minutes after, watch the screensaver appear (or more exactly, the lack of - see bug 4026)
3. be very annoyed

note: vlc / tools /params / all params / video / disable screen saver is ticked.
Comment 1 Manuel Hiebel 2012-01-05 14:11:03 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

seems we need xdg-screensaver https://trac.videolan.org/vlc/ticket/5543

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => shlomif
Source RPM: (none) => vlc

Comment 2 Jerome Quelin 2012-01-10 14:01:19 CET
issue seems to be gone with new kde (4.7.97)
to be confirmed with final 4.8
Comment 3 acar burak 2012-03-24 23:17:38 CET
Unfortunately it's not gone here either in KDE or LXDE.

CC: (none) => acarbura

Comment 4 Marja Van Waes 2012-05-26 13:03:53 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 5 Jerome Quelin 2012-05-27 09:34:55 CEST
still valid for mga2
Sander Lepik 2012-05-27 10:06:30 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik

egc 2012-05-31 11:08:17 CEST

CC: (none) => egc

Comment 6 egc 2012-05-31 11:09:02 CEST
yes, still valid in mageia2 final
Sander Lepik 2012-05-31 11:54:41 CEST

Whiteboard: (none) => MGA2TOO

Comment 7 Marja Van Waes 2012-07-06 15:05:05 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 8 Shlomi Fish 2012-07-06 17:47:18 CEST
Hi all,

this seems like this upstream bug. Please comment there:

https://bugs.kde.org/show_bug.cgi?id=292917

Regards,

-- Shlomi Fish

Keywords: (none) => UPSTREAM
Status: NEW => ASSIGNED

Comment 9 Fadi Moukayed 2012-10-20 14:53:50 CEST
Hi,

I believe that this bug is neither in KDE nor in VLC, but in the xdg-screensaver script [1] (Part of xdg-utils), which VLC relies on to suspend the screensaver [2]

Fortunately, there is a working patch [3] available on the upstream bugtracker [2], which applies cleanly on the xdg-screensaver script included in MGA2 (And Possibly Cauldron/MGA1 too)

Here's a minimal testcase for the aforementioned patch:

1. $ cp `which xdg-screensaver` .
2. $ curl https://bugs.freedesktop.org/attachment.cgi?id=38251 | patch -p0
3. $ vlc &
4. $ ./xdg-screensaver suspend `xprop -name vlc | grep "WM_CLIENT_LEADER(WINDOW)" | cut -d" " -f5`
5. Check if screensaver activates (It shouldn't as long as the VLC process is alive)

Shlomi, what is your take on this - should we file a new bug against xdg-utils? 

[1] Upstream bug report (xdg-utils) - https://bugs.freedesktop.org/show_bug.cgi?id=26085#c6

[2] http://git.videolan.org/?p=vlc.git;a=blob;f=modules/misc/inhibit/xdg.c;h=3f297c697e9ce86f2518813a709788efc83d5d2f;hb=HEAD

[3] https://bugs.freedesktop.org/attachment.cgi?id=38251

CC: (none) => smfadi+mgaf

Comment 10 Shlomi Fish 2012-10-20 15:10:21 CEST
(In reply to comment #9)
> Hi,
> 
> I believe that this bug is neither in KDE nor in VLC, but in the
> xdg-screensaver script [1] (Part of xdg-utils), which VLC relies on to suspend
> the screensaver [2]
> 
> Fortunately, there is a working patch [3] available on the upstream bugtracker
> [2], which applies cleanly on the xdg-screensaver script included in MGA2 (And
> Possibly Cauldron/MGA1 too)
> 
> Here's a minimal testcase for the aforementioned patch:
> 
> 1. $ cp `which xdg-screensaver` .
> 2. $ curl https://bugs.freedesktop.org/attachment.cgi?id=38251 | patch -p0
> 3. $ vlc &
> 4. $ ./xdg-screensaver suspend `xprop -name vlc | grep
> "WM_CLIENT_LEADER(WINDOW)" | cut -d" " -f5`
> 5. Check if screensaver activates (It shouldn't as long as the VLC process is
> alive)
> 
> Shlomi, what is your take on this - should we file a new bug against xdg-utils? 
> 

Yes, please.

Regards,

-- Shlomi Fish

> [1] Upstream bug report (xdg-utils) -
> https://bugs.freedesktop.org/show_bug.cgi?id=26085#c6
> 
> [2]
> http://git.videolan.org/?p=vlc.git;a=blob;f=modules/misc/inhibit/xdg.c;h=3f297c697e9ce86f2518813a709788efc83d5d2f;hb=HEAD
> 
> [3] https://bugs.freedesktop.org/attachment.cgi?id=38251
Comment 11 Fadi Moukayed 2012-10-20 16:25:27 CEST
> > Shlomi, what is your take on this - should we file a new bug against xdg-utils? 
> > 
> 
> Yes, please.
> 
> Regards,
> 
> -- Shlomi Fish
> 

Thanks. Filed as bug #7878 - https://bugs.mageia.org/show_bug.cgi?id=7848
Comment 12 Fadi Moukayed 2012-10-20 17:36:12 CEST
>Thanks. Filed as bug #7878 - https://bugs.mageia.org/show_bug.cgi?id=7848

Sorry, I meant #7848 of course (Can't figure out how to edit my posts).
Comment 13 Manuel Hiebel 2014-05-02 23:49:42 CEST
*** Bug 13302 has been marked as a duplicate of this bug. ***

CC: (none) => dominiqu.jc.paul

Manuel Hiebel 2014-05-02 23:49:55 CEST

Whiteboard: MGA2TOO => MGA4TOO

egc 2014-05-03 00:08:42 CEST

CC: egc => (none)

Comment 14 Shlomi Fish 2014-05-03 23:08:24 CEST
(In reply to Fadi Moukayed from comment #12)
> >Thanks. Filed as bug #7878 - https://bugs.mageia.org/show_bug.cgi?id=7848
> 
> Sorry, I meant #7848 of course (Can't figure out how to edit my posts).

See bug #7848  .
Comment 15 Paul Dominique 2014-05-05 16:14:34 CEST
(In reply to Manuel Hiebel from comment #13)
> *** Bug 13302 has been marked as a duplicate of this bug. ***

Hi Manuel Hiebel,

I am doubtful of the duplicate of bug 4027:
- The bug 4027 is about the arisen of screensaver during VLC run; 
and now -under Mageia 4- VLC, with the default config, prevents this.
If bug 13302 would be the duplicate of bug 4027, it is fixed, and must be not noticed.
- The bug 13302 is related to activity config, not to an application. 
If there is no lauched application in the activity, what WindowID of xdg-screensaver to prevent arise of screensaver?
Florian Hubold 2014-05-22 14:53:19 CEST

CC: (none) => doktor5000

Comment 16 Lewis Smith 2019-04-08 21:47:32 CEST
From the previous comment:
> Th[is] bug 4027 is about the arisen of screensaver during VLC run;
> and now - under Mageia 4 - VLC, with the default config, prevents this.
So closing fixed.

CC: (none) => lewyssmith
Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.