Bug 1187327 - PostScript email attachments not showing in message view UI
Summary: PostScript email attachments not showing in message view UI
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 21
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1209783 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-29 19:09 UTC by Peter Williams
Modified: 2015-04-09 07:08 UTC (History)
6 users (show)

Fixed In Version: evolution-3.13.90
Clone Of:
Environment:
Last Closed: 2015-02-09 17:11:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Berkeley mbox with message triggering the problem (37.57 KB, application/mbox)
2015-02-09 13:53 UTC, Peter Williams
no flags Details

Description Peter Williams 2015-01-29 19:09:34 UTC
Description of problem: When I read an email with one or more attached PostScript files, the attachments aren't shown in the UI -- it's as if the email had no attachments at all. The only indication is that such emails *do* have paperclip icons in the message list. If I read emails like this using other programs (e.g., my webmail client), the attachments show up as normal. Attachments of other file formats (PDF, text) show up as normal.

I didn't have this problem until I upgraded to Fedora 21 from Fedora 20.


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


How reproducible: Every time.

Comment 1 Milan Crha 2015-02-04 15:23:40 UTC
Thanks for a bug report. Could you provide a message structure, please? I do not want to ask for a particular test message, due to it containing private information for sure. The message structure is divided by headers like these:

--_002_1421693611313313camelnowhere_
Content-Type: text/calendar; name="calendar.ics.org"
Content-Description: calendar.ics.org
Content-Disposition: attachment; filename="calendar.ics.org"; size=18255; creation-date="Mon, 19 Jan 2015 18:53:31 GMT"; modification-date="Mon, 19 Jan 2015 18:53:31 GMT"
Content-ID: <FD9B82CF6FCDDF4DB9E473AC0A2CCDE2>
Content-Transfer-Encoding: base64

which also instructs evolution how to show that particular part. Please view the message source (Ctrl+U) and search for Content-Type headers, then copy each similar set as in the example above (not all of them are always there) which will provide the message structure.

Thanks in advance.

Comment 2 Peter Williams 2015-02-09 13:53:03 UTC
Created attachment 989692 [details]
Berkeley mbox with message triggering the problem

Here's a sample message that triggers the problem for me, generated and sent using Evolution itself.

I'll note that I tried a sample using an *encapsulated* PostScript (EPS) file and the problem didn't happen. So whatever triggers it must be pretty narrow.

Comment 3 Milan Crha 2015-02-09 16:45:47 UTC
Thanks for the test message. I didn't expect it being also evolution, as a generator, which might not be properly shown too. I'll test it first the next time. In any case, I see what you described. The message has an attachment icon, but the preview doesn't show it at all.

Comment 4 Milan Crha 2015-02-09 17:11:53 UTC
The application/postscript mime type had been handled by the text-hightlight
module, but thinking of it, it doesn't make much sense, because most users
would prefer to see the content rather in a postscript viewer, than
the source of the postscript file, thus this change removes the mime type
from the text-hightlight module. There had been also issues about thinking
that certain parts had been handled, while they did not, which this change
fixes as well.

Created commit a4af2d6 in evo master (3.13.90+) [1]

[1] https://git.gnome.org/browse/evolution/commit/?id=a4af2d6

Comment 5 Bjoern Buerger 2015-03-26 12:02:07 UTC
Just to verify this: Is this Bug completely fixed or is it only fixed for specific filetypes?

IMO this is a _serious_ Bug, since the existance of an attachment has to be shown to the user at ANY time, regardless of any preview issues. Otherwise the user doesn't even know that there was something else attached. 

Example: 

http://public.pengutronix.de/tmp/20150326_Evolution_Debug/Evolution.png

In this case, only two of three files are shown, whereas Thunderbird 
and Mutt users see the full list of attachments:

http://public.pengutronix.de/tmp/20150326_Evolution_Debug/thunderbird.png
http://public.pengutronix.de/tmp/20150326_Evolution_Debug/mutt.png

This Bug renders Evolution unusable for any Office Usecase.

Reproduced with 
Name        : evolution
Arch        : x86_64
Version     : 3.12.11
Release     : 1.fc21

Comment 6 Milan Crha 2015-04-07 06:31:45 UTC
Only the last part of the commit mentioned at comment #4 was specific to postscript attachments, the rest was more generic and as such would achieve your expectations. Evolution renumbered its releases meanwhile, the current 3.16.0, which will be part of Fedora 22, contains the fix.

Comment 7 Milan Crha 2015-04-09 07:08:48 UTC
*** Bug 1209783 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.