Closed
Bug 100036
Opened 24 years ago
Closed 24 years ago
Changing accounts during composition changes end of message text
Categories
(MailNews Core :: Composition, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: nigel.jewell, Assigned: bugzilla)
Details
(Keywords: dataloss, Whiteboard: have fix)
Attachments
(1 file)
|
1.41 KB,
patch
|
cavin
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Changing the account whilst composing a message removes the last couple of lines
of the message text. This is probably due to the signature changing and the
replacement failing.
Comment 1•24 years ago
|
||
Build 2001-09-19-04: WinMe
Setting this to New because I have been able to duplicate parts of what is reported.
While composing a new message that has a signature attached, I changed the
identity in the From field and noticed that some portions of the text
disappeared (i.e. I number the page from 1-20 and the top part of nubme 3
disappeard). After sending/receiving the text was there.
1.After resizing the new message/compose window does the text reappear?
2.After sending /receiving the message, does the text display?
3. What type of signature file do you have (plain or html text, how many lines)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•24 years ago
|
||
nominating. If this is happening and the user doesn't realize it happened then
they will send an incomplete message. If the text is still there when it is
received then it's probably not as severe a bug.
Updated•24 years ago
|
Updated•24 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.9
| Assignee | ||
Comment 3•24 years ago
|
||
bad, bad, bad. I thing we have already another bug related to signature
replacement problem which should be the same cause.
Accepting
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•24 years ago
|
||
Looks like an window update problem! The only way the text could be deleted is
if you add text after the signature. Fix for bug 61829 will fix that (in HTML
mode only).
Ninoschka, are you still able to reproduce this problem?
| Reporter | ||
Comment 5•24 years ago
|
||
I still have this problem (using a Linux i386 build > 0.9.7). It is varied -
but "appears" to delete the entire paragraph that is immediately before a
signature indicator. So:
Text
Name
--
Signature
Becomes:
Text
--
Signature
| Reporter | ||
Comment 6•24 years ago
|
||
Further information in response to Ninoschka Baca:
Altering the window size/position has no effect. The text has been removed
from the document, not just vanished due to a display bug. It has to be
retyped.
The text has gone, so sending, receiving, saving etc does not help.
The signature file is plain text.
| Assignee | ||
Comment 7•24 years ago
|
||
your signature in plain text but are you using a plain text or an HTML compose
window?
| Reporter | ||
Comment 8•24 years ago
|
||
Sorry - should have said; Plain text compose window.
The signature file is a single line.
| Assignee | ||
Comment 9•24 years ago
|
||
ok, I found the problem. When the document looks like that:
#1<text: message body>
#2<br>
#3<text: -- >
#4<br>
#5<text: signature>
We look for the BR node before the signature separator, the node #2. Then we
delete all the node from top to bottom from this position. The problem is that
when we delete the node #2, node #1 and #3 merge together. Therefore when we
delete the node #3, we delete as well the text that was in the node #1.
| Assignee | ||
Comment 10•24 years ago
|
||
The fix is to delete nodes from bottom to top, that will prevent the merge
problem.
| Assignee | ||
Updated•24 years ago
|
Whiteboard: have fix
Comment 11•24 years ago
|
||
Comment on attachment 66985 [details] [diff] [review]
Proposed fix, v1
r=cavin.
Attachment #66985 -
Flags: review+
Comment 12•24 years ago
|
||
Comment on attachment 66985 [details] [diff] [review]
Proposed fix, v1
sr=bienvenu
Attachment #66985 -
Flags: superreview+
| Assignee | ||
Comment 13•24 years ago
|
||
Fixed and checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 14•24 years ago
|
||
Trunk build 2002-03-01: WinMe, Linux RH 7.1, Mac 9.1
Verified Fixed.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•