Closed
Bug 55305
Opened 24 years ago
Closed 21 years ago
[FIX][MF]keypress events doesn't bubble on html select elements
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: maren, Assigned: rods)
References
Details
Attachments
(4 files)
F-keys (F1-F12) doesn't bubble properly on html select elements, as compared to normal html or xul elements. Verified on "Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i686; en-US; m18) Gecko/20001002" And a nightly from 2000-09-15.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Is this broken only on Linux or is it broken across all Platform/OS?
Comment 3•24 years ago
|
||
Reporter is this still a problem in the latest nightlies?
Comment 4•24 years ago
|
||
maren@lysator.liu.se - could you please update the instructions for this test case (assuming the bug still exists) in light of the jar-ification of chrome? Gerv
Comment 5•24 years ago
|
||
I tried the testcase and nothing was dumped. But, what is really supposed to happen? Reporter could you tell us what exactly should happen? The visual effects I mean. Thank you, Fabian.
Comment 6•24 years ago
|
||
Marking INVALID due to lack of response. Reopen if this is still a problem.
Comment 7•24 years ago
|
||
Whoops didnt change it..Marking invalid again..sorry for the spam
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 8•24 years ago
|
||
Reporter | ||
Comment 9•24 years ago
|
||
Verified on linux with latest nightly (2000-12-15). (See the xul file for installation details.) Fabian: When pressing the two different elements one xul:button and one html:select and thus focusing them, and then pressing F-keys (F1-F12) Mozilla should print out (in the console) what key was pressed. (As defined in the keyset). I'm downloading a Mozilla nightly for windows now and will post the results later. (Sorry for being such a lazy bum ;)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Reporter | ||
Comment 10•24 years ago
|
||
Verified on Windows 2000 with latest nightly. Remember that only F3 and F12 is mapped in the keyset, so you only get output for those in the console.
Reporter | ||
Comment 12•24 years ago
|
||
Now I've gone through nsListControlFrame.cpp and I've seen the problem. Apparently we patch away *all* bubbling not caring whether we actually handle the incoming key-event or not. However, letting all events bubble produce seems bad as well, so my suggestion is to let all key-events we don't handle bubble up. If anyone wants, I could make a patch for this.
Reporter | ||
Comment 14•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Summary: F1-F12 events doesn't bubble on html select elements → [FIX][MF]F1-F12 events doesn't bubble on html select elements
Assignee | ||
Comment 15•24 years ago
|
||
I have some other patches sitting in my tree and I am going to try to get this in soon.
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.1
Updated•23 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Updated•23 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Updated•23 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Comment 17•23 years ago
|
||
I tested this, and keypress events dont bubble through selects, not only the function keys.
Summary: [FIX][MF]F1-F12 events doesn't bubble on html select elements → [FIX][MF]keypress events doesn't bubble on html select elements
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 20•23 years ago
|
||
*** Bug 103852 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•23 years ago
|
Priority: P3 → --
Updated•21 years ago
|
Attachment #20742 -
Attachment mime type: text/xul → application/vnd.mozilla.xul+xml
Comment 22•21 years ago
|
||
This exercises the code this bug was patching (ListControlFrame).
Comment 23•21 years ago
|
||
And if that patch fixed this bug, it worksforme (note that code inspection shows that the PreventBubble call in question has been long removed).
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•