powersaving/screensaver UnInhibit method times out over DBus

Bug #1388759 reported by Paulius Vitkus
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unity-settings-daemon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I use Inhibit/UnInhibit methods over dbus (name: 'org.freedesktop.ScreenSaver', path: '/ScreenSaver', interface: 'org.freedesktop.ScreenSaver') to control computers power saving. In Trusty (14.04) everything works fine. In Utopic (14.10) I noticed that UnInhibit delays its reply for about 25 seconds.
Tested using python-dbus and GDBus from python-gi. When calling this method synchronously with default timeout I get an error (NoReply). This kind of behavior can brake many applications dependent on this functionality.
Increasing timeout over 25 seconds seems to help but it is a long time for application to freeze. Calling method with noreply flag helps to execute UnInhibit instantly from applications side but next call to Inhibit still delays.

Paulius Vitkus (behda)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Angerer (andreas-angerer89) wrote :

Same here on Utupic. Interestingly enough calling inhibit seems to be working just fine, only uninhibiting is buggy.

As a result programs like caffeine don't work any more as well.

Revision history for this message
Alexander (aheihachi) wrote :

Caffeine plus doesn't work correctly for me either.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.