Closed Bug 143873 Opened 24 years ago Closed 23 years ago

Slow keyboard response in a textarea

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 141900

People

(Reporter: alex.d, Assigned: kinmoz)

References

()

Details

(Keywords: perf)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051006 The page source attached to this report is for a web-mail 'New Mail' page. Bug is present in Mozilla RC1/RC2. Theme used is Modern, have not attempted reproducing bug with other themes. If you copy the HTML code from the 'Additional Information' into a file and then open it, the problem will occur after you set the mouse cursor in the main textarea of the page, right where you'd normally type your message. After the focus is set, the keyboard response becomes incredibly sluggish (try typing some text in that textarea), and switching to and from that Mozilla window will be accompanied by a pause. However, if you type your message elsewhere (i.e. Notepad) and then paste it into the textarea, the response is acceptable. Some elements (hidden form fields) containing the username/password details have been removed from the page source code for obvious reasons, but that should not affect duplicating the problem. Reproducible: Always Steps to Reproduce: 1. Copy and paste the code from 'Additional Information' into a new HTML file. 2. Open the file in Mozilla. 3. Set mouse cursor in the main text area (message body) and try typing a sentence or two - the keyboard response should be quite bad. 4. Alt-tab to a different Mozilla window and then back to the original one - there will be a delay. 5. Create some text in Notepad and then paste it into the area where the keyboard response slows down - this should work OK. Actual Results: See above. Expected Results: Normal/usual behaviour (no keyboard delay, no task-switching delay) This is the code that accompanies the bug report --- <!-- This page was produced by MailMan v3s, from Endymion Corporation. --> <html> <head> <title>MailMan: Mesage Form</title> </head> <body bgcolor="#ffffff" background="http://www.ihug.co.nz/ummstdod/i_bk.gif" link="#009999" vlink="#006666" alink="#339999" topmargin="10" leftmargin="10" marginwidth="10" marginheight="10"> <form method="POST" action="/cgi-bin/mailman.cgi"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td align="left" valign="top"> <table cellspacing="0" cellpadding="0" border="0"> <tr><td align="left"> <table cellspacing="0" cellpadding="0" border="0"> <tr><td align="left"><a href="http://www.endymion.com/products/mailman/"><img src="http://www.ihug.co.nz/ummstdod/i_logo.gif" border="0" alt="Endymion Logo" WIDTH="100" HEIGHT="128"></a></td></tr> <!-- MMPRO <tr><td align="left"><a href="http://www.endymion.com/products/mailman/"><img src="http://www.ihug.co.nz/ummstdod/i_pro.gif" border="0" alt="Endymion Logo" WIDTH="100" HEIGHT="33"></a></td></tr> MMPRO --> <tr><td align="left"><a href="http://www.endymion.com/products/mailman/"><img src="http://www.ihug.co.nz/ummstdod/i_se.gif" border="0" alt="Endymion Logo" WIDTH="100" HEIGHT="33"></a></td></tr> </table></td></tr> <tr> <td align="left"><input src="http://www.ihug.co.nz/ummstdod/i_b_reload.gif" name="RELOAD" width="102" height="28" alt="Reload Messages" type="image" border="0"></td> </tr> <tr> <td align="left"><input src="http://www.ihug.co.nz/ummstdod/i_b_logout.gif" name="LOGOUT" width="102" height="25" alt="Log Out" type="image" border="0"></td></tr> <!-- Only appears in MailMan Professional Edition. --> <!-- MMPRO <tr> <td align="left"><input src="http://www.ihug.co.nz/ummstdod/i_b_folders.gif" name="FOLDERS" width="102" height="25" alt="Manage Folders" type="image" border="0"></a></td> </tr> <tr> <td align="left"><input name="ADDRESSES" src="http://www.ihug.co.nz/ummstdod/i_b_addresses.gif" width="102" height="25" alt="Addresses" border="0" type="image"></a></td> </tr> <tr> <td align="left"><input name="PREFERENCES" src="http://www.ihug.co.nz/ummstdod/i_b_preferences.gif" width="102" height="25" alt="Preferences" border="0" type="image"></a></td> </tr> <tr> <td align="left"><input name="ACCOUNTS" src="http://www.ihug.co.nz/ummstdod/i_b_accounts.gif" width="102" height="25" alt="Accounts" border="0" type="image"></td> </tr> MMPRO --> <tr> <td align="left"><input name="HELP" src="http://www.ihug.co.nz/ummstdod/i_b_help.gif" width="102" height="28" alt="Help" border="0" type="image"></td> </tr> <tr> <td> <font size="1"> <input type="hidden" name="ATTACH" value="0"> </font></td> </tr> </table> </td> <td width="21"><img src="http://www.ihug.co.nz/ummstdod/i_clear.gif" width="1" height="1" hspace="10" alt=" "></td> <td width="100%" valign="top" align="center"><div align="center"><center><p><font face="Arial, Helvetica" size="3"></font></p> </center></div><table cellspacing="1" cellpadding="0"> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>To:</b></font></td> <td><font face="Arial, Helvetica" size="2"><input type="text" name="TO" size="40" value=""></font></td> </tr> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>CC:</b></font></td> <td><font face="Arial, Helvetica" size="2"><input type="text" name="CC" size="40" value=""></font></td> </tr> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>From:</b></font></td> <td><font face="Arial, Helvetica" size="2"><input type="text" name="FROM" size="40" value="alex.d@ihug.co.nz"></font></td> </tr> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>Subject:</b></font></td> <td><font face="Arial, Helvetica" size="2"><input type="text" name="SUBJECT" size="40" value=""></font></td> </tr> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>SMTP Server:</b></font></td> <td><font face="Arial, Helvetica" size="2"><input type="text" name="OUTGOING" size="40" value=""></font></td> </tr> <tr> <td colspan="2"><font size="2"><textarea name="TEXT" rows="20" cols="80" maxlength="65000" wrap="HARD"></textarea></font> </td> </tr> <tr> <td align="center" colspan="2"> <table> <td align="center" valign="middle"> <font size="2" face="Arial, Helvetica">Use this button if you would like to attach files to this message.</font> </td> <td align="center" valign="middle"> <input src="http://www.ihug.co.nz/ummstdod/i_b_attach.gif" name="USEATTACH" width="100" height="23" alt="Send" border="0" type="image"> </td></table> </td></tr> <tr> <td align="center" colspan="2"><table> <tr> <td><input src="http://www.ihug.co.nz/ummstdod/i_b_send.gif" name="SEND" width="100" height="23" alt="Send" border="0" type="image"></td> <td><input src="http://www.ihug.co.nz/ummstdod/i_b_cancel.gif" name="RELOAD" width="100" height="23" alt="Cancel" border="0" type="image"></td> </tr> </table> </td> </tr> </table> <center> <p align="center"><font face="Arial, Helvetica" size="1"><a href="http://www.endymion.com/products/mailman">MailMan</a> Script Copyright &copy; 1997 - 1999 <a href="http://www.endymion.com">Endymion Corporation</a><br> Interface Copyright &copy; 1997 - 1999 <a href="http://www.endymion.com">Endymion Corporation</a> and <a href="http://www.hypnopaedia.com">Hypnopaedia Studios</a>.<br> Microcompanies With Attitude</font><br> <a href="http://www.endymion.com"><img src="http://www.ihug.co.nz/ummstdod/i_tinylogo.gif" alt="(e)" WIDTH="30" HEIGHT="30" border="0"></a></p> </center> </td> </tr> </table> </form> <p><!--webbot bot="HTMLMarkup" startspan --> <!-- MailManSnippet(FORWARDHEADER) Forwarded Message: > To: > From: > Subject: > Date: > ----- EndSnippet(FORWARDHEADER) --> <!--webbot bot="HTMLMarkup" endspan --> <!--webbot bot="HTMLMarkup" startspan --> <!-- MailManSnippet(UPLOAD) <table width="100%" border="0"> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>Attach File:</b></font></td> <td><font face="Arial, Helvetica" size="2"> <input type="file" name="USERFILE1" size="40"></font></td> </tr> <tr> <td bgcolor="#339999"><font face="Arial, Helvetica" size="2"><b>Attach File:</b></font></td> <td><font face="Arial, Helvetica" size="2"> <input type="file" name="USERFILE2" size="40"></font></td> </tr> </table> EndSnippet(UPLOAD) --> <!-- MailManSnippet(BENIGNUPLOAD) <table> <td align="center" valign="middle"> <font size="2" face="Arial, Helvetica">Use this button if you would like to attach files to this message.</font> </td> <td align="center" valign="middle"> <input src="http://www.ihug.co.nz/ummstdod/i_b_attach.gif" name="USEATTACH" width="100" height="23" alt="Send" border="0" type="image"> </td></table> EndSnippet(BENIGNUPLOAD) --> <!-- MailManSnippet(MULTIPARTTAG) enctype="multipart/form-data" EndSnippet(MULTIPARTTAG) --> <!--webbot bot="HTMLMarkup" endspan --></p> </body> </html>
could you please add the page as an attachment... It is easier to view then so we can determine what is going on.
No, it does not seem that Bugzilla will let me add an attachement - it throws an error saying that I'm not logged on, and then claims there's no file to include. If someone else could copy the page source and paste it into an attachment, I would appreciate it.
I think this is a duplicate of Bug #119318
-->kin
Assignee: sgehani → kin
Component: XP Apps → Editor: Core
Keywords: perf
QA Contact: paw → sujay
The error shows up only when the page is fully loaded (ie. all the images etc). If you attempt using the text area before the images are loaded, it seems to work OK.
Depends on: 141900
*** This bug has been marked as a duplicate of 141900 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
bulk verification.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: