Closed Bug 373680 Opened 17 years ago Closed 10 years ago

Camino doesn't send a few key events following bug 371828

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alqahira, Unassigned)

References

()

Details

Attachments

(1 file)

Bug 371828 fixed key events in Cocoa Widgets "all the way" (to parity with Carbon Widgets/Fx2) for Firefox, but we're still not generating a few events.

For pressing ctrl-right arrow, Fx2 generates

KeyDown: 17
KeyDown: 39
KeyPress: 39
KeyUp: 39
KeyUp: 17

In Camino with the patch from bug 371828, we generate:

KeyDown: 17
KeyUp: 39
KeyUp: 17

Quoth mento: "There should be a KeyDown and KeyPress for 39, but that's a separate issue."  

Probably our bug, so filing it here.
Target Milestone: --- → Camino2.0
Unfortunately the test page in the URL is gone and I never seem to have saved a copy :(

Here are some others; you can see the issue in comment 0 in the middle test, just not as clearly as the missing test.

http://www.din.or.jp/~hagi3/JavaScript/JSTips/Mozilla/Samples/KeyEvent.htm
https://bugzilla.mozilla.org/attachment.cgi?id=230983
http://mozilla.pettay.fi/moztests/showkeys.html
Actually, I did save it; I just didn't give it a name I thought to search for :p
I spent some time tracing this, and am confused; as far as I can tell, nothing eats it during the performKeyEquivalent: pass, and yet nothing ever gets the keyDown:, but I'm not sure how that's possible.
I think the next step here would be to find where in nsChildView those two Gecko events are created in Firefox, and get a backtrace, so we can see what Camino isn't doing. I tried to do that with a release version of Firefox, but to my complete confusion I couldn't get gdb or dtrace to acknowledge the existence of ChildView, so someone with a debug build of Firefox should take a crack at it.

It's not important enough to stay on the 2.0 list at this point though, so pushing out.
Target Milestone: Camino2.0 → ---
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX.

[Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: