Closed Bug 373374 Opened 18 years ago Closed 5 years ago

frequently I am unable to paste text into the compose window (usually at the beginning of a line? or copy partial blockquote from reply?)

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: moco, Unassigned)

References

Details

Attachments

(2 files)

frequently I am unable to paste text into the compose window (usually at the beginning of a line?) usually, it is when I am replying, and I break some quoted text. what I am attempting to paste is usually a full line of text, but if I instead copy and paste everything *but* the first character, it will work. (perhaps onto the clipboard I'm getting some "start of the line" html that is the cause of the problem? I'll try to get a reproducable test case. I'm using version 2.0pre (20070308) on windows xp. I've seen this for a while (weeks, perhaps?)
from those clp files: 1) bad: <html><body> <!--StartFragment-->That's a little early for me.  Any chance we could do 7:30 pm?<br> <blockquote cite="mid:188469.54664.qm@web54410.mail.yahoo.com" type="cite"> <div></div> </blockquote> <!--EndFragment--> </body> </html> 2) good: <html><body> <!--StartFragment-->That's a little early for me.  Any chance we could do 7:30 pm?<!--EndFragment--> </body> </html> as an end user, I didn't do anything differently (at least, not to my knowledge!) when copying the text.
The trunk builds fail to generate the dom fragment from the pasted text here: http://lxr.mozilla.org/mozilla/source/editor/libeditor/html/nsHTMLDataTransfer.cpp#2614 The branch builds fail here: http://mxr.mozilla.org/mozilla1.8/source/editor/libeditor/html/nsHTMLDataTransfer.cpp#340 But the real error is probably earlier on when we construct the dom nodes for the paste fragment that leads us to run into an error here.
This is also broken in 1.5.0.x so it's not a recent regression.
Is this problem only for paste-into-HTML compose, or plain-text as well? xref bug 302597
I only see it with HTML compose Mike.
Assignee: mscott → nobody
* it happens only in HTML compose * "paste as quotation" also fails * "paste without formating" always works * verified in yesterdays nightly build for linux * verified in windows & linux 2.0.0.21 the easiest way I found to reproduce it: 1) send a two line text email to my self 2) reply to it without editing anything 3) hit reply to that second mail to open the html compose window 4) select the first complete two lines (via keyboard or mouse) and hit cut 5) try to paste or paste as a quotation - failure
(In reply to (not reading, please use seth@sspitzer.org instead) from comment #0) > usually, it is when I am replying, and I break some quoted text. comment 0 and comment 8 both mention copying stuff from quoted replies, which also seems essential part of the scenario for similar Bug 770895. Comment 4 mentions code where this seems to fail. Any new insights?
Summary: frequently I am unable to paste text into the compose window (usually at the beginning of a line?) → frequently I am unable to paste text into the compose window (usually at the beginning of a line? or copy partial blockquote from reply?)

Last summer I contacted Nick, who indicated he no longer sees this issue.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: