Closed Bug 125336 Opened 23 years ago Closed 21 years ago

arrow keys don't work in an input type=file text box

Categories

(Core :: Layout: Form Controls, defect, P2)

All
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: colin, Assigned: kinmoz)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Discovered on OpenVMS but also occurs on my Linux system. M0.9.8. Go to a page where there is an input type=file box (such as "create a new attachment" for any bug). Click on the browse button and select a file. Click inside the text box which now contains the selected file name. Try using the left and right arrow keys; they don't work. They should. Click outside the text box and then click back inside the text box again. Now the arrow keys do work.
reassiging
Component: Form Manager → HTML Form Controls
Summary: arrow keys don't work in an input type=file text box → arrow keys don't work in an input type=file text box
Attached file minimized testcase (deleted) —
Keywords: testcase
I thought I reassigned but I guess I didn't. Trying again.
Assignee: morse → rods
QA Contact: tpreston → madhur
Very strange this used to work. I am assuming this is an editor bug. Here is the code right after it gets back from the file dialog: nsAutoString pathName(nativePath); mTextFrame->SetProperty(mPresContext, nsHTMLAtoms::value, pathName); nsMemory::Free(nativePath);
Assignee: rods → kin
Keywords: nsbeta1, regression
Marking nsbeta1-. Usage case is somewhat rare. file uploads are not commonly used and this bug only occurs if the user brings up the browse dialog then decides to edit the text field using the backarrow. Using backspace works.
Keywords: nsbeta1nsbeta1-
Priority: -- → P2
Target Milestone: --- → Future
fwiw, I just came to Bugzilla to report finding this bug.
QA Contact: madhur → tpreston
*** Bug 138645 has been marked as a duplicate of this bug. ***
*** Bug 143307 has been marked as a duplicate of this bug. ***
This bug worksforme, on all the testcases here and in the dups.... Marking worksforme, but please reopen if this is still an issue (and attach a testcase).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: