WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
23759
Right click events not fired when element over embed object.
https://bugs.webkit.org/show_bug.cgi?id=23759
Summary
Right click events not fired when element over embed object.
James Head
Reported
2009-02-05 05:33:01 PST
There seems to be no way to detect a right-click at all on an an html element when it is sitting above an embed (eg flash) object. This is inconsistent with WinFF,WinIE, MacosXFF. I have attempted to product a 'simple as possible' test case here:
http://umaidevelopment.com/tmp/safari-embed-overlay/
Right click on the yellow area sitting over the white area, and you get an event. Right click on the yellow area sitting over the blue area (flash) and you get nothing (either onmouseup or oncontextmenu or both should fire).. Left clicks and middle clicks work fine. Although this might appear trivial, for the web application I am working on where the bulk of the functionality is delivered through a plug-in, this is a critical/blocking issue. Many thanks,
Attachments
test case / example files
(4.10 KB, application/octet-stream)
2009-02-05 05:37 PST
,
James Head
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-02-05 05:36:55 PST
Thanks for the great test case!
James Head
Comment 2
2009-02-05 05:37:03 PST
Created
attachment 27345
[details]
test case / example files this zip contains the files from the test-case / example at:
http://umaidevelopment.com/tmp/safari-embed-overlay/
Mark Rowe (bdash)
Comment 3
2009-02-05 05:38:52 PST
<
rdar://problem/6559107
>
James Head
Comment 4
2009-02-05 05:47:19 PST
Den Odell wrote this up too, and made another example/test-case
http://web.me.com/denodell/safari-plugin-bug/
and blog:
http://denodell.blogspot.com/2009/02/capturing-right-click-mouse-events-in.html
Mark Rowe (bdash)
Comment 5
2009-02-05 06:21:56 PST
In the case of the right click in the element that overlaps the plugin, the mouse down event seems to be dispatched directly to the plugin view. For a left click, the mouse down event is sent to the WebHTMLView which sends it on to WebCore's EventHandler, which will route it to the plugin view via EventHandler::passMouseDownEventToWidget if the click doesn't intersect an element. I suspect this is related to the slightly strange interaction between the handling of right clicks and the default context menu beahviour.
Alexey Proskuryakov
Comment 6
2022-07-01 11:35:49 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit. Please comment and/or reopen if this still affects WebKit in some way.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug