Closed Bug 620345 Opened 14 years ago Closed 14 years ago

Textarea doesn't allow keyboard input in modal dialog

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: olivier.houdas, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0b7) Gecko/20100101 Firefox/4.0b7
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b7) Gecko/20100101 Firefox/4.0b7

When having a form with a textarea in a window opened with window.showModalDialog(), the textarea doesn't allow keyboard input. Right-clicking to paste some text does work, though.

Reproducible: Always

Steps to Reproduce:
1. Create 2 HTML pages, one with 
<HTML><BODY>
<script>
function test() {
  var txt = window.showModalDialog("modal.html", "titi", "dialogHeight:300px; dialogLeft:200px;"); 
}
</script>
<span onDblClick='test();'>Double-click here</span>
</BODY></HTML>

the other, called Modal.html with
<HTML><BODY>
<FORM NAME="extra">
Give a comment to the task<BR/>
<TEXTAREA name="comment" rows="6" cols="40""></TEXTAREA>
<BR/></FORM>
</BODY></HTML>
2. Open the first page, double-click the text
3. try to input some text in the textarea zone
Actual Results:  
No text appears when typing on the keyboard

Expected Results:  
to be able to input some text with the keyboard

right-click and paste text works, and scripting to use that text will also work.

Regression : worked fine with Firefox 3.6 (=> Choosing Major as the severity because of that)
This was fiex by Bug 613748.
Try latest nightly build.
Attached file testcase
In comment #1,
s/fiex/fixed/
Tested on last night's build (19th Dec 2010), and fix confirmed.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: