Closed
Bug 271829
Opened 20 years ago
Closed 19 years ago
placed inside of popup menu elements don't handle keyboard events
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: surkov, Unassigned)
References
()
Details
(Keywords: testcase)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 It look like elements inside of popup menu don't handle keyboard events. In instance, if you can place textbox or listbox into popup menu then you can't type any text into textbox or you cann't select items of listbox by keyboard. Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•20 years ago
|
||
You can find testcase on https://bugzilla.mozilla.org/attachment.cgi?id=134749&action=view. Press right button of mouse on textbox and try to type any text into textbox.
Updated•20 years ago
|
Whiteboard: DUPEME
Comment 2•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Reporter | ||
Comment 3•19 years ago
|
||
confirm Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050909 SeaMonkey/1.1a
I can confirm this too for Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
I can confirm this too for Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Comment 6•19 years ago
|
||
I made an extension as a testcase for this: http://www.monkey.org/~annie/popups.xpi It adds a label with a popup to the statusbar. If you click the label ("popup") a popup shows. There are event listeners for click and keypress on the textbox inside the popup. The click event listener works, and the keypress one doesn't.
Comment 7•19 years ago
|
||
This bug (and I'm surprised nobody managed to find a duplicate, I feel sure one exists) is invalid. If you think about how context menus work, they need to be able to handle up and down arrows and accelerator keys despite not having the focus (the original element keeps the focus). This means that they have to capture all key events. You can however turn this capturing off by specifying ignorekeys="true" on the popup element. If you then want to be able type into the textbox inside the menu you must of course set focus to it.
Reporter | ||
Comment 8•19 years ago
|
||
Yes, ignorekeys="true" solves the problem. Mark as invalid because I cannot find a dublicate.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•