Closed Bug 1512110 Opened 5 years ago Closed 5 years ago

Implement selection/highlighting

Categories

(Firefox :: Address Bar, enhancement, P1)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1492842

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 obsolete file)

The up/down arrow keys should move the selection through the popup, and we should be storing selection state somewhere -- in the controller IMO.

I'm marking this as blocking the autofill bug, bug 1511530, even though it's probably not strictly necessary.  But I think it would be helpful to have the selection story written before we nail down the heuristic-result story, which encompasses autofill.
It seems to me that selection state belongs in the controller.  Selection changes start via user events, are passed on to the controller, which updates the selection state, and then the controller notifies its listeners of the changes.  There are a couple of selection-change listeners: the view, so it can update the highlight/selection in the popup, and the input, so it can set its value to the value of the selected result.
D'oh, we had already filed bug 1492842 for this, and I made a patch yesterday...
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Attachment #9029529 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: