Control showing text attachments inline in Thunderbird message display: Implement pref mail.inline_attachments.text = false
Categories
(MailNews Core :: MIME, enhancement)
Tracking
(Not tracked)
People
(Reporter: aceman, Assigned: aceman)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
|
10.32 KB,
patch
|
aceman
:
review+
|
Details | Diff | Splinter Review |
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
This works for me.
OK, test mailnews/mime/test/unit/test_message_attachment.js needs update for this, but we can test behaviour with both values of the pref now.
Comment 6•6 years ago
|
||
Sorry, leftover debugging. Now with fixed and improved tests.
So with this patch and having the "show attachments" inline option set, attachmed images will still be displayed inline in the message body, but text attachments (e.g. .txt or .csv) will not be. I have intentionally kept HTML attachments displaying as those probably aren't used as data exchange with megabyte-sized attachment.
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
| Assignee | ||
Comment 10•6 years ago
|
||
Sure, we can do that until HTML pages are displayed properly (e.g. confined in some iframe to not affect the msg body).
Comment 11•6 years ago
|
||
| Assignee | ||
Comment 12•6 years ago
|
||
Yes, thanks.
Comment 13•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/43c9c600cf84
add a pref to disallow showing text attachments inline. r=mkmelin
Updated•6 years ago
|
Comment 14•6 years ago
|
||
FYI, I mention this bug here: Bug 184869 comment 16. I don't see that the fix for this bug is causing a problem. With or without this fix, the two text sub-parts of Bug 184869 don't display.
Updated•5 years ago
|
Description
•