Mail message composer sometimes adds new lines

UNCONFIRMED
Unassigned

Status

SeaMonkey
MailNews: Message Display
--
trivial
UNCONFIRMED
12 years ago
3 years ago

People

(Reporter: Fred Yontz, Unassigned)

Tracking

SeaMonkey Tracking Flags

(seamonkey2.26 affected, seamonkey2.27 affected)

Details

(Whiteboard: [seamonkey-1.1.1-affected] [seamonkey-1.1.9-affected])

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 MultiZilla/1.8.2.0i SeaMonkey/1.1.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 MultiZilla/1.8.2.0i SeaMonkey/1.1.1

When composing an e-mail message, if I perform some editing function in the interior of the message, and then use Ctrl-End to return to the end of the message to add more text, a newline is sometimes added before my additional edit.  This is unpredictable, as I'm not sure how to reproduce it.  I composed this bug report in the mail composer, and tried the various actions that often, but not always, incur this unwanted behavior, but I couldn't make it happen at this sitting.

I usually get caught with this when I've nearly finished a message, and after I make some edits in the body and use Ctrl-End to go to the end of the message, I press Enter twice to skip one line before adding my signature, but frequently a second blank line is inserted.

This has also happened when, after doing an interior edit, I return to the end of the last line in the message to add more to that line, and to my surprise, I find myself taken to a new line.  I've found one way to prevent this is to press the End key before adding new text, which seems to preclude the addition of extra newlines. 

This is a new behavior, which I'd guess started with around SeaMonkey 1.05 or 1.07, and something I never saw before.  My guess, if this is contained in the code, is that it is an attempt to anticipate the intent of the writer and start adding text on a new line.


Reproducible: Couldn't Reproduce

Steps to Reproduce:
1.
2.
3.

Updated

10 years ago
Assignee: composer → mail
Component: Composer → MailNews: Main Mail Window
Version: unspecified → SeaMonkey 1.1 Branch

Comment 1

10 years ago
Can you reproduce with SeaMonkey 1.1.9 ?
(Reporter)

Comment 2

10 years ago
I've had it reoccur in SeaMonkey 1.1.9, including a day or two ago, but I've gotten so wary that whenever I move to the end of a line to add more text, I almost reflexively press the End key to avoid the problem.  I've tried causing it to happen, but haven't found the right recipe yet — I can't say what the exact sequence must be to generate the effect.

I'll leave off my End-key preventative, and try to pay more attention as I compose messages to see if I can learn how to reproduce this effect.

Comment 3

5 years ago
Tony can you reproduce?
Flags: needinfo?(antoine.mechelynck)
(Reporter)

Comment 4

5 years ago
I haven't seen this occur for quite a while, but am experiencing something similar.  In the message editor, if I paste text using Ctrl-V I almost always get a newline inserted before the text I'm pasting.  This happens so often that I've taken to using Ctrl-Shft-V in order to insert only the text in the clipboard, without an extraneous preceding newline.  I don't know if this is related, but as it involves the insertion of a surprise newline, there is some similarity.  This latter behavior is something I should report in a new bug, but I've just been lazy and using the Ctrl-Shft-V in all pastes.
(In reply to Wayne Mery (:wsmwk) from comment #3)
> Tony can you reproduce?

Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26a1 ID:20140123003001 c-c:bdb58bfe1041 m-c:b9d9649e7ec0

Comment #0 lacks a precise description of the problem, but I think I can.

This happens in particular when I try to paste a signature from the clipboard at the end of the message. (All the messages I write are plaintext.)

Let's say I write a message and end it with:

Best regards,
Tony.

With the cursor immediately after the full stop on the same line (or maybe somewhere higher, if I did somme error correcting), I leave the mailer to generate a pseudorandom signature (starting with dash-dash-space-newline) in the clipboard. When I come back to the mailer, I hit Ctrl-End to make sure that I'm at the end of the message. At that time (thus before any pasting of the signature) I sometimes find myself up to two lines below the "Tony.". For best effect, I then hit Backspace until I'm at the start of the line following "Tony." and I hit Ctrl+V there. For me, this always inserts the signature where I want it, i.e. with the dash-dash-space line immediately under my name. This is slightly different from what is described in comment #4 by the reporter, who sees the unexpected lines added before the clipboard contents after hitting Ctrl+V.
Severity: minor → trivial
status-seamonkey2.26: --- → affected
Flags: needinfo?(antoine.mechelynck)
OS: Windows 2000 → All
Hardware: x86 → All
Whiteboard: [seamonkey-1.1.1-affected] [seamonkey-1.1.9-affected]
Version: SeaMonkey 1.1 Branch → Trunk
status-seamonkey2.27: --- → affected
You need to log in before you can comment on or make changes to this bug.