Bug 55531

Summary: [GTK] Windowless plugins override the view cursor
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo, xan.lopez
Priority: P3 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on: 55832    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Martin Robinson 2011-03-01 16:56:12 PST
When a windowless plugin changes the cursor, it sometimes does not change back when mouse back over the view. No amount of clicking around can fix the cursor. This can be observed by mousing around Source/WebCore/manual-tests/plugins/windowless.html.
Comment 1 Martin Robinson 2011-03-01 17:18:04 PST
Created attachment 84331 [details]
Patch
Comment 2 Xan Lopez 2011-03-04 15:53:00 PST
Comment on attachment 84331 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=84331&action=review

> Source/WebCore/plugins/gtk/PluginViewGtk.cpp:327
> +    xEvent->xany.window = None; // Mozilla also sends None here for windowless plugins. See nsObjectFrame.cpp in the Mozilla sources.

It's worth clarifying in the code/ChangeLog that we also use this for windowed plugins but that it is fine to use None anyway.
Comment 3 Martin Robinson 2011-03-05 14:34:26 PST
Committed r80429: <http://trac.webkit.org/changeset/80429>