Closed Bug 197230 Opened 22 years ago Closed 22 years ago

cmd-opt drag-scrolling doesn't set focus to content area

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mikepinkerton, Assigned: nathan)

Details

Attachments

(1 file)

follow-on bug to 150297. - put cursor in urlbar so it has focus - cmd-opt click in content area to scroll - hit spacebar expected: - gecko should now have the focus because you clicked in the content area so the spacebar should scroll by a screenful. actual: - nothing has focus, not even the url bar. a click in the content area fixes it, but we shouldn't ever get into a situation where nothing really has focus.
Patches nsChildView.mm mouseDown to call becomeFirstResponder so that the view will receive focus when handscroll is used.
Attachment #117157 - Flags: review?(pinkerton)
Attachment #117157 - Flags: superreview+
landed. r=pink.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
actually, i changed it to call [super mouseDown:theEvent] which takes care of the makeFirstResponder on its own.
Attachment #117157 - Flags: review?(pinkerton)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: