Bug 4464 - Some messages never display attachment flag or inline attachment
Summary: Some messages never display attachment flag or inline attachment
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI/Message List (show other bugs)
Version: 3.99.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2021-03-26 15:30 UTC by Pierre Fortin
Modified: 2021-03-27 10:00 UTC (History)
0 users

See Also:


Attachments
message with redactions (5.73 KB, message/rfc822)
2021-03-26 15:30 UTC, Pierre Fortin
Details
msg with a png image (not the actual original) (28.82 KB, message/rfc822)
2021-03-26 17:12 UTC, Pierre Fortin
Details
Screen shot. (139.95 KB, image/png)
2021-03-26 17:13 UTC, Pierre Fortin
Details
Screen shot of Sylpheed handling image (134.93 KB, image/png)
2021-03-27 09:33 UTC, Pierre Fortin
Details

Description Pierre Fortin 2021-03-26 15:30:40 UTC
Created attachment 2192 [details]
message with redactions

version 3.99.0git63
Received a message with a photo attached. Message view shows that it is attached; but message list never shows the attachment flag.  Also, unlike messages with the flag, this message does not display the photo or any other indication within the message that a photo is attached.  After requesting a resend, I noticed that there appeared to be no photo again; but with closer examination, I noticed the icon in the right column.
Unsure if this was an Apple Mail or CM issue, I checked both messages via the server's web interface which shows the attachment flags and inline photo just fine.
Comment 1 Pierre Fortin 2021-03-26 16:02:29 UTC
K9 on my phone also displays flag and inline photo correctly.
Comment 2 Paul 2021-03-26 16:27:36 UTC
Your example shows that there is an image attached, but of course in your example it cn't be shown because your editing of the message file has removed the actual base64'ed image data. Can you share the actual message file?
Comment 3 Paul 2021-03-26 16:35:24 UTC
What html viewer plugin are you using to display the html part?
Comment 4 Pierre Fortin 2021-03-26 17:12:25 UTC
Created attachment 2193 [details]
msg with a png image (not the actual original)

I don't have permission to pass on the exact message.  This one has a PNG image that illustrates the problem. I only replaced the base64 content and changed the image name; all else is original.
Comment 5 Pierre Fortin 2021-03-26 17:13:44 UTC
Created attachment 2194 [details]
Screen shot.

This is how it displays....
Comment 6 Pierre Fortin 2021-03-26 17:15:19 UTC
I don't use any HTML plugin at all. I gave up on them and simply use Firefox via "l" key.
Comment 7 Paul 2021-03-26 17:17:37 UTC
The image is displayed inline by having a cid: reference in the html part.
If you load the html part using either the Fancy or LiteHTML viewer plugins you will see the image inline. (The dillo plugin does not support cid: referenced images)

The image is not displayed in the plain message view because it is "Content-Disposition: inline;".

You can display the image by clicking on it's MIME icon.
Comment 8 Pierre Fortin 2021-03-26 18:02:44 UTC
The reason I missed the image in both the original and resend was due to 2 of 3 clues missing:
- no attachment flag
- no image or "[Sample.png image/png (23721 bytes)]" (guessing at format)
until I noticed the MIME icon as a last resort.

I gave up on the HTML plugins for various reasons; it's much easier for me to hit the "l" key and get a fully functional browser which I often need to use anyway.

Can we change this to enhancement since other mailers (LuxSci webmail and K9 on Android) display an attachment icon and the image inline? I have no other problems seeing attachment icons and images inline without HTML plugins; this is the first time I've seen this issue. Initially, I wondered if Apple Mail was violating RFCs; but the other MUAs work as expected.
Comment 9 Paul 2021-03-26 18:24:14 UTC
If you mean display an attachment icon in the MIME view, there is a hidden preference, 'show_inline_attachments' which is on by default. If you are not seeing the MIME icon it is because you turned this off.
Comment 10 Pierre Fortin 2021-03-26 18:42:00 UTC
It's the:
1) paper-clip icon that is missing on these messages, and
2) one of:

    [Sample.png image/png (23721 bytes)]

or:
    [Sample.png image/png (23721 bytes)]
    +----------+
    |  image   |
    +----------+

that are missing.  Both of these are normally visible on other messages. This is the first time I've seen these missing -- maybe due to how Apple Mail formats such messages which may or may not be RFC compliant... though other MUAs display as expected.

The MIME icon (right of message) is there (see screenshot above).  

I never changed the setting which reads:
    show_inline_attachments=1

HTH
Comment 11 Paul 2021-03-26 18:50:53 UTC
The attachment icon in the message list has never been shown for inline attachments.
Comment 12 Paul 2021-03-26 18:51:35 UTC
I should add, this wasn't because it was overlooked, it was a design decision.
Comment 13 Pierre Fortin 2021-03-27 09:33:50 UTC
Created attachment 2195 [details]
Screen shot of Sylpheed handling image

For completeness: Although Sylpheed doesn't appear to have a paper-clip icon to indicate attachments; it does handle these emails as expected. Unchecking "Display images as inline" hides the image and moves the image dropdown selector from just above the image to just below the headers.
Comment 14 Paul 2021-03-27 10:00:05 UTC
that's completely irrelevant

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