Closed
Bug 90105
Opened 24 years ago
Closed 23 years ago
The window status set with window.status='xyz' on page load is not shown
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: phil, Assigned: bugzilla)
References
()
Details
Attachments
(1 file)
|
207 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010628
BuildID: 2001062815
The window status set with window.status='xyz' is not shown
Reproducible: Always
Steps to Reproduce:
goto http://www.goli.at/phil/mozilla/bugs.html
the javascript tries to set window.status
IE and Netscape 4.7 display it at least ...
Comment 1•24 years ago
|
||
What seems to be happening is that window.status is set, only to be wiped away
by Mozilla's own "Document: Done" message when the page finishes loading.
Try setting window.status in the body's onload handler to see the difference...
| Reporter | ||
Comment 2•24 years ago
|
||
changed my bug-page to <body onLoad= ... - doesn't work either - check out:
http://www.goli.at/phil/mozilla/bugs.html
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
Hardware: PC → All
Summary: The window status set with window.status='xyz' is not shown → The window status set with window.status='xyz' on page load is not shown
Comment 3•24 years ago
|
||
er darn something broke window.status or something, at least in my (admittedly
old) build 2001061520. See attached testcase, it doesn't work for me. (win2k)
window.status is changed correctly but is not displayed. argh.
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
For reference, the behaviour on NS4.x on unix is that the text is set in the
status bar (and it shows in the dialog that pops up), and gets wiped out as soon
as you move your mouse.
Comment 6•24 years ago
|
||
Blake, my hero :-), agreed to look at this problem. Reassigning.
Assignee: jst → blake
Comment 8•24 years ago
|
||
there is an important difference between bug 91449 and this one: After clicking
a javascript link which calls
function setStatus(){
setInterval("window.status=new Date;",100);
}
the date will never appear in the status bar. The status bar is blocked. However
it works fine if that function is called from onload. So there is a further
problem with links, I think.
| Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → Future
| Assignee | ||
Comment 9•23 years ago
|
||
This works for me now; anyone else?
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 10•23 years ago
|
||
Well actually if you want the text to _stay_ in the statusbar you should use
window.defaultStatus and not window.status , as window.status is temporary text
and it disappears on next update of window.status (either "loading..." or
hovering a link, etc.)
[and especially on page load the statusbar text is updatedvery frequently]
so try smth like this:
<body onLoad="window.defaultStatus='hello world';return true;">
this worksforme...
You need to log in
before you can comment on or make changes to this bug.
Description
•