Open Bug 1826827 Opened 2 years ago Updated 1 year ago

Renderable Content-Type: video/mp4 attachments aren't always rendered

Categories

(Thunderbird :: Untriaged, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mi+mozilla, Unassigned)

Details

Steps to reproduce:

Viewing a multi-part e-mail with the following structure:

This is a multi-part message in MIME format.
--------------uKwwt6bRNrUun9TEoFgJmAEF
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

--------------uKwwt6bRNrUun9TEoFgJmAEF
Content-Type: video/mp4; name="1680252123900947.mp4"
Content-Disposition: attachment; filename="1680252123900947.mp4"
Content-Transfer-Encoding: base64

AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAApmLbW9vdgAAAGxtdmhkAAAAAAAA
[...]

tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLw=
--------------uKwwt6bRNrUun9TEoFgJmAEF
Content-Type: text/plain; charset=UTF-8; name="Attached Message Part"
Content-Disposition: attachment; filename="Attached Message Part"
Content-Transfer-Encoding: base64

DQoNCtCd0LDQtNGW0YHQu9Cw0L3QviDQtyDQvNC+0LHRltC70YzQvdC+0LPQviDQt9Cw0YHQ
vtCx0YM=
--------------uKwwt6bRNrUun9TEoFgJmAEF--

Actual results:

I'm seeing a blank -- empty -- message. Presumably, that's because the first of the three parts really is blank.

Expected results:

But why is the video (second part) not shown -- the way Firefox would show it using the built-in video-player?

Likewise, why is the little text in the third part not shown? I can download these two attachments -- and view them with external tools, but why not inside Thunderbird itself?

Is it because the 2nd and 3rd parts have the Content-Disposition headers -- with filenames? I should still be able to override that -- and view the content right there in the message pane. And I do have the "View Attachments Inline" checkbox already checked -- certainly in THIS case the sender-prescribed "Content-Disposition" should not trump my own choice.

Unless Thunderbird really cannot render the specified MIME-type, the attachments should be shown inline, when "Attachments Inline" is checked.

Status: NEW → UNCONFIRMED
Ever confirmed: false

Mikhail, does the original problem still exist for you with version 115?

Flags: needinfo?(mi+mozilla)

Mikhail, does the original problem still exist for you with version 115?

Yes, the attachment of type video is not shown -- it can only be downloaded and passed to the configured video-player. For example, here is the screenshot of a message -- in a separate TB window of its own: https://imgur.com/RR1Qin2.png

This is Thunderbird 115.6.0.

Flags: needinfo?(mi+mozilla)
Summary: Renderable attachments aren't always rendered → Renderable Content-Type: video/mp4 attachments aren't always rendered
You need to log in before you can comment on or make changes to this bug.