Closed Bug 55495 Opened 25 years ago Closed 19 years ago

All key events don't work in popups

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: maren, Assigned: saari)

Details

Attachments

(1 file)

2.29 KB, application/vnd.mozilla.xul+xml
Details
I'm trying to set my own keypress handlers in a popup (from a popupset) and display it with popupSetBox.createPopup(). The problem is that key events do not bubble up to my onkeypress handlers in JavaScript, as can be seen from: mozilla/layout/xul/base/src/nsMenuListener.cpp (KeyPress) where Mozilla prevents all bubbling. I tried experimenting some and removing the preventions cause the events to bubble into the content area.
Attached file XUL test case
->saari for triage
Assignee: trudelle → saari
mozilla 1.0
Target Milestone: --- → mozilla1.0
setting bug status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: mozilla1.0 → mozilla1.1
retargeting
Target Milestone: mozilla1.1alpha → Future
Attachment #16328 - Attachment mime type: text/plain → application/vnd.mozilla.xul+xml
the testcase here seems broken in builds back to Mozilla 1.4 resolving WFM
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: