Closed Bug 761855 Opened 13 years ago Closed 13 years ago

"Feed Message Body As" preference is ineffective

Categories

(Thunderbird :: Message Reader UI, defect)

13 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 458606

People

(Reporter: cuviper, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0 Build ID: 20120601045813 Steps to reproduce: To start, while While viewing an item in an RSS subscription folder, change the setting View -> Feed Message Body As -> { Original HTML, Simple HTML, Plain Text }. Actual results: Nothing. The message view remains the same regardless of that setting. Expected results: Should be able to see a difference between HTML and Plain Text modes.
I discovered that I could get the desired result by going to a mail message, changing View -> Message Body As, then go back to the RSS item. The difference seems to be between mailnews.display.html_as and rss.display.html_as. Which setting changes depends on what you're currently looking at, but only the mailnews version has any effect, on both types. I can confirm this with manual tweaking in about:config too. (Requires clicking away from the item and back to effect changes.) Altering rss.display.html_as does nothing, but altering mailnews.display.html_as has the desired effect even on rss items.
OS: Windows 7 → Linux
As you can see in the code here: http://mxr.mozilla.org/comm-central/source/mail/base/content/mailWindowOverlay.js#423 the rss.display.html_as pref is used in the menu item depending on if the message is a feed msg. But according to this: http://mxr.mozilla.org/comm-central/search?string=rss.display.html_as&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central it does not seem to be read at any relevant spot when rendering a message (e.g. in mime as mailnews.display.html_as is: http://mxr.mozilla.org/comm-central/search?string=mailnews.display.html_as&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central) . Either this belongs into Message reader UI or in Mime component .
Component: General → Message Reader UI
QA Contact: general → message-reader
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.