Bug 10111

Summary: Menu flickers over Flash content
Product: WebKit Reporter: Alexei Svitkine <myrd>
Component: Plug-insAssignee: Tim Omernick <timo>
Status: RESOLVED FIXED    
Severity: Normal CC: larsen, mrowe, timo
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.dotster.com/
Attachments:
Description Flags
Patch to fix plug-in z-index bug (!) darin: review+

Description Alexei Svitkine 2006-07-25 15:51:06 PDT
I nominate this for hitlist. Happens with Latest Tiger Safari (2.0.4 (419.3)) and latest nightly build (r15626).

When you go to http://www.dotster.com/ and try to use their menus at the top, they will flicker over the Macromedia Flash content. This does not happen with Gecko browsers. (The menu should stay over the Flash content.)
Comment 1 Geoffrey Garen 2006-07-25 16:47:56 PDT
I'm pretty sure this is a bug in the plug-in's drawing model, not WebKit. TimO would know best. (Flash uses a different plug-in in Safari than in Firefox, I believe.)

How popular is www.dotster.com?
Comment 2 Mark Rowe (bdash) 2006-08-11 19:45:05 PDT
Tim, are you able to confirm Geoff's suspicion about the plugins drawing model being the problem?

For reference I see this bug with both ToT WebKit and 418.8 when using the Flash 8 plugin, and also with the Flash 9 plugin.
Comment 3 Tim Omernick 2006-08-11 23:08:39 PDT
Created attachment 9996 [details]
Patch to fix plug-in z-index bug (!)

Here is a patch that fixes the problem on dotster.com, as well as on adobe.com and many other sites with the plug-in z-index problem.
Comment 4 Darin Adler 2006-08-12 16:06:29 PDT
Comment on attachment 9996 [details]
Patch to fix plug-in z-index bug (!)

r=me
Comment 5 Tim Omernick 2006-08-12 18:57:09 PDT
Fixed in TOT WebKit revision 15845.
Comment 6 larsen 2007-04-18 08:56:40 PDT
I’m sorry, but I think there are some issues left, so that this bug is not fully fixed yet. 
 
While meanwhile the example page lost it’s function of beeing an example, there is another one: http://www.adobe.com/ 
 
Yes, right: with the actual WebKit build (r20914) there is no flickering. But e.g. the contextual menu still shows the Flash options, instead of the Website options. 
 
On another example page even the cursor changes from pointer to arrow when hovering over links above the flash movie: http://wysiwyg.de/about/werwirsind.html 
(In this site the is currently no z-index set for the navigation and/or it’s items, but even with a higher z-index set the cursor changes)
 
Both cases seem to indicate to me, that the Flash is not really behind the hovered layer, i guess …
Comment 7 Darin Adler 2007-04-20 18:24:15 PDT
(In reply to comment #6)
> I’m sorry, but I think there are some issues left, so that this bug is not
> fully fixed yet. 

OK. Please file a new bug about the remaining problems.

> While meanwhile the example page lost it’s function of beeing an example, there
> is another one: http://www.adobe.com/ 
> 
> Yes, right: with the actual WebKit build (r20914) there is no flickering. But
> e.g. the contextual menu still shows the Flash options, instead of the Website
> options. 
> 
> On another example page even the cursor changes from pointer to arrow when
> hovering over links above the flash movie:
> http://wysiwyg.de/about/werwirsind.html 
> (In this site the is currently no z-index set for the navigation and/or it’s
> items, but even with a higher z-index set the cursor changes)
> 
> Both cases seem to indicate to me, that the Flash is not really behind the
> hovered layer, i guess …

I think those are separate bugs and they deserve their own bug reports so they can be diagnosed and fixed.