Bug 605320

Summary: Messages with attachments do not show the attachment icon in the messages pane
Product: Red Hat Enterprise Linux 6 Reporter: Jay Turner <jturner>
Component: evolution-data-serverAssignee: Matthew Barnes <mbarnes>
Status: CLOSED CURRENTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: mcrha, srevivo
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: evolution-2.28.3-8.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-15 16:01:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Redacted problem message none

Description Jay Turner 2010-06-17 16:11:39 UTC
Created attachment 424870 [details]
Redacted problem message

Description of problem:
I'm running evolution-2.28.3-5.el6.x86_64 and imap, pulling all mail down from the server and filtering it locally.  When browsing the local folders, there will sometimes be a message which has attachments, but does not show the attachment icon in the message pane (no little paperclip.)  In addition, if I perform an advanced search, checking for all messages where an attachment exists, these messages will not be included in the listing.

Version-Release number of selected component (if applicable):
2.28.3-5.el6.x86_64

How reproducible:
Always for these messages . . . the attachment icon never appears.

Steps to Reproduce:
1. Have one of these messages in a mailbox
2.
3.
  
Actual results:

Expected results:
The paperclip icon should appear and the messages should be found when searching for all messages were an attachment exists.

Additional info:

Comment 1 Jay Turner 2010-06-17 16:13:11 UTC
Additional note.  I "redirected" this message to someone using evolution-2.30.1-8.fc13.x86_64 and the paperclip icon appears as expected.  Also in trolling through his mailbox, we were unable to find a message with an attachment which was missing the icon.

Comment 2 RHEL Program Management 2010-06-17 16:13:26 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Milan Crha 2010-06-21 11:34:37 UTC
Thanks for a bug report. This sounds like [1], where is also attached a patch.

Note whether evolution UI shows an attachment in the message preview depends on your preferences for HTML messages, as "Only ever show plain text" produces also an attachment in the preview pane, though there is none real attachment. It's not this case, I just wanted to mention it here.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=550622

Comment 7 Matthew Barnes 2010-06-23 23:26:26 UTC
Upstream patch applied to evolution-data-server-2.28.3-7.el6.

Comment 8 Jay Turner 2010-06-28 10:37:24 UTC
After updating to evolution-2.28.3-7.el6 and evolution-data-server-2.28.3-7.el6, I'm still seeing the same behavior (a number of messages which have attachments but are missing the attachment icon.)  Also wanted to note that the messages I'm seeing this with are not signed therefore I do not believe are impacted by the proposed solution outlined in comment 4.  Moving back to assigned.

Comment 11 Milan Crha 2010-06-28 17:49:24 UTC
The change, unfortunately, doesn't fix already downloaded messages, thus being it imap you could delete the local cached message (in ~/.evolution/mail/imap/<account>) and the next start and all refetch it should be fixed, when you select the message. But as you have it in a local folder, I suppose only moving a message to a different folder and back may fix this.

Comment 12 Jay Turner 2010-06-28 19:30:25 UTC
Maybe I'm just stupid, but neither moving the message between folders, nor "bouncing" the message to myself (and thus making it a new message) causes the attachment icon to appear.

Comment 13 Milan Crha 2010-06-29 08:13:57 UTC
Ah, I see it now, your message has a content-disposition as "inline", whereas camel checks for "attachment" disposition only. The fix for this is in:
https://bugzilla.gnome.org/show_bug.cgi?id=604305

And thinking of my suggestion to move messages between local folders, I'm not 100% sure whether it'll help, but with a bit of luck... Anyway, including also the second patch will fix the issue finally, at least for newly downloaded messages. I suggest to devel-ack this.

Comment 15 Milan Crha 2010-06-29 09:49:44 UTC
I just built evolution-data-server-2.28.3-8.el6 with an updated patch for this bug.