Description of problem: xdg-screensaver fails to inhibit the screensaver from activating due to an incorrect usage of the org.freedesktop.ScreenSaver.Inhibit DBUS call, as explained in further detail on upstream's bugtracker at https://bugs.freedesktop.org/show_bug.cgi?id=26085#c4. Version-Release number of selected component: xdg-utils-1.1.0-0.rc1.2.mga2, may also affect xdg-utils in Cauldron, MGA1. Affects: VLC (https://bugs.mageia.org/show_bug.cgi?id=4027), possibly any other application which uses `xdg-screensaver suspend' to inhibit the screensaver. How reproducible: Always. Since `dbus-send' (xdg-screensaver:553-563) exits immediately, `xdg-screensaver suspend' has no effect. Steps to Reproduce: Test using `xdg-screensaver suspend' with any application (e.g. VLC) :- 1. $ vlc & 2. $ xdg-screensaver suspend `xprop -name vlc | grep "WM_CLIENT_LEADER(WINDOW)" | cut -d" " -f5` 3. Confirm that screensaver starts despite step #2 Proposed solution: Upstream's bugtracker has a patch (https://bugs.freedesktop.org/attachment.cgi?id=38251) which fixes this issue. The patch applies cleanly on the xdg-screensaver script included in MGA2 (xdg-utils-1.1.0-0.rc1.2.mga2). Minimal test-case for the above 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 (Expected outcome: Shouldn't activate while VLC process is alive)
Thanks a lot for this report and for the patch. Sorry that we haven't included it yet, xdg-utils sadly has no maintainer at the moment. Adding junior_job and PATCH keywords so that packager apprentices might pick this bug for their training (or packagers with time to kill, but that's science fiction) If nothing happens within 1 month, assign it to me and I'll see what I can do.
Keywords: (none) => Junior_job, PATCH, TriagedCC: (none) => stormi
This message is a reminder that Mageia 2 is nearing its end of life. Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. -- The Mageia Bugsquad
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Mageia please feel free to click on "Version" change it against that version of Mageia and reopen this bug. Thank you for reporting this bug and we are sorry it could not be fixed. -- The Mageia Bugsquad
Status: NEW => RESOLVEDResolution: (none) => OLD
I added the patch for this bug in the Mageia Cauldron xdg-utils-1.1.0-0.0.git20121008.4.mga5.src.rpm package.
CC: (none) => shlomif