Closed Bug 314386 Opened 19 years ago Closed 18 years ago

Autocomplete: Tabbing or arrowing ignores entry position at mouse pointer

Categories

(Firefox :: Address Bar, defect)

2.0 Branch
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: Mardak, Assigned: zeniko)

References

Details

(Keywords: fixed1.8.1, regression)

Attachments

(1 file)

Steps to reproduce:
1. Activate autocomplete by typing a character
2. Move the mouse pointer to the 3rd selection (there should be at least 5 entries)
3. Press up/down or tab/shift-tab

Actual: The selected entry becomes the one relative from the top.
Expected: Selected entry should be above/below the entry the mouse was pointing to.

Last working version is from 20050805. Probably caused by fix for bug 302677. Not working correctly in 20051029 trunk as well as 20051022 branch.

Mike, is this the correct behavior for autocomplete? Enough time for 1.8rc2?
Not sure why this mouseout handler is necessary. Works as expected without. If we really need it, currentIndex should probably be replaced with selectedIndex in order to update the visuals (resetting the selection).
Attachment #201314 - Flags: review?(beltzner)
*** Bug 321118 has been marked as a duplicate of this bug. ***
Did this get fixed somewhere else? Have I mitigated this review and patch merely by waiting it out? :)

I'm not seeing it in trunk or branch at the moment (on Mac). Please re-open if it still exists on windows. You've definitely got ui-r on ensuring we have the regression right, but should ask for code-review from someone else.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
I can still reproduce this with both the latest Minefield and Bon Echo nightlies.
Status: RESOLVED → REOPENED
OS: All → Windows XP
Hardware: All → PC
Resolution: WORKSFORME → ---
Status: REOPENED → ASSIGNED
Attachment #201314 - Flags: review?(beltzner) → review?(mconnor)
Assignee: nobody → zeniko
Status: ASSIGNED → NEW
Flags: blocking-firefox2?
wfm on bon echo a3, winXP sp2
Steps to reproduce:
1. Open any autocomplete drop-down (e.g. the location bar's)
2. Hover the mouse over any item not being the first
3. Move the mouse outside the drop-down
4. Press down/tab

With that third step, it's still always reproducible on the latest trunk/branch nightlies.
Using those new STR, I see (using OS X 10.4, Intel)

 - tab moves focus to next element in the content area
 - if page is long enough, arrow keys cause page to scroll

To me, that seems like the event is being sent to the content area on mouseout.
Attachment #201314 - Flags: review?(mconnor)
Attachment #201314 - Flags: review+
Attachment #201314 - Flags: approval-branch-1.8.1+
Flags: blocking-firefox2? → blocking-firefox2+
Whiteboard: [checkin needed]
Target Milestone: --- → Firefox 2 beta1
Ah ha! I knew I'd seen this patch before (bug 174489 comment 12). I guess this fixes that bug too, right?
I have my doubts. That bug is WORKSFORME already (probably fixed by bug 306538). Anyway, please just get finally rid of that useless line. :)
Status: NEW → ASSIGNED
mozilla/toolkit/content/widgets/autocomplete.xml 	1.61
mozilla/toolkit/content/widgets/autocomplete.xml 	1.44.2.11
Status: ASSIGNED → RESOLVED
Closed: 18 years ago18 years ago
Keywords: fixed1.8.1
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: