Closed Bug 92879 Opened 23 years ago Closed 23 years ago

textbox.select() still grabs focus from other mozilla windows

Categories

(Core :: XUL, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: bryner)

References

()

Details

Attachments

(1 file)

textbox.select() brings the window that contains the textbox to the front. 
Hyatt fixed a similar problem for textbox.focus() in bug 41813, so I'm giving
this bug to him.

This bug is visible at aj.com: loading aj.com in one window while another window
is focused causes the aj.com window to jump in front.
--> bryner.  Just mimic what I did in the Focus method.

Assignee: hyatt → bryner
Attached patch patchSplinter Review
sr=hyatt
r=dbaron if you move the declaration of |focusController| to the line before
where you use it.
I find it disconcerting that this fix requires adding code rather than removing 
it.  Shouldn't the C++ code have specifically ask for the window to gain focus 
for the window to gain focus?
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
This was fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: