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 364542 - evolution message preview window freezes
evolution message preview window freezes
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other other
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-10-23 20:32 UTC by Simon.Lueke
Modified: 2008-10-24 16:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
proposed eds patch (5.16 KB, patch)
2008-07-28 13:57 UTC, Milan Crha
committed Details | Review
proposed evo patch (4.54 KB, patch)
2008-07-28 14:02 UTC, Milan Crha
committed Details | Review

Description Simon.Lueke 2006-10-23 20:31:52 UTC
Distribution: Ubuntu 6.06 (dapper)
Package: Evolution
Severity: Normal
Version: GNOME2.14.3 unspecified
Gnome-Distributor: Ubuntu
Synopsis: evolution message preview window freezes
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: unspecified
Description:
Description of Problem:
evo message preview window stays frozen after trying to load mostly a
html message (status bar says: "message is being formatted..." (or sth.
like that - reverse german to englich translation)). klicking on other
messages to preview doesn't work. messages can only be opened by
double-clicking them, but no further preview is possible. ctrl-i to load
eventually missing images also doesn't work.
after the preview window has frozen - evolution mostly can't be closed
normally: killall evolution will work; regain of the preview window
functionality only after killall evolution-* (i.e. ..-alarm-notify,
-data-server-1.6, -exchange-storage)

Steps to reproduce the problem:
1. klick on a (html)message to be previewed - often that's enough
2. sometimes preview freezes after the message being previewed is
deleted/moved to trash (this is not assured but a guess.
3. other messages won't be previewed, the preview-section doesn't react
in any way

Actual Results:


Expected Results:


How often does this happen?
Nearly every use - mostly in connection with html-mails

Additional Information:




------- Bug created by bug-buddy at 2006-10-23 20:32 -------

Comment 1 donald 2007-04-24 22:38:44 UTC
Distribution: Ubuntu 7.04 (feisty)
Package: Evolution 2.10.1
Severity: Normal
Version: GNOME2.14.3 unspecified
Gnome-Distributor: Ubuntu
Synopsis: evolution message preview window freezes
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: unspecified
Description:
Description of Problem:
I have the exact same problem viewing messages that have images in them.  If the images have a SRC tag that uses a CID, it displays fine.  If the images in the HTML message have a SRC tag that points to a web server, the preview window will not update any more until killing evolution and the other components mentioned above.

Steps to reproduce the problem:
1. click on a (html)message with images hosted on a web server
3. other messages won't be previewed, the preview-section doesn't react
in any way

Actual Results:
Preview screen locks, will not display images (even if images should never be retrieved).
Preview screen does not update if you change messages.
Cannot exit Evolution.

Expected Results:
Preview of HTML message should be displayed.  Images should only download if you've set the option to retrieve them or if you specifically ask them to be displayed.
Preview screen should update if you click on other messages.


How often does this happen?
Any time I view a message that has images hosted on a web server, rather than embedded in the email using CID references.

Additional Information:
Comment 2 Charles Bovy 2007-08-30 11:22:06 UTC
I notice the same behavior:

Distribution: Ubuntu 7.10 (Gutsy)
Package: Evolution 2.11.91

Any idea how to fix this?
Comment 3 Brian J. Murrell 2007-11-23 14:24:31 UTC
I've filed a bug about this previously.  Does everyone here who is having this problem have an LDAP contacts source defined in their autocompletion preferences?  That seems to be the key issue as to whether this happens or not.  I knew it way back then and disabled LDAP autocompletion and never saw this problem for a long time.

I recently just joined a new environment where I need to have LDAP autocompletion enabled and now it's happening again.

What is most interesting this time around is that if I wait long enough (5-10 minutes perhaps -- I have not timed it) it will eventually correct itself.  So something is happening that is blocking the Formatting.

I wonder if it's an address book search to decided whether to display images or not.
Comment 4 Charles Bovy 2007-11-23 14:46:26 UTC
I disabled Loading Images from Contacts, and I got rid of the freeze.
It seems that Evolution tries to find the Sender via LDAP, but does not succeed and freezes.
I do have an LDAP Addressbook.
Comment 5 Akhil Laddha 2008-07-14 09:42:51 UTC
can you please try in current stable 2.22.3. If you still face the problem, can you please attach the sample mail after removing confidential info, thanks.
Comment 6 Brian J. Murrell 2008-07-14 15:22:58 UTC
(In reply to comment #5)
> can you please try in current stable 2.22.3. If you still face the problem, can
> you please attach the sample mail after removing confidential info, thanks.

Have you read comment #3?  That comment indicates that this problem has nothing to do with the content of an actual e-mail message but moreso about using LDAP for contacts look up and autocompletion.
Comment 7 nospam 2008-07-25 11:19:03 UTC
same here:
I use a Ldap Addressbook and have autocompletion enabled.
I can browse through my mails until i write a new message to a person in my addressbook. After doing so the preview of any mail does not work anymore. Evolution writes to the preview pane: Formatting message...
EVN is still responding to all other actions except: i cant close it! If i go to File->Exit all widgets become inactive. I can't even close the window via metacity. I have to open a console and kill all the Evolution processes.
Disabling autocompletion from Ldap "fixed" that strange behavior...

Evolution shows the message "Formatting message..." wether the person who
send that message is in my adressbook or not.
And: viewing the mail using a double click still works.

Evolution 2.22.3.1
Debian/Lenny, 2.6.25-2-486 #1 Fri Jul 18 17:03:35 UTC 2008 i686 GNU/Linux
Comment 8 Brian J. Murrell 2008-07-25 13:41:46 UTC
When at all is *anyone* on the Evolution team going to address this issue?  This issue has been outstanding for literally years (3 at least I am sure) and I have reported it many many times and I have given detailed descriptions as to how to reproduce it, yet nothing continues to happen.

What exactly does it take to get an over 3 year old bug fixed?
Comment 9 Milan Crha 2008-07-28 13:57:33 UTC
Created attachment 115430 [details] [review]
proposed eds patch

for evolution-data-server;

Please notice change in e_book_new_op, it cannot work before correctly, thus beware. Otherwise, I would really like to change the async API here, even its functions are defined as returning uint, then they return just reverse bool value. I would expect to get the op id, and some cancellation function for the concrete async op, but no, it's not there.

Thus so ugly patch here :( I know, the e_book_cancel_async_op can take quite long time to get right operation, but if someone knows what is doing, then not at all. (I hope.)
Comment 10 Milan Crha 2008-07-28 14:02:17 UTC
Created attachment 115431 [details] [review]
proposed evo patch

for evolution;

I created a fake LDAP address book with some fake address to test this. The disadvantage of this patch is that the EDS is not canceling the operation fully, thus there left threads with "opening ldap book", even evo thinks those has been canceled already.

Otherwise, as I tested it, it works fine, I can change message to other, I can close evo, and the operations is "canceled" as expected from the users point of view.
Comment 11 Srinivasa Ragavan 2008-08-07 04:47:54 UTC
Matthew, can you jump in here to review? Im sort of busy.. and dont want this to wait long. Thanks...
Comment 12 Srinivasa Ragavan 2008-10-17 03:43:25 UTC
Lets push this to stable/trunk. Its useful IMO.
Comment 13 Bharath Acharya 2008-10-17 08:33:36 UTC
EDS patch
Committed to trunk as r9686.
Committed to gnome-2-24 as r9687.

Evo patch
Committed to trunk as r36635.
Committed to gnome-2-24 as r36636.
Comment 14 Matthew Barnes 2008-10-21 20:34:52 UTC
This should not have been committed to gnome-2-24, since it adds new API to libebook that evolution-2.24.1 now needs.
Comment 15 Srinivasa Ragavan 2008-10-22 02:54:47 UTC
Matt, I think its ok. We shouldn't be breaking in stable and we aren't a platform. Its just used within Evo/EDS and its much needed, IMO. I bumped the libebook versions appropriately.
Comment 16 Matthew Barnes 2008-10-24 16:00:05 UTC
These patches have some nasty side-effects.  See bug #557613 for discussion.