Bug 55531 - [GTK] Windowless plugins override the view cursor
Summary: [GTK] Windowless plugins override the view cursor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on: 55832
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-01 16:56 PST by Martin Robinson
Modified: 2011-03-05 15:25 PST (History)
2 users (show)

See Also:


Attachments
Patch (7.76 KB, patch)
2011-03-01 17:18 PST, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>