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 671105 - [regression] (re)make evolution suspend-friendly
[regression] (re)make evolution suspend-friendly
Status: RESOLVED DUPLICATE of bug 551788
Product: evolution
Classification: Applications
Component: Mailer
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-03-01 06:52 UTC by Yves-Alexis Perez
Modified: 2012-05-18 15:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yves-Alexis Perez 2012-03-01 06:52:04 UTC
Hey,

I wanted to report this a long time ago but didn't really had the time. It started in 3.2 (afaicr), not sure about the state in 3.4.

Evolution is now really suspend/hibernate unfriendly. When resuming, it tries to resume the previous connections which are completely dead since a long time, and it sits there for a long time before finally stopping that. Sometimes it seems that it'll even never end. Switching to offline mode or quitting doesn't always work, because it sometime tries to close the connections before (and will never receive a FIN).

Note that this is with IMAP+ accounts and *no* network-manager. Didn't find a filed bug already, hope this is not a dupe.
Comment 1 Matthew Barnes 2012-03-01 11:41:25 UTC
Basically, Evolution is not aware of suspends.  The only signal we get that we're about to suspend (and the only signal available, as far as I know) is a network disconnect signal from NetworkManager.
Comment 2 Yves-Alexis Perez 2012-03-02 00:12:27 UTC
Maybe, but before 3.2 suspend was handled just fine (I mean, at resume evolution wasn't trying to use dead connections)
Comment 3 Yves-Alexis Perez 2012-03-02 15:43:27 UTC
And note that those connection seem to really never die, even closing evolution doesn't make them go away, the only way seems to be kill -9.
Comment 4 misc 2012-04-15 09:44:28 UTC
I confirm the problem, and it is driving me mad :/

For the suspend, shouldn't you get this signal :
http://upower.freedesktop.org/docs/UPower.html#UPower::Sleeping ?
Comment 5 Milan Crha 2012-05-18 15:02:39 UTC

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