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)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: colin, Assigned: kinmoz)
References
Details
(Keywords: regression, testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
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.
Comment 1•23 years ago
|
||
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
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
I thought I reassigned but I guess I didn't. Trying again.
Assignee: morse → rods
QA Contact: tpreston → madhur
Comment 4•23 years ago
|
||
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
Comment 5•23 years ago
|
||
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.
Comment 6•23 years ago
|
||
fwiw, I just came to Bugzilla to report finding this bug.
Updated•23 years ago
|
QA Contact: madhur → tpreston
Comment 7•22 years ago
|
||
*** Bug 138645 has been marked as a duplicate of this bug. ***
Comment 8•22 years ago
|
||
*** Bug 143307 has been marked as a duplicate of this bug. ***
Comment 9•22 years ago
|
||
http://bugzilla.mozilla.org/show_bug.cgi?id=143307#c1 has the root of the problem.
Comment 10•21 years ago
|
||
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.
Description
•