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 219197 - Session management
Session management
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.4.x (obsolete)
Other All
: Normal minor
: Future
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 219808 247555 256343 258842 270251 498302 (view as bug list)
Depends on: 343011
Blocks: 201362 224885 268472 270627 273602 325892 327508 327510 354564 498302 504702
 
 
Reported: 2002-01-25 05:54 UTC by Miles Lane
Modified: 2013-09-13 00:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (1.57 KB, patch)
2007-10-16 15:17 UTC, Milan Crha
reviewed Details | Review
proposed evo patch ][ (4.20 KB, patch)
2008-01-02 16:03 UTC, Milan Crha
committed Details | Review

Description Miles Lane 2002-01-25 05:54:57 UTC
I have "Empty Trash Folders on Exit" enabled.
Yet, this is not occuring when I use 
System -> Log Out -> Restart to reboot my machine.
Comment 1 Ettore Perazzoli 2002-07-23 19:18:58 UTC
Session management is almost non-existent right now.
Comment 2 Peter Williams 2002-08-23 19:27:29 UTC
Reassigning to shell, probably a dup tho.
Comment 3 Ettore Perazzoli 2002-09-24 16:26:49 UTC
Proper SM support will have to wait for 1.4.
Comment 4 Gerardo Marin 2004-01-13 22:26:40 UTC
Retargeting 1.5.2 bug reports to 1.5.3. Sorry for the spam
Comment 5 Gerardo Marin 2004-01-27 18:45:51 UTC
Retargeting 1.5.3 reports to 1.5.4. Sorry for the spam.
Comment 6 JP Rosevear 2004-08-26 07:28:11 UTC
*** bug 219808 has been marked as a duplicate of this bug. ***
Comment 7 JP Rosevear 2004-08-26 07:29:53 UTC
Updating the summary, there just is no session management at all.
Comment 8 JP Rosevear 2004-08-26 07:30:36 UTC
*** bug 247555 has been marked as a duplicate of this bug. ***
Comment 9 JP Rosevear 2004-08-26 07:30:54 UTC
*** bug 258842 has been marked as a duplicate of this bug. ***
Comment 10 Gerardo Marin 2004-12-07 19:01:56 UTC
*** bug 270251 has been marked as a duplicate of this bug. ***
Comment 11 Gerardo Marin 2004-12-07 19:03:15 UTC
*** bug 256343 has been marked as a duplicate of this bug. ***
Comment 12 Glynn Foster 2005-05-19 22:16:49 UTC
It also sucks that evolution keeps renaming its binaries without installing a
compatibility symlink. Every time I upgrade to a newer minor version of
evolution, my session breaks [references the old evolution binary in the session
file]
Comment 13 André Klapper 2005-09-15 12:15:40 UTC
gman: your last comment is bug 315415 and bug 315871, this has nothing to do
with the bug report here.


anyway punting target to 2.5.
Comment 14 Sebastien Bacher 2005-12-03 14:06:36 UTC
Ubuntu bug about that: http://bugzilla.ubuntu.com/show_bug.cgi?id=18917

"If evolution is running and I logout from gnome evolution didn't remember which
mails I read. Next time I start evolution some mails are marked as unread. I
guess this are mails since my last manuelly quit of evolution.
...
> Thanks for your bug. What version of Ubuntu do you use? What kind of email
account (IMAP)?
...
I use Ubuntu 5.10 and so evolution 2.4.1-0ubuntu7

I have this problem both with POP and IMAP4rev1. I guess, I havent any problems
with my third account using IMAP. 

IMAP4rev1:
When I got mails just few minutes ago. Also when I just normal quit. Only
offline-mode before closing helps. 
Of course also when i log out...

POP:
when I log out."
Comment 15 David Planella 2006-06-13 21:12:16 UTC
I just wanted to say that I can confirm the same behaviour described on the previous comment (#14) on my machine running Evolution 2.6.1 on Ubuntu Dapper.

As a quick workaround, switching components after the mail has been read and before exiting the session seems to solve the issue. Closing Evolution and restarting it will also work, although it is slightly more annoying.

I was also told at the #evolution IRC channel that switching to another mail folder should work just as well as changing component, but I haven't got round to try that yet. If I understood it correctly, it seems to be an issue with synching folders when logging out.
Comment 16 André Klapper 2006-06-14 14:13:13 UTC
removing old target milestone.
Comment 17 unggnu 2007-07-02 20:16:43 UTC
This problem still appears in Ubuntu Feisty 7.04 with Evolution 2.10.1-0ubuntu2.
Comment 18 unggnu 2007-08-29 17:14:46 UTC
At least for now session management isn't needed. Why not flush configuration or mail folder settings after a change?
Comment 19 Milan Crha 2007-10-16 15:17:45 UTC
Created attachment 97290 [details] [review]
proposed evo patch

for evolution;

Is this sufficient?
Comment 20 Srinivasa Ragavan 2007-11-05 06:32:06 UTC
Milan. this may not call/invoke e_shell_quit which is what calls the individual component quits and which is what that does all those things. 

There is a problem too, there is some ugly code that checks for mails/downloads them when someone quits. I dont know the exact scenario. That should be fixed otherwise, I can see a GNOME blocker bug on the way.
Comment 21 Milan Crha 2007-11-05 17:22:29 UTC
OK, I didn't got it, maybe we can chat online one day. That ugly code involves mc_quit_sync probably? Btw, it seems to me that mail_config_write_on_exit is not called, but it should be?
Comment 22 Srinivasa Ragavan 2007-12-31 16:07:24 UTC
Milan, we should meet quick for this to get it asap. It may cause more troubles with the new crash-detection. 
Comment 23 Milan Crha 2008-01-02 16:03:08 UTC
Created attachment 101998 [details] [review]
proposed evo patch ][

for evolution;

Here's an updated patch as we discussed on IRC. I broke e_shell_quit into two (public) functions, so it should be ok. I also tested when logging out, and it calls both functions now.
Comment 24 Srinivasa Ragavan 2008-01-03 05:58:39 UTC
Milan, looks fine to me. We should get this in asap. Also, lets be prepared to fix more bugs ;-). (like... Evolution doesn't quit/takes time, when I logout).

Comment 25 Milan Crha 2008-01-03 10:25:25 UTC
Committed to trunk. Committed revision 34754.

I hope no such bug will be entered. :)
Comment 26 Srinivasa Ragavan 2008-01-03 10:35:55 UTC
I myself my file one ;-) I know that Evolution won't easly  quit and does sync. Worst of that, at times, it starts downloading messages when I quit. Which is what I meant.
Comment 27 Akhil Laddha 2011-10-13 08:26:09 UTC
*** Bug 498302 has been marked as a duplicate of this bug. ***