Opened 11 years ago

Closed 11 years ago

#942 closed Bug (invalid)

(gtk) should not inhibit Sleep/Suspend

Reported by: fafhrd Owned by: charles
Priority: Normal Milestone:
Component: GTK+ Client Version: 1.33
Severity: Major Keywords:
Cc:

Description

I noticed that Transmission 1.20 triggered GNOME's "Warning: your computer will not sleep because an app requested it to do so" dialogue. IMHO, this definitely should not be the case at all -- I have been pausing my downloads before sleeping, and now I have to quit transmission completely.

Again, IMHO, the app should either 1) not do anything or 2) *optionally* pause downloads on suspend/sleep (I'd definitely appreciate the latter, frankly). Integration with NetworkManager? might be the way to go (similar to what Pidgin or Evolution does).

The don't-sleep-the-computer functionality should be reserved for applications that might break your computer, for e.g. burning a CD, or the user-requested suppress-sleep applet.

I'm setting the priority as Major, if only because if anyone has already clicked "don't show me this again" on the dialogue, their laptop is not going to sleep or suspend, which is very bad.

Change History (7)

comment:1 Changed 11 years ago by charles

  • Component changed from Transmission to GTK+ Client
  • Owner set to charles

comment:2 Changed 11 years ago by charles

  • Status changed from new to assigned
  • Summary changed from GTK+ Transmission 1.20 should not trigger Sleep/Suspend warning dialogue to GTK+ 1.20 should not trigger inhibit Sleep/Suspend

comment:3 Changed 11 years ago by charles

  • Summary changed from GTK+ 1.20 should not trigger inhibit Sleep/Suspend to (gtk) 1.20 should not trigger inhibit Sleep/Suspend

comment:4 Changed 11 years ago by charles

  • Milestone changed from None Set to 1.30

comment:5 Changed 11 years ago by charles

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

comment:6 Changed 11 years ago by damumbl

  • Milestone 1.30 deleted
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from (gtk) 1.20 should not trigger inhibit Sleep/Suspend to (gtk) should not inhibit Sleep/Suspend
  • Version changed from 1.20 to 1.33

The option disapeared again in r6065. As the original reporter wrote, inhibit suspend should be reserved for applications that really need to finish what they are doing, before the computer goes to sleep. Bittorrent downloads can be restarted again when the computer is awaken from sleep without any problems. There should be at least an option to disable this behaviour as it was in 1.30. I don't want each and every program to inhibit sleep. That's not why this function was introduced in gnome-power-manager.

comment:7 Changed 11 years ago by charles

  • Resolution set to invalid
  • Status changed from reopened to closed

To disable this feature, change the "allow-hibernation-even-when-torrents-are-active" flag to 1 in ~/.config/transmission/settings.json.

xref: #1063, #307

Note: See TracTickets for help on using tickets.