Closed Bug 87159 Opened 23 years ago Closed 21 years ago

List boxes do not get focus when scrolled via mouse

Categories

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

x86
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: bstrand, Assigned: rods)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

1.  Go to http://buzilla.mozilla.org/enter_bug.cgi?product=Browser
2.  Focus on a non-listbox control, e.g. the Description textarea.
3.  Scroll the Component list box via its scroll bar.
4.  Focus stays with the Description box, so up/down arrows don't move the
selection in the list box.
IE has the same behavior.
As does NS4...
-> form control guys
Assignee: trudelle → rods
Component: XP Toolkit/Widgets → HTML Form Controls
QA Contact: aegis → madhur
checked in buildID: 2001062803 - win2000

I suppose this has something to do with the value of the size attribute in the 
"select " element.

Look at the attached testcase.
There are 2 scenarios:-
scenario 1:
===========
there is a list box with the "size" attribute equal to the number of options.
actual: 
when i click on the scrollbar side of the list box, i am able to use the up-down 
arrows from the keyboard to make my selection. The focus is on the list box.

scenario 2:
===========
there is a list box with the "size" attribute less than equal to the number of 
options. 
actual:
if i click on the scrollbar side of the list box, the focus does not come on the 
list box. Whereas, if i click on the inside of the list box, it gets the focus.
expected:
The list box should get the focus even if i click on it's scrollbar side.

changing OS to *all*
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Attached file testcase
Target Milestone: --- → mozilla1.0.1
Priority: -- → P1
Target Milestone: mozilla1.0.1 → Future
This is probably bug 9086, but leaving open just in case the fix for 9086
doesn't fix this case.
Depends on: 9086
QA Contact: madhur → tpreston
WFM on WinXP Moz 2003081904
Keywords: testcase
This worksforme with 2004020909 windows Seamonkey build. 
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: