Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBus Inhibit via ScreenSaver is broken #97

Closed
VirtCode opened this issue Oct 23, 2024 · 0 comments · Fixed by #98
Closed

DBus Inhibit via ScreenSaver is broken #97

VirtCode opened this issue Oct 23, 2024 · 0 comments · Fixed by #98

Comments

@VirtCode
Copy link

DBus inhibits via ScreenSaver are broken since #96, see #96 (comment)

The locks are created correctly, but are not removed. It is odd that only one ScreenSaver inhibit: blah blah... message is printed for a resume and a pause, instead of two as before (one with 1 and one 0). I did insert some more logs, and the callback for UnInhibit seems to just never be called.

For example, pausing and resuming a video in ff results in the following

[LOG] wayland done, registering dbus
[LOG] Using dbus path /org/freedesktop/login1/session/_33
[LOG] ScreenSaver inhibit: true dbus message from  (owner: :1.16) with content video-playing
[LOG] Inhibit locks: 1
[LOG] Cookie 1337 sent
[LOG] ScreenSaver inhibit: true dbus message from  (owner: :1.16) with content video-playing
[LOG] Inhibit locks: 2
[LOG] Cookie 1338 sent
[LOG] ScreenSaver inhibit: true dbus message from  (owner: :1.16) with content video-playing
[LOG] Inhibit locks: 3
[LOG] Cookie 1339 sent
[LOG] ScreenSaver inhibit: true dbus message from  (owner: :1.16) with content video-playing
[LOG] Inhibit locks: 4
[LOG] Cookie 1340 sent
[LOG] ScreenSaver inhibit: true dbus message from  (owner: :1.16) with content video-playing
[LOG] Inhibit locks: 5
[LOG] Cookie 1341 sent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant