Closed Bug 137087 Opened 24 years ago Closed 24 years ago

When changing window focus mozilla sometimes forgets form focus

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: Matti)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020411 BuildID: 2002041108 When you call focus() on a text input field, it works, but if you then change the focus away from the browser window and then come back to it, you will not be able to enter data into the field, without first selecting it again for input. Reproducible: Always Steps to Reproduce: 1. Load the attached test page! (next entry :-) 2. Type some stuff into the field to ensure that it has focus. This field should have focus as soon as the page is loaded. 3. Switch to another window, or in some way cause this broswer window to lose input focus. 4. Return the system focus to this browser window. 5. Try to type in the field. This fails. 6. Press the <TAB> key, or use the mouse to select the field, and you can type again. This will only work when the page is first loaded, if you manually select the field (either with the TAB key or the mouse) before moving the system focus out of the browser window then the field will regain focus as expected. Also, the field looks like it has focus (The I pointer is active and blinking) but you cannot enter any data into the field until it is manually selected.
Damn. Forgot to mention.... This is similar to bug 96689, but that seems to be a more general case of this bug, and seems to already be (partly) resolved, which is why I created this bug. Bug 96689 can probably now be marked closed, if this one takes its place.
Well, despite having two bugs filed against this problem, neither of them was updated, but the problem appears to of have been fixed anyway! Yay! :-) WFM (Linux Build 2002041921)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: