Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2324 closed Enhancement (fixed)

power management inhibition with gnome-session >= 2.26

Reported by: kiddo Owned by: charles
Priority: Normal Milestone: 1.80
Component: GTK+ Client Version: 1.73
Severity: Major Keywords:
Cc: belegdol+transmission@…, hadess@…, ian@…

Change History (12)

comment:1 Changed 12 years ago by charles

  • Type changed from Bug to Enhancement

comment:2 Changed 12 years ago by charles

  • Summary changed from support power management inhibition through gnome-session >= 2.26 to power management inhibition with gnome-session >= 2.26

comment:3 Changed 12 years ago by belegdol

  • Cc belegdol+transmission@… added

The g-p-m interfaces were removed in gnome 2.28, which both Ubuntu 9.10 and Fedora 12 ship.

comment:4 Changed 12 years ago by hadess

  • Cc hadess@… added

comment:5 Changed 12 years ago by charles

  • Status changed from new to assigned

comment:6 Changed 12 years ago by Grug

  • Cc ian@… added

I'm not sure about this.

Taking a quick look at the code, it currently appears to be using Dbus to connect to (something) via the freedesktop spec (eg. "org.freedesktop.PowerManagement?").

From what I have seen of the new method, it can also use Dbus but talks specifically to gnome-session via "org.gnome.SessionManager?".

What about everyone not running gnome-session? Is this breaking away from freedesktop?

One possible solution might be to fallback to the "old" freedesktop method if the connection to gnome-session fails.

comment:9 Changed 12 years ago by charles

  • Milestone changed from None Set to 1.80
  • Status changed from assigned to new

charles * r9645 gtk/tr-core.c: (trunk gtk) #2324 "power management inhibition with gnome-session >= 2.26" -- fixed

comment:10 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

comment:11 Changed 12 years ago by charles

r9683 gtk/tr-core.c: (trunk gtk) #2324 "power management inhibition with gnome-session >= 2.26" -- fix 1.80b1 misimplementation bug reported & researched by kklimonda

comment:12 Changed 12 years ago by charles

  • Severity changed from Normal to Major
Note: See TracTickets for help on using tickets.