Bug 383296 - Powerdevil immediately discards xdg-screensaver inhibitions
Summary: Powerdevil immediately discards xdg-screensaver inhibitions
Status: RESOLVED DUPLICATE of bug 381160
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.10.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-08 22:16 UTC by Nicolas F.
Modified: 2017-08-09 11:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas F. 2017-08-08 22:16:22 UTC
Steps to reproduce:

1. watch the log with `journalctl -x -f`
2. run `xdg-screensaver suspend 0xsomevalididhere`

powerdevil will do the following:

Aug 09 00:10:51 archbook org_kde_powerdevil[797]: powerdevil: Scheduling inhibition from ":1.12" "0x5c00001" with cookie 24 and reason "xdg-screensaver"
Aug 09 00:10:51 archbook org_kde_powerdevil[797]: powerdevil: Releasing inhibition with cookie  24
Aug 09 00:10:51 archbook org_kde_powerdevil[797]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it

mpv's current git HEAD relies on xdg-screensaver to suspend the lock screen, so this is somewhat irritating.
Comment 1 David Edmundson 2017-08-09 00:14:26 UTC

*** This bug has been marked as a duplicate of bug 381160 ***
Comment 2 Nicolas F. 2017-08-09 11:41:10 UTC
This is not a duplicate of that bug, for me, the inhibition does not work at all. The screen lock or dimming proceeds regardless.
Comment 3 Nicolas F. 2017-08-09 11:45:22 UTC
Nevermind, just read all the comments on that bug report and it looks like this was reported upstream and indeed the same issue.