Closed
Bug 873872
Opened 11 years ago
Closed 11 years ago
Feed messages with image attachments and Display Inline set should show the remote image
Categories
(Thunderbird :: Message Reader UI, defect)
Thunderbird
Message Reader UI
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 24.0
People
(Reporter: alta88, Assigned: alta88)
Details
Attachments
(1 file, 3 obsolete files)
2.42 KB,
patch
|
alta88
:
review+
|
Details | Diff | Splinter Review |
The mime parser creates an <img> element with a src of a mailbox:// url, which doesn't apply as feed attachments are always remote links and there's nothing valid in that there part to stream. The src should be set with the link url.
Assignee: nobody → alta88
Attachment #751503 -
Flags: review?(mkmelin+mozilla)
Attachment #751503 -
Flags: feedback?(mconley)
Also, I had expected Filelink image attachments to also display inline. Is there a reason they don't (unless it's a business agreement reason). It would be easy enough to extract a X-Mozilla-Cloud-Part url and do the same..
robustness tweak for GlodaUtils.PART_RE regex failing to take into account a ? in a url.
Attachment #751503 -
Attachment is obsolete: true
Attachment #751503 -
Flags: review?(mkmelin+mozilla)
Attachment #751503 -
Flags: feedback?(mconley)
Attachment #751722 -
Flags: review?(mkmelin+mozilla)
Attachment #751722 -
Flags: feedback?(mconley)
Since file:// urls can't be loaded in a messagepane doc, I use these; a recent guardian item had 19 media (.jpg) attachments: http://feeds.guardian.co.uk/theguardian/sport/rss http://news.nationalgeographic.com/index.rss
tweak to ensure shrink to fit works nicely.
Attachment #751722 -
Attachment is obsolete: true
Attachment #751722 -
Flags: review?(mkmelin+mozilla)
Attachment #751722 -
Flags: feedback?(mconley)
Attachment #752220 -
Flags: review?(mkmelin+mozilla)
Attachment #752220 -
Flags: feedback?(mconley)
Comment 7•11 years ago
|
||
Comment on attachment 752220 [details] [diff] [review] shrinktofit update Review of attachment 752220 [details] [diff] [review]: ----------------------------------------------------------------- Works for me. r=mkmelin ::: mail/base/content/msgHdrViewOverlay.js @@ +684,5 @@ > if (!currentAttachments.length && this.mSaveHdr) > this.mSaveHdr.markHasAttachments(false); > + > + let browser = getBrowser(); > + let inlineAttachments = Services.prefs.getBoolPref("mail.inline_attachments"); you could just inline inlineAttachments since it's used only once @@ +698,5 @@ > + break; > + } > + else { > + // GlodaUtils.PART_RE fails to extract a partID for urls with > + // an embedded ?, at least. So, check the filename too. Frontend please don't double space for new sentences
Attachment #752220 -
Flags: review?(mkmelin+mozilla) → review+
updated for comments.
Attachment #752220 -
Attachment is obsolete: true
Attachment #752220 -
Flags: feedback?(mconley)
Attachment #753283 -
Flags: review+
Keywords: checkin-needed
Comment 9•11 years ago
|
||
https://hg.mozilla.org/comm-central/rev/5b57f54e2cb0
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 24.0
You need to log in
before you can comment on or make changes to this bug.
Description
•