All key events don't work in popups

RESOLVED WORKSFORME

Status

()

P3
normal
RESOLVED WORKSFORME
18 years ago
12 years ago

People

(Reporter: maren, Assigned: saari)

Tracking

Trunk
Future
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

2.29 KB, application/vnd.mozilla.xul+xml
Details
(Reporter)

Description

18 years ago
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.
(Reporter)

Comment 1

18 years ago
Created attachment 16328 [details]
XUL test case

Comment 2

18 years ago
->saari for triage
Assignee: trudelle → saari
(Assignee)

Comment 3

18 years ago
mozilla 1.0
Target Milestone: --- → mozilla1.0

Comment 4

18 years ago
setting bug status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Updated

17 years ago
Target Milestone: mozilla1.0 → mozilla1.1

Comment 5

15 years ago
retargeting
Target Milestone: mozilla1.1alpha → Future

Updated

12 years ago
Attachment #16328 - Attachment mime type: text/plain → application/vnd.mozilla.xul+xml

Comment 6

12 years ago
the testcase here seems broken in builds back to Mozilla 1.4

resolving WFM
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.