Closed Bug 231063 Opened 21 years ago Closed 19 years ago

keyDown doesn't reach BrowserWindowController

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sbwoodside, Assigned: mikepinkerton)

References

()

Details

- (void)keyDown:(NSEvent *)theEvent; is one of the NSResponder methods to
override in a subclass such as BrowserWindowController. But our windows have
ChidView as their first responder, and ChildView defines a method for keyDown
that never passes it on to other responders. For example, I think that since
ChildView doesn't handle deleteBackwards: it does get passed along the responder
chainl an d does reach BrowserWindowController where it is used to have the
delete key call back:

It would I think be nice to be able to have ChildView pass unprocessed keyDown
events on to the nextResponder. I think it could do this using [[self
nextResponder] keyDown:theEvent]. I'm not quite sure where that would go exactly
but perhaps it would be here:

http://lxr.mozilla.org/mozilla/source/widget/src/cocoa/nsChildView.mm#3200

Replacing the interpretKeyEvents maybe?
Need a reason to fix this.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.