Bug 13010 - many extraneous mouseout/mouseover events when moving over enclosed polygons/paths
Summary: many extraneous mouseout/mouseover events when moving over enclosed polygons/...
Status: RESOLVED DUPLICATE of bug 11931
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-08 00:02 PST by reid
Modified: 2007-12-27 01:56 PST (History)
0 users

See Also:


Attachments
file illustrating extraneous event generation (16.32 KB, application/xhtml+xml)
2007-03-08 00:03 PST, reid
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description reid 2007-03-08 00:02:40 PST
I am attaching a relatively simple example to illustrate the problem I've been fighting with:  basically, when I draw some relatively detailed enclosed polygons or paths, and move the mouse around inside one of them, I get alls sorts of extra mouseout and mouseover events.  In the example I've attached, I just display a simple counter of mouseout and mouseover events.  If you just move the mouse cursor over one of the polygons and then move the cursor around without leaving the polygon, you will get lots of extra events.

It seems to be related to the amount of detail in the available screen space because when I zoom-in on a particular area, the problem seems to correct itself somewhat.  What is even stranger is that when I then zoom back out, the problem is fixed at a higher level.  It almost seems as if the SVG module is being forced to do more detailed enclosure calculations when you zoom-in or something.  NOTE: when I say zoom-in, I'm just talking about adjusting the viewbox attribute on the parent SVG element (not shown in this example).

I did not experience the problem when I was using much simpler polygons/paths.  Also, the problem doesn't exist in any of the versions of Firefox that I've tried.
Comment 1 reid 2007-03-08 00:03:47 PST
Created attachment 13538 [details]
file illustrating extraneous event generation

example mentioned in my comment when opening the bug
Comment 2 Eric Seidel (no email) 2007-12-27 01:56:21 PST
I believe this was yet another consequence of bug 11931.  Please try again under Leopard, or using the latest nightly:

http://nightly.webkit.org

Thanks for the bug!

*** This bug has been marked as a duplicate of 11931 ***