Closed
Bug 4061
Opened 26 years ago
Closed 25 years ago
Events on Select[Menu] does not work properly.
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P2)
Tracking
()
People
(Reporter: desale, Assigned: joki)
Details
Events on Select[Menu] does not work properly.
Providing information to simulate the problem.
Product: Seamonkey.[apprunner]
Build Date: 03/17/99
Platform: PC [Windows-95]
Steps to Reproduce:
1] Please copy the code I'm providing. Save as HTML file.
2] Open this HTML file in apprunner.
3] This file will provide you two objects. Upper one is called test object
and lower one is called result text box.
4] Try to click on test object.
5] Then try to click on result test box.
6] Again click on test object.
Code:
<html>
<head>
<title>Test Page</title>
</head>
<SCRIPT LANGUAGE="JavaScript1.1">
function report(text)
{
var value=document.workform.result.value;
var msg= value+ " " +text;
document.workform.result.value=msg;
}
</SCRIPT>
<body>
<FORM NAME="workform" >
<h4>This simple test will list the events which are occuring in test
object.</h4><br><br>
Test Object:<SELECT NAME="username" SIZE=1 onClick="report('Click()');"
onfocus="report('Focus()');"
onBlur="report('Blur()');" onSelect="report('Select()');"
onChange="report('Change()');">
<OPTION VALUE="Option1">Option1</option>
<OPTION VALUE="Option2">Option2</option>
<OPTION VALUE="Option3">Option3</option>
<OPTION VALUE="Option4">Option4</option>
</SELECT><br><br>
Result Text Box<INPUT TYPE=text NAME="result" SIZE=80>
<input type="reset" value="Reset">
<h5>conclusion: onClick of the test object only onclick() and onfocus() events
should occur.
<br>Where as Blur() event is also occuring. onSelect is not working.</h5>
</form>
</body>
</html>
Expected Results: On clicking on test object, result test box should show only
two events that are occuring Click() and Focus(). It should not show Blur() as
well as change() event.
Actual Results: On clicking on test object, result text box is showing all
events Click(), Focus(), Blur() change().
Description: On click all events are occuring.
Reporter | ||
Updated•26 years ago
|
Priority: P3 → P2
Target Milestone: M3
Reporter | ||
Comment 1•26 years ago
|
||
Target M3 per request.
Reporter | ||
Updated•26 years ago
|
QA Contact: 3847 → 4616
Assignee | ||
Updated•26 years ago
|
Assignee: joki → pollmann
Assignee | ||
Comment 2•26 years ago
|
||
Well the blur/focus thing should pretty much be working now but the change bug
is still there. From looking at 4.0 behavior, the user should be able to click,
select something new, and then get an onchange. Currently we get one
immediately upon clicking. Reassigning to pollmann, Mr. OnChange-guy
Updated•26 years ago
|
Assignee: pollmann → joki
Comment 3•26 years ago
|
||
Yup the onChange bug is mine. It is bug #3322. The onFocus, onClick, and
onBlur don't work on list boxes and select boxes on Linux. Is this a known bug?
This bug is on M3 milestone which has passed. Putting on Blank milestone to be
reassigned to a current or future milestone.
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 5•25 years ago
|
||
The onChange failure is a dup of 3322 - so I'm marking this entire bug a dup of
3322.
The other failures are noted in bug 4079 and 4074
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → CLOSED
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•