featurectomy - saving messages as html



MailNews Core
17 years ago
7 years ago


(Reporter: John G. Myers, Unassigned)


(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)



(1 attachment)



17 years ago
Removing all the special-case code for saving messages as HTML files.

The usefulness of this feature is outweighed by its complexity and the fact that 
its i18n aspects are broken.

Comment 1

17 years ago
Created attachment 25410 [details] [diff] [review]

Comment 2

17 years ago
ducarroz - please review
Keywords: review

Comment 3

17 years ago
Patch also removes some unreferenced properties.  Also, on linux the file picker
had *.eml listed twice "Mail Files (*.eml) (*.eml)"

Comment 4

17 years ago
Suggest WONTFIX.

This is a useful feature. If it's broken or written badly, then fix it or leave
it. But don't remove functionality just because you dislike some |if| statements.

If you look at the patch, you save only a few lines. Most of them are in the one
if statement around the conversion in the text converters it's the hack for bug
50413. But: WHy did we take the time to fix that bug (for JPN only) at all, if
we now remove that functinality altogether?

In no case remove the plainHTML mode of the text converters.

Comment 5

17 years ago
Note: This is also currently discussed on .mail-news, in thread "Saving messages
as html" <news://news.mozilla.org/3A888B84.D59F2F46@netscape.com>.
John, please hold on this patch. I am still analyzing the whole mime and at this
stage it would be to early to start cutting down like that in mime. My personal
dream is to rewrite mime using reall C++ architecture and using Unicode as
standart api format but we have too way much other stuff more important to do...


17 years ago
Blocks: 74424

Comment 7

17 years ago
John, this is the only (non-plaintext) mode that outputs the whole msg in a
format that is understood by non-Gecko renderes. If you remove this mode,
Mailnews will suddenly depend on full Gecko. That's too high a price for these
few lines of code.

Comment 8

17 years ago
This is a policy issue.  Assigning to module owner.
Assignee: jgmyers → ducarroz


17 years ago
Target Milestone: --- → Future
Product: MailNews → Core
bienvenu, is this feature even in trunk at this stage or can we close this bug?

Comment 10

10 years ago
this feature is still there - select a message, do a file | save as file, and then change the type to .html, and we'll create an html file. I've found this handy in the past, so I wouldn't personally vote for removing it - it doesn't seem like a big enough win in the code cleanup department.
Wow, that's what I call an undiscoverable feature.  I don't know of any other program that changes the format of the file written based on how people tweak the save file dialog entry.

I suspect no one who didn't look at the code or troll through bugzilla knows about it. 

If we're going to keep it, I think we should think about whether there's a better UI for it.  

Comment 12

10 years ago
Firefox behaves the same way :-)

Comment 13

10 years ago
As does IE - I agree it's not very user friendly but it seems relatively standard on Windows.
Searching for news://news.mozilla.org/3A888B84.D59F2F46@netscape.com using advanced search on Google Groups doesn't show anything.  What are the use cases for this feature, anyway?
I take it back.  i hadn't noticed the file format popup.


10 years ago
Assignee: ducarroz → nobody
QA Contact: esther → mime


10 years ago
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.