Open Bug 223940 Opened 18 years ago Updated 2 years ago

"The document contains no data." alert steals focus

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

()

People

(Reporter: 3.14, Unassigned)

References

Details

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20030924

Actually, this is a pretty old bug, so this might be a dupe, but I can neither
find it by searching nor by looking at tracking bug 88810 or bug 140346.

When a connection times out (telnet shows in the particular case that you can
open a connection, but after sending the request there is no answer) we get an
alert "The document contains no data." (instead of saying timeout!) which brings
the browser window which wants to load the page into foreground.

pi
I assume other alerts do NOT steal focus for you?
I don't recall another one recently, but I would not say it does not happen. If
you have something I could test, let me know.

pi
Could try loading http://foo.example.com/ in a window that's not on top (that
should give a DNS error alert).
Yes, that alert also steals focus.

pi
Sounds to me like your window manager brings up windows when a modal dialog is
parented to them... (test with other windowmanagers to make sure?)
I use KDE. So I tried windowmaker which also brought the alert to the foreground.

pi
I suggest trying twm or fvwm2, which don't try to guess things for you...
Sorry, I don't have them on this system.

Only KDE, Gnome (currently broken), Windowmaker and failsafe.

pi
How do I fix this bug? For some reason when I go to certain pages (i.e.
eq.castersrealm.com) it gives me an alert "The Document Contains no data"
This alert is blocking access to my e-mail page at myway.com. It seemed to start
after I loaded MS SP2. The alert appears using both Firefox and Mozilla. 
Assignee: events → nobody
QA Contact: ian → 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.