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 537088 - Message headers aren't displayed for some e-mails
Message headers aren't displayed for some e-mails
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 537989 546768 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-06-07 09:14 UTC by Jeroen Hoek
Modified: 2008-08-09 16:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
An example of a message that doesn't show its message headers (11.33 KB, text/plain)
2008-06-07 09:17 UTC, Jeroen Hoek
  Details
Screenshot of the mail preview pane with no headers (40.67 KB, image/png)
2008-06-07 09:22 UTC, Jeroen Hoek
  Details
screenshot with example@example.com From: header (26.71 KB, image/png)
2008-08-01 13:49 UTC, Paul Bolle
  Details
break out of a loop in efh_fromat_headers() insted of returning (1.12 KB, patch)
2008-08-01 15:07 UTC, Paul Bolle
committed Details | Review

Description Jeroen Hoek 2008-06-07 09:14:48 UTC
Please describe the problem:
Occasionally, some e-mails are shown without their headers (From, Subject, and such) in the mail preview pane.

I am using Evolution as a mail client for GMail through IMAP.

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Jeroen Hoek 2008-06-07 09:17:57 UTC
Created attachment 112306 [details]
An example of a message that doesn't show its message headers

This general notice was sent to clients of Japan's Mitsubishi Tokyo Bank (no personal information but my e-mail address is included).
Comment 2 Jeroen Hoek 2008-06-07 09:22:47 UTC
Created attachment 112307 [details]
Screenshot of the mail preview pane with no headers

A screenshot of the mail preview pane for the same e-mail mentioned above.
Comment 3 Srinivasa Ragavan 2008-06-09 04:43:09 UTC
dupe of 537088 ?
Comment 4 Jeroen Hoek 2008-06-09 09:11:56 UTC
(In reply to comment #3)
> dupe of 537088 ?

That is awfully recursive and intriguingly philosophical at the same time.
Comment 5 Philip Van Hoof 2008-06-09 09:58:48 UTC
He meant Bug #536457 :-)
Comment 6 Paul Bolle 2008-08-01 13:49:34 UTC
Created attachment 115681 [details]
screenshot with example@example.com From: header

0) Can confirm this.

1) Seems to be caused by an empty "From:" header. Adding "example@example.com" to the From: header will make the message display as expected (I guess, not being able to actually read the message).

2) Could the submitter confirm this? If so, the bug should probably be relabeled.
Comment 7 Paul Bolle 2008-08-01 14:19:28 UTC
(In reply to comment #6) 
> 2) Could the submitter confirm this? If so, the bug should probably be
> relabeled.

Make that: ... should be marked a duplicate of bug #537989 (or vice versa).

Comment 8 Paul Bolle 2008-08-01 15:07:04 UTC
Created attachment 115691 [details] [review]
break out of a loop in efh_fromat_headers() insted of returning

This seems to be caused by efh_format_headers(): it returns when it runs into an empty From: or Sender: header. It should just break form that specific lop.

Patch against trunk. Tested on 2.22.3.
Comment 9 Paul Bolle 2008-08-01 19:04:49 UTC
(In reply to comment #6)
> 2) Could the submitter confirm this?

Please forget this. Not needed anymore.
Comment 10 Matthew Barnes 2008-08-01 19:09:34 UTC
*** Bug 537989 has been marked as a duplicate of this bug. ***
Comment 11 Srinivasa Ragavan 2008-08-04 03:19:10 UTC
COmmit to trunk.
Comment 12 Suman Manjunath 2008-08-04 03:28:19 UTC
Patch committed to SVN trunk as r35896
http://svn.gnome.org/viewvc/evolution?view=revision&revision=35896
Comment 13 Matthew Barnes 2008-08-07 16:22:04 UTC
*** Bug 546768 has been marked as a duplicate of this bug. ***