Open
Bug 227741
Opened 22 years ago
Updated 3 years ago
Unable the focus/edit a textfield after focusing popup with JS
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase)
Attachments
(2 files, 1 obsolete file)
This bug is spawned off from bug 227587
Unable the focus/edit a textfield after focusing popup with JS
STEPS TO REPRODUCE:
1. Open the testcase
2. Click on the background in the main window
3. Close the popup window
4. Try to focus/edit the textfields in the main window (does not work).
(focus/edit the textarea works though)
Manually focusing an unrelated application window cures the problem
(at least on Linux).
ACTUAL RESULTS:
It is impossible to focus either of the two textfields in the testcase
using mouse or keyboard.
EXPECTED RESULTS:
focus/edit should work as normal.
PLATFORMS and BUILDS TESTED:
Bug occurs in 2003-11-10-05 nightly trunk build on Linux
Bug occurs in Mozilla 1.5 on Linux
Bug occurs in Mozilla 1.4 on Linux
Bug occurs in Mozilla 1.3.1 on Linux
Bug does NOT occur in Mozilla 1.0.2 on Linux
| Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
This seems to have broken between 2002-06-11-08 and 2002-06-13-21. The most
likely culprits are bug 131651 and bug 141900
| Reporter | ||
Comment 3•22 years ago
|
||
Yes, backing out bug 131651 fixes this bug. Interestingly enough it does not
seem to regress 131651 either.
| Reporter | ||
Comment 4•22 years ago
|
||
Slightly better testcase for logging - it opens about:mozilla in the popup
instead of about:blank, since about:blank is always loaded anyway...
Attachment #137000 -
Attachment is obsolete: true
| Reporter | ||
Comment 5•22 years ago
|
||
FWIW, trace data from EventStateManager & FocusController.
The most interesting thing (for me at least ;) was that it shows that separate
threads seem to run through the ESM code in a rather randomly interleaved
fashion (line 65 & 67 etc). Considering there is bunch of global variables
(gLast*) there just have to be race condition problems in this code...
| Reporter | ||
Comment 6•22 years ago
|
||
Speaking of race conditions... the URL from bug 131651
(http://www.parker.gr/engjotter.html) crashes "viewer" (both with and
without the patch from bug 131651) - it does not crash "mozilla" though.
Comment 7•22 years ago
|
||
bryner, this is all you...
Updated•16 years ago
|
Assignee: events → nobody
QA Contact: ian → events
| Assignee | ||
Updated•7 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•