Open Bug 294763 Opened 20 years ago Updated 2 years ago

Provide size threshold for Display Inline Attachments

Categories

(MailNews Core :: Attachments, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: ndurner, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Attachments are often displayed as part of the mail. This is painful if it is a large binary file which cannot be displayed by TB anyway. Opening a mail with a 20 MB attachment takes a while to open. Reproducible: Always Steps to Reproduce: 1. Create a file with the content "Hello" and rename it to test.dmp 2. Send test.dmp as attachment Actual Results: The mail I received contained "Hello" at the end of the message. Expected Results: TB should check the file type (extension, actual content) and/or the size of the attachment before it gets displayed. Binary attachments or attachments greater than a few KB (500?) should not be displayed inline.
Attached file Testcase
View | display attachments inline is a toggle that lets you choose not to display attachments inline...
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Well, this is just a workaround and not a solution. It's okay if images, raw text etc. are displayed inline if they aren't 1) too big 2) not really displayable Inlining is a great feature in general, so I don't want to turn it off entirely just because I receive some big attachment every now and then.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
This is a reasonable idea, particularly for IMAP over dialup. I assume this is primarily a problem for images, as the other types that are displayed inline (text, HTML and forwarded messages) tend to be much much smaller. Note that this feature would not apply to HTML mail that (e.g.) includes an <img> tag referencing a 20MB image. I would say, however, that better support for suppressing inline display for Content-Disposition:attachment (bug 147461) should be a higher priority. Then people who receive a message with a 20MB JPEG marked 'inline' can complain to the person who sent them the message, rather than to Mozilla. :)
Assignee: mscott → nobody
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Mail Window Front End → MailNews: Attachments
Ever confirmed: true
OS: Windows XP → All
Product: Thunderbird → Core
Hardware: PC → All
Summary: Attachments are displayed as part of the mail (inline) → Provide size threshold for Display Inline Attachments
Version: unspecified → Trunk
QA Contact: attachments
Product: Core → MailNews Core
I second this... Now that bug 345832 is being worked on, this one dovetails in quite nicely with that solution. We really need the ability to allow small graphics, such as those used for email signatures and the like, to be viewed inline, but not large ones. A sensible default (100K?), and an about:config pref that can be defined to over-ride it would be acceptable to me.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: