[Webkit-unassigned] [Bug 35064] windowless plugins don't get button press events for right mouse button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 17 18:45:20 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35064


Brian Tarricone <bjt23 at cornell.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48958|                            |review?
               Flag|                            |




--- Comment #1 from Brian Tarricone <bjt23 at cornell.edu>  2010-02-17 18:45:20 PST ---
Created an attachment (id=48958)
 --> (https://bugs.webkit.org/attachment.cgi?id=48958)
don't drop right mouse press events if the frame doesn't handle them

Ok, I think I figured it out.  The gtk WebKitWebView button-press-event handler
was dropping the right press if EventHandler::sendContextMenuEvent() chose not
to handle the event (which is the case when you right-click over a windowless
plugin).  I *think* the correct behavior is that the button-press-event handler
should handle the event as usual if
webkit_web_view_forward_context_menu_event() returns FALSE.  This patch does
just that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list