! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfce4-screensaver doesn't reply to "Lock" D-Bus method call which makes xfce4...
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-screensaver
Component:
General

Comments

Description Rinat 2020-03-29 23:04:21 CEST
Created attachment 9653 
proposed solution

After some recent update xfce4-power-manager started to show a message which
says:

"None of the screen lock tools ran successfully, the screen will not be locked.\nDo you still want to continue to suspend the system?"

which prevents machine from going to sleep. Closed lid also produces a similar message:

"None of the screen lock tools ran successfully, the screen will not be locked."

As I was digging, I found that xfce4-power-manager makes a synchronous D-Bus method
call, but handlers in xfce4-screensaver never send a reply to "Lock" method call. I guess
the right solution is to add an empty reply to the xfce4-screensaver. Patch attached.

Also, there was a minor issue with message filtering which resulted in handling all paths,
not only "/org/xfce/ScreenSaver", as were designed. Last two hunks in the patch are
related to that minor issue.
Comment 1 Alexander Butenko 2020-04-04 16:48:38 CEST
this were resolved in the latest master
Comment 2 Rinat 2020-04-04 21:35:41 CEST
(In reply to Alexander Butenko from comment #1)
> this were resolved in the latest master

Thanks. It's fixed indeed.
Will mark this as a DUPLICATE then.

Also, I found that recently released xfce4-screensaver-0.1.10 also has the issue fixed.

*** This bug has been marked as a duplicate of bug 16522 ***

Bug #16605

Reported by:
Rinat
Reported on: 2020-03-29
Last modified on: 2020-04-04

People

Assignee:
Sean Davis
CC List:
3 users

Version

Attachments

proposed solution (2.64 KB, patch)
2020-03-29 23:04 CEST , Rinat
no flags

Additional information