Closed
Bug 7081
Opened 26 years ago
Closed 25 years ago
Form submission through ENTER in a text field broken on win32/gtk
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: hyatt, Assigned: joki)
References
()
Details
On both Windows and GTK, if you go to yahoo.com and type something into
the text field and hit enter, nothing happens. The form should be
submitted (without having to click on the button).
On Windows, the TextWindowProc is filtering out return key events. I'm not
sure what GTK is doing.
Updated•26 years ago
|
Assignee: karnaze → joki
Comment 1•26 years ago
|
||
Tom, can you take a look. I recently reassigned another similar bug to you, but
can't remember the number. nsFormControlFrame::HandleEvent is no longer getting
enter pressed key events.
Reporter | ||
Comment 2•26 years ago
|
||
A couple of comments.
(1) The EnterPressed function in nsFormControlFrame::HandleEvent was
deliberately commented out, since it tries to submit a form (and this
was busting up XUL when no action was specified). The build guys decided
to comment it out and then worry about fixing the submit problem post-M6.
(2) Win32 filters out enter key presses in the TextWindowProc function,
so even if you do put the EnterPressed function back into HandleEvent, it
still won't ever get fired on Win32.
(3) GTK also never fires EnterPressed, but I don't know enough about GTK
to know why.
Reporter | ||
Comment 3•26 years ago
|
||
See bug 7083 for the related bug regarding the action problem in forms (the
reason the build guys commented out EnterPressed in the first place).
Updated•26 years ago
|
Hardware: PC → All
Comment 4•26 years ago
|
||
Please note that this also takes place on the 1999/06.01/09:00 Mac OS build.
Changing platform to 'All' and CC:ing self.
As of the Lose98 M7 Apprunner build, this flaw appears sealed (tested at
http://www.google.com/, http://www.yahoo.com/, and http://www.linux.org/). What
say the denizens of other platforms?
crysgem, did you mean Windows 98? If you did, please refer to Windows by its
proper name in the future. Bugzilla is not the place for disparaging remarks
about other companies' products.
This appears fixed on Windows NT 4 SP 5. Will verify on Mac OS and close this
bug out by EOD 23.6.99.
Comment 8•25 years ago
|
||
joki & cpratt, as part of verifying 6221, I note that this bug appears fixed on:
1999090609 Mac OS (8.6)
1999090609 Win32 (NT 4.0 SP3)
1999090708 Linux (RH 6.0/GNOME)
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•25 years ago
|
||
I agree. I believe this has been fixed.
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•