Closed
Bug 23330
Opened 25 years ago
Closed 25 years ago
Sending graphical smilies in HTML, but no URL and struct recognition
Categories
(MailNews Core :: Composition, defect, P3)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
FIXED
M13
People
(Reporter: BenB, Assigned: BenB)
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
1. Smilies must not be substitued at HTML send (like now), because the recipient
might not have the images.
2. URLs are not linkified
3. Structured phrases prefs are ignored (always off).
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M13
Assignee | ||
Comment 2•25 years ago
|
||
This should fix it.
Seth,
can you review and check in? Tnx.
Ben, to verify, does this mean that if I use html compose (new msg or reply)
which has a smiley in it and send the msg, when viewed in 5.0, the msg should
have a :-) emoticon in it? And when viewed in 4.x, the smiley should not be an
image? Because right now, I think if the msg is viewed in 4.x, we show a blank
area where the smiley should be.
Assignee | ||
Comment 4•25 years ago
|
||
Lisa, exactly
Thanks. I thought rhp or mscott had a bug on this already? At any rate, we
have this bug to track now!
Assignee | ||
Comment 6•25 years ago
|
||
Neither of them have a bug on then issue.
Comment 7•25 years ago
|
||
testing benb's patch now. if it works, I'll check it in shortly.
Comment 8•25 years ago
|
||
I checked in this patch, but then I backed it out.
there is a problem with this patch.
the section of code that you are patching is wrapped with an #if 0
and there is a comment:
// This part has moved to nsMsgSend.cpp
you may want to ask rhp for where to make the right fix.
Assignee | ||
Comment 9•25 years ago
|
||
Sorry, I forgot bug #22315, I'll create a new patch.
Assignee | ||
Comment 10•25 years ago
|
||
Comment 11•25 years ago
|
||
ok, I'll review and do a quick test, and if all looks good, I'll check it in as
soon as the tree opens.
Comment 12•25 years ago
|
||
ok, it looks good, but I have questions / comments.
1) we always convert urls on send. at first, this didn't make sense, since
mozilla, when viewing a message, would convert urls to html links. but doing it
this way is good, for other mail applications who don't do the conversion from
url to href html. one could argue that we shouldn't do this, since
a) it modifies the original message. I don't mind modifying messages from
rfc/822 to html at display time, but modifying on send is a little scary.
b) converting urls hrefs at display time is a "feature" of mozilla, if another
mailer doesn't do it, that would be a reason to switch to mozilla.
2) we never convert emoticons on send, which makes sense, since other mailers
won't have the chrome:// urls to our gifs. we do this on decoding. this is the
original bug, and appears fixed now.
3) based on prefs, we convert structs to html. again, see point 1. we are
modifying
4) the ui for the convert struct pref has to be changed to reflect that the
pref is not only a view message pref, but a send pref.
I'll check benb's changes in, since it fixes the bug, but I have reservations
about changing urls or structs at send time.
I'll open a new bug on that for discussion.
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 13•25 years ago
|
||
checked in. marking fixed.
I also took the liberty of removing the dead code from nsMsgSendPart.cpp
Assignee | ||
Comment 14•25 years ago
|
||
Bug #23582 is about the new prefs.
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•