Bug 21651
| Summary: | Set plugins' clip to zero width and height upon tab switch | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kenneth Russell <kenneth.russell> |
| Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | andersca, joejo, kenneth.russell, mthole, robert, swingler |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
Kenneth Russell
Upon switching tabs, please set the clip region for the instantiated plugins on the previous web page to zero width and height (for example, via NPP_SetWindow). This will enable out-of-process plugins like the new Java Plug-In to work correctly in Safari with multiple tabs; Firefox already does this and the new Java Plug-In works correctly in that browser.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Joe Jones
(In reply to comment #0)
> Upon switching tabs, please set the clip region for the instantiated plugins on
> the previous web page to zero width and height (for example, via
> NPP_SetWindow). This will enable out-of-process plugins like the new Java
> Plug-In to work correctly in Safari with multiple tabs; Firefox already does
> this and the new Java Plug-In works correctly in that browser.
I would like to ditto this. This is also important for plugins that are displaying OpenGL content in a plug in created context. Because there is no SetWindow message on tab switch or creation our context floats over the browser window no matter what tab you are looking at.
FireFox handles this correctly in 3.X as well as 2.X.
Vicki Murley
Filed <rdar://problem/6453738> on the SetWindow issue.
Mike Thole
Fixed in r41977
http://trac.webkit.org/changeset/41977
Robert Hogan
(In reply to comment #3)
> Fixed in r41977
>
> http://trac.webkit.org/changeset/41977
Gonna take you at your word!