Bug in Email Client: attachment not shown

REPRODUCIBILITY (% or how often): 100%
BUILD ID: 3.4.0.22
HARDWARE (Jolla1, Tablet, XA2,…): Xperia X, Xperia XA2
UI LANGUAGE:German
REGRESSION: (compared to previous public release: Yes, No, ?): Do not know …

DESCRIPTION:

Email send from an Android device, emails contains a PDF File shared by Word for Android. The attachment is not shown in the SFOS Email Client. With Thunderbird, the attachment is there
PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Receive Email form Android device contning an attachment that is shared via Word for Android
  2. Open Email with SFOS Email client

EXPECTED RESULT:

attachement should be shown

ACTUAL RESULT:

no attachment shown

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

These are excerpts from the Email source code referring to the attachment (as produced by thunderbird):

MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_10_54156578.1601623095229"

------=_Part_11_42349491.1601623095229
Content-Type: application/pdf; name=“Elektrisches Feld.pdf”
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=“Elektrisches Feld.pdf”
Content-ID: <eu.faircode.email.90>

I think this is the reason; “inline” should not be used for attachments. It should be displayed, well, inline, like images embedded in HTML mail. Still, I think that reasonable workaround for filetypes unknown to mail client would be to display them as attachments, even ones not declared as attachments.

4 Likes