Closed Bug 123424 Opened 23 years ago Closed 4 years ago

defaultStatus not restored after leaving onmouseover / status not transient

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

RESOLVED INVALID
mozilla1.1alpha

People

(Reporter: mozilla, Assigned: jag+mozilla)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

defaultStatus sets the default status message. This works fine on inital load. 
And, when a link has another status message onmouseover, this is properly 
displayed as well. But after moving the mouse away from the link, the 
defaultStatus message is not displayed again. Rather, the status message from 
the link is displayed until another link's status message is encountered on the 
page.

Note, I have unsuccessfully searched the internet for more info on this but 
find limited info: my understanding is that with defaultStatus, it shouldn't be 
necessary to have an onmouseout="window.status='';return true;" for each 
onmouseover. This assumption is confirmed by the behavior of MS IE 6.

An alternative view would be that status should be transient but is not. 
Compare http://www.mozilla.org/docs/dom/domref/dom_window_ref15.html and 
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/defaultstat
us.asp.

To experience, move your mouse over the categories on my homepage.

Mozilla version: 2002020406 (latest 0.98 release)
Jag, this is all you.  :)
Assignee: joki → jaggernaut
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
*** Bug 126376 has been marked as a duplicate of this bug. ***
-> 1.1
Target Milestone: --- → mozilla1.1
This seems to be working correctly on latest Linux build.  I wish I could find
what fixed it.
This is still not working on Linux 1.0rc1 nor Windows 2000 1.0rc3.
An example from my homepage
http://neon.home.texas.net/navmap.html
Attached file testcase
Keywords: testcase
Priority: -- → P3
Note: 
When defaultStatus is set and you mouseOver a link that DOES NOT have a 
window.status change, the status bar displays link then, on mouseOut, reverts 
to defaultStatus text.
Only when link sets an onMouseOver text does the status not revert to 
defaultStatus.

Original Bug Report was PRE 1.0 ... This bug is STILL PRESENT in VERSION 1.3 
(just released a couple days ago).

Hope that helps :)
Of course it doesn't go back.  You have to unset it on mouseout.
You do not have to unset it with onmouseout
thats an idea fo defaultStatus ...
that any time the status is not altered (either with a link or window.status set
by any party) - it has to return to defaultStatus
with window.status text onMouseOver -- the browser should revert it back to
defaultStatus once onMouseOut [and i think on DRAG out, too] is fired.

and if the status needs to be reverted manually by page to defaultStatus - then
the whole idea of defaultStatus fades away...

just as a notice, the behavior is still same even in 1.4 builds
I just noticed a new twist on this bug in the 20031203 win32 build: text created
by defaultStatus does not persist in the status bar if one tabs away from the
page and returns later.  However, text created by defaultStatus did persist in
recent win32 builds.  More specifically,

1. Open a page ( such as http://mozilla.org ) and then open a new tab and load a
page that uses window.defaultStatus ( such as http://zeldman.com ). Once the
page loads, note his status bar text.

2. Click to view the first tab once more and then click to view the second tab
again (the page with defaultStatus).  Note that the status bar text is gone.  

I did not notice this behavior in the 20031201 win32 build and in late November
builds.  
QA Contact: vladimire → events
Bulk priority change, per :mdaly
Priority: P3 → P5

Setting window.status or window.defaultStatus no longer causes anything to be displayed.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: