Closed Bug 35270 Opened 24 years ago Closed 24 years ago

Text set to window.status does not get restored after OnMouseOver

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 24974

People

(Reporter: erik, Assigned: joki)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/4.7 [en] (X11; I; Linux 2.2.5-15 i686)
BuildID:    2000040909

Assuming the follow code:

<a href="ftp://x/y" onMouseOver="window.status='bla'; return true">xyz</a> 

Mozilla does change the statusbar to 'bla' when I move the mouse over this link,
but Mozilla does not restore the status bar onmouseout. The text just set stays
there even when I open a different URL.

Reproducible: Always
Steps to Reproduce:
1. move mouse over to link with an onMouseOver handler
2. move mouse out :)
3.

Expected Results:  I guess something like a default onmouseout eventhandler
should be set when a onmouseover eventhandler is defined.

I put all possible combinations of OnMouseOver/OnMouseOut on
http://www.xs4all.nl/~erik/test.html
I don't think this is in the standard, and no version of Netscape that I 
remember "undo" the onMouseOver actions upon onMouseOut. (I assume this is 
what you mean.) 4.61 definitely doesn't.

Besides, what if you wanted to expand a node in a tree upon onMouseOver? How 
would Mozilla know how to "undo" that action, and what if you wanted to leave it 
expanded?

If you want this kind of functionality, you can always save the original status 
bar text somewhere safe, and then put it back when you're done, unless something 
else has changed the status bar between onMouseOver and onMouseOut.
Mozilla and Netscape 4.7 (both Linux) do behave different for me this on
URL, did you check the URL using Netscape?

Netscape always has an empty statusbar when the mousepointer is not on a
link, Mozilla always show the last value of window.status. So if
the statusbar gets by an OnMouseOver eventhandler than that text will
stay until somebody changes window.status.

I don't what the correct behaviour is, I'm just reporting that Mozilla /
Netscape are handling this URL differently.
i'm getting the same behaviour with netscape 4.72 and mozilla.

mozilla is oding it right for sure, if no onMouseOut, then you keep the
MouseOver text.

marking invalid
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
netscape 4.72 does clear the status bar when the mouse leaves the mouseover
region. tested on linux build 2000042113 the status remains until I change it
with another mouseover event.

I think the Status bar is a special place where changes to it aren't "solid" The
original point was to change the status from showing the URL location of the <A
HREF> and instead show something nicer. Note that <A HREF>s don't have their URL
stay in the status bar when you leave them.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
ok, then --> javascript engine (could be DOM 1)  I'll also confirm the bug.
Assignee: asadotzler → rogerl
Status: UNCONFIRMED → NEW
Component: Browser-General → Javascript Engine
Ever confirmed: true
QA Contact: jelwell → pschwartau
may be related to what pollmann is dealing with in bug 31138.
Not a JS engine issue, moving to events (likely dup of 24974)
Assignee: rogerl → joki
Component: Javascript Engine → Event Handling
QA Contact: pschwartau → janc
Yup, this is a dup of 24974.  Marking as such...

*** This bug has been marked as a duplicate of 24974 ***
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
Mass update:  changing qacontact to ckritzer@netscape.com
QA Contact: janc → ckritzer
Updating QA Contact.
QA Contact: ckritzer → lorca
Verified dupe.
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.