After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649240 - properly use gnome-session presence status
properly use gnome-session presence status
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-05-02 23:25 UTC by Matthias Clasen
Modified: 2011-06-05 07:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.12 KB, patch)
2011-05-02 23:25 UTC, Matthias Clasen
none Details | Review
log (10.20 KB, text/plain)
2011-06-05 07:39 UTC, Ionut Biru
  Details

Description Matthias Clasen 2011-05-02 23:25:07 UTC
GDBusProxy relies on PropertiesChanges signals to update its property cache. gnome-session is using dbus-glib which doesn't support that signal. Therefore, we have to manually update the status property when receiving a StatusChanged.
Comment 1 Matthias Clasen 2011-05-02 23:25:30 UTC
Created attachment 187090 [details] [review]
patch
Comment 2 MT 2011-05-31 18:15:55 UTC
Does this fix the problem of the system not automatically suspending after idle timeout? I see that it still hasn't made it into the 3.0.2 release, will a new bugfix release of gnome-power-manager come out?
Comment 3 Richard Hughes 2011-05-31 22:23:59 UTC
Yup, I failed to commit this before the release. They'll be a new release soon, I promise.
Comment 4 Alexander Diewald 2011-06-03 09:55:10 UTC
Hi, I've just applied this patch to the 3.0.2 release and it didn't fix the issue any more. I noticed this behavior again since the update to gnome 3.0.2 using the gnome overlay (I'm a gentoo user). Before the trunk version worked fine. I guess we need a new patch.
Comment 5 Ionut Biru 2011-06-05 07:38:47 UTC
i've been trying this patch in the past couples of days and i found that it doesn't come up from suspend. Without this patch, i can suspend from the menu and always come back. 

here is my xsession-errors log
Comment 6 Ionut Biru 2011-06-05 07:39:09 UTC
Created attachment 189256 [details]
log