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 678304 - Save Draft prevents Evolution's quit
Save Draft prevents Evolution's quit
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-06-18 09:55 UTC by Milan Crha
Modified: 2012-06-18 10:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (1.10 KB, patch)
2012-06-18 10:25 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2012-06-18 09:55:24 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=805927#c21

Using "Save Draft" on composer's close prevent evolution from clean quit.

Steps:
a) run evolution in mailer view and Ctrl+N to create new message
b) write "aaa" into message body
c) press Esc to close the composer window, which shows question
   Discard Changes | Continue Editing | Save Draft
d) Choose Save Draft

Everything looks OK, the composer window is closed, the draft message is saved.

e) close evolution

The window itself is properly closed, it's gone almost instantly, but when checking running processes, then the previous 'evolution' process is kept running with all threads being in idle/poll, basically doing nothing.
Comment 1 Milan Crha 2012-06-18 10:25:22 UTC
Created attachment 216666 [details] [review]
evo patch

for evolution;

The composer was marked "to be closed", but the draft save didn't close it, thus the EShell thought there is opened a window, and didn't try to quit on evolution's main window close. The composer couldn't be closed immediately, because the save draft is an asynchronous operation.
Comment 2 Milan Crha 2012-06-18 10:27:04 UTC
Created commit 0c2a082 in evo master (3.5.3+)
Created commit ce88260 in evo gnome-3-4 (3.4.4+)