Open Bug 99728 Opened 20 years ago Updated 2 years ago
Modal dialogs do not block keyboard events (only mouse events)
This actually has to do with the fact that _all_ keyboard events are allowed through when modal dialogs are up. See also bug 99252 for a site which focuses the page so one can type in a form and even submit it (using tab and enter) all with a modal alert up. Bug 65521 has a patch which claims to also fix this...
could reproduce the bug on RedHat Linux 7.1 BuildID: 2001-09-14 0.9.4 Seems to be specific to Linux only. see the attached testcase
okay... linux should really have modal dialogs, even in mouse focus tracking window manager setups. If that isn't how linux works, there isn't much to be done about it. ->danm to decide if he can/should do anything about this bug
Assignee: joki → danm
gtk modality is pretty broken. here's hoping that whatever eventually shakes out of bug 65521 will work for this bug, too.
Target Milestone: --- → mozilla0.9.7
*** Bug 114474 has been marked as a duplicate of this bug. ***
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3b) Gecko/20030228 Phoenix/0.5 This is still an issue on new builds. I noticed it while trying out the HTML test suite at w3.org. Go to http://www.w3.org/MarkUp/Test/HTML401/current/tests/sec18_2_3-BF-15.html and do the test. Try dismissing the resultant dialog with the enter key...
This is still an issue. Since gtk has changed several versions since the bug was reviewed, maybe it can be fixed now?
Filter on "Nobody_NScomTLD_20080620"
QA Contact: trix → events
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.