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 660224 - Assertion failure when forwarding message
Assertion failure when forwarding message
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 662144 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-09-27 06:53 UTC by Milan Crha
Modified: 2011-11-10 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (7.21 KB, patch)
2011-09-27 09:14 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2011-09-27 06:53:52 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=740793

When clicking the "Forward" button in a message window, the window just closes.
 These messages appear in .xsession-errors:

(evolution:24838): evolution-shell-CRITICAL **: e_shell_backend_get_shell:
assertion `E_IS_SHELL_BACKEND (shell_backend)' failed

(evolution:24838): evolution-mail-CRITICAL **: em_utils_forward_message:
assertion `E_IS_SHELL (shell)' failed

Version-Release number of selected component (if applicable):
evolution-3.1.92-1.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Double click on a message to open its message window
2.Click Forward

Actual results:
Window closes, assertion failure in .xsession-errors, no further action.

Expected results:
Compose window for forwarding email.
Comment 1 Milan Crha 2011-09-27 06:56:56 UTC
Confirming, I can reproduce it when I have set
   /apps/evolution/mail/prompts/reply_close_browser
to "always".
Comment 2 Milan Crha 2011-09-27 09:14:04 UTC
Created attachment 197551 [details] [review]
evo patch

for evolution;

This solution has two advantages, namely:
a) user is asked whether to close the message browser before the composer for
   a forward is shown
b) when an error will happen then the browser window will not close

I believe both are good to have. Of course, the third advantage is that it fixes the issue, where, when forwarding, the message is received asynchronously, thus the window was gone before message was received. This is not an issue for message browser when replying or redirecting, as these are done pretty much synchronously.
Comment 3 Milan Crha 2011-09-27 09:16:58 UTC
Created commit c520043 in evo master (3.3.1+)
Created commit 6007aba in evo gnome-3-2 (3.2.1+)
Comment 4 Milan Crha 2011-11-10 17:52:52 UTC
*** Bug 662144 has been marked as a duplicate of this bug. ***