Closed Bug 559381 Opened 15 years ago Closed 15 years ago

Pasting preformatted HTML from Firefox - cannot use Undo and can cause 100% CPU usage

Categories

(Thunderbird :: Message Compose Window, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 493189

People

(Reporter: msabramo, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: 3.0.2 Copying HTML from Firefox and pasting it into Thunderbird messages seems problematic. See "Steps to Reproduce" for more info. Reproducible: Always Steps to Reproduce: 1. Using Thunderbird 3.0.2 on OS X 10.5.8. I could not reproduce the problem with Thunderbird 2.0.0.23. 2. Click the "Write" button to compose a new message. 3. Click in the body area of the new message. 4. In your browser (I used Firefox 3.6; I could not reproduce the problem with Safari 4.0.4), go to the attached web page and copy the two lines of Perl code (I did not see the problem if I copied the text from this message in Entourage): 5. Press Command-V or Edit | Paste in the menu to paste the text from the clipboard (from the previous step) into the message body: 6. Hit Command-Z or Edit | Undo in the menu to attempt to undo the paste operation. Expected behavior: Pasted text should disappear. Behavior I'm seeing: Pasted text doesn't disappear. 7. Click on the style drop-down box and set the style to "Preformat", even if it is already checked. 8. Press Command-V or Edit | Paste in the menu to attempt to again paste the text from the clipboard. Expected behavior: Text should be pasted. Behavior I'm seeing: No text pasted. Thunderbird becomes unreponsive. OS X spinning beach ball ad infinitum until I manually kill Thunderbird. According to "top", Thunderbird uses nearly 100% of CPU while unresponsive. Actual Results: End result is Thunderbird uses around 100% CPU. Here's the web page I used: <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <pre> my $origin_server_client = $traffic_server_test-&gt;origin_server_client; $origin_server_client-&gt;set_response_header('X-Custom-Header', 'Mango'); </pre> </body> </html>
Attached file HTML file referenced in my bug report (deleted) —
Whiteboard: dupme
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Whiteboard: dupme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: