Open Bug 430637 Opened 16 years ago Updated 2 years ago

mouseout fires while the mouse is not really out when the element is under <titlebar>

Categories

(Core :: XUL, defect)

x86
Windows Vista
defect

Tracking

()

UNCONFIRMED

People

(Reporter: zguneri, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-trunk/xulrunner-1.9pre.en-US.win32.zip

Well summary is self explanatory. There is probably something interfering with catching mouseover inside <titlebar>. Hence, it is reflected as if the mouse has moved out of the element.

Reproducible: Always

Steps to Reproduce:
1. Place an element inside <titlebar>
2. Assign a function to the mouseout event of that element
3. Once you go over that element mouseout is fired repeatedly while you are actually still over.

Or

1. Look at the test case
Comment on attachment 317501 [details]
Showing the bug in an example with label elements

><window id="main" title="My App" allowevents="true" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="width: 600px; height: 400px; min-height: 100px; min-width: 150px;"><vbox><label id="works" value="This one is out of the titlebar... and works fine" style="font-size: 200%; opacity: 0.4;" top="18" left="-2" onmouseover="runmodelover('works');" onmouseout="runmodelout('works');"/><titlebar><label style="font-size: 200%; opacity: 0.4;" id="doesnt" value="This one is inside the titlebar... and it is diseased" top="18" top="18" left="-2" onmouseover="runmodelover('doesnt');"/></titlebar></vbox><script/></window>
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: