Open Bug 34941 Opened 24 years ago Updated 2 years ago

Quote plain text source in plain text composer

Categories

(MailNews Core :: Composition, defect, P3)

Tracking

(Not tracked)

People

(Reporter: BenB, Unassigned)

Details

(Keywords: perf)

If you reply to a plain text mail with the plain text composer, it seems like
the quoted msg is first transferred to HTML and then back to plain text. The
source should be directly passed to the new Insert*Quotation interfaces, which
can take plain text.
Status: NEW → ASSIGNED
If I fix it for M18, will this go in, i.e. can somebody review that and check it

in then? Or is this considered "feature work" and thus has to be fixed for M16?

I propably won't have time to fix it for M16.

Target Milestone: --- → M18
mBody in nsMsgCompose already contains HTML, not? ducarroz, what is the data
path? Where is the msg converted to HTML (i.e. ran through libmime)?
have to cut :(.
Target Milestone: M18 → M20
Target Milestone: M20 → mozilla0.9.1
Changing personal priorities. Giving away most of my bugs :-( (reassigning to
default owner).

I will still track these bugs closely. If you need my input, feel free to ask me.

New owner: Please do *not* close these bugs (as WONTFIX or whatever you may
find) unless they are fixed. Rather, reassign to <nobody@mozilla.org>, if you
don't want to work on them.
Assignee: mozilla → ducarroz
Status: ASSIGNED → NEW
QA Contact: lchiang → esther
Target Milestone: mozilla0.9.1 → ---
Accepting
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
adding perf keyword because if this is true and we have a way to fix it, it
sounds like it could speed up plaintext reply.  If what I'm saying is incorrect,
let me know.
Keywords: perf
Sounds correct, but I have no idea, how much time it would save.

However, somebody braught up an interesting point: What happens with Quoted
Printable? I am not sure, but I think that libmime is the only place which can
decode QP, and libmime always converts to HTML. IF that is true, it would make
sense (gives those contraints) to convert to HTML and back to plaintext, because
if we quote QP directly, we get messed up umlauts and sometimes lineendings.

Does anybody know more? I wish, rhp were still with us...
I looked at this problem and effectivily, as Mime internally is working in HTML,
we do extra convertion. I tried to force mime to output plain text but it did
not work. I don't think we can do much without a major change in Mime.

Before going further in this direction, we need to have some metrics to see if
we really have a major perf problem here.

Moving to 1.0.1
Target Milestone: mozilla0.9.7 → mozilla1.0.1
J-F, I think the idea of this bug was to completely circumvent libmime. Dunno,
how feasible that is due to charsets/lineendings, though.
Product: MailNews → Core
Ben Bucksch, is there any reason for this bug to still be open?
Yes, same reason as when it got filed, if not more. There are a few edge-cases
(I forgot specifics) where the current way causes bugs or unfortunate behaviour.
Assignee: ducarroz → nobody
Status: ASSIGNED → NEW
QA Contact: pmock → composition
Product: Core → MailNews Core
Target Milestone: mozilla1.0.1 → ---
Severity: normal → minor
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.