Closed
Bug 103696
Opened 24 years ago
Closed 24 years ago
[viewpoint.] Plugins can't consume CONTEXTMENU events
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
VERIFIED
DUPLICATE
of bug 118789
mozilla0.9.8
People
(Reporter: beard, Assigned: saari)
References
()
Details
(Keywords: topembed)
Currently, if a plugin consumes a mouse click, this doesn't cancel
NS_CONTEXTMENU events. Witness:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/widget/src/mac/nsMacEventHandler.cpp&revision=1.123#1428
The return value is ignored, so that even if the widget consumes the event, the
NS_CONTEXTMENU is still generated.
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
This is an old problem and annoying on Mac. Anytime you select an item from a
plugin context menu, you always afterwards get the browser one. :(
Assignee | ||
Comment 5•24 years ago
|
||
are there any plugin examples that don't require a login and are still current?
This one, and 75456's example I can't get to.
Comment 6•24 years ago
|
||
This happens with almost any plugin. Using Quicktime in Classic, visiting the
above URL, I CTRL+click and select "About Qucitime" from the native plugin
context menu. After dismissing the dialog, the browser context menu is visible
where the native plugin one was.
OS: MacOS X → All
Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Comment 7•24 years ago
|
||
This is a problem on Windows too, with windowless plugins and blocks bug 118789.
That bug blocks Viewpoint and is edt0.9.4 so notminating this one.
To reproduce:
For a testcase, use the windowless sdk sample:
http://lxr.mozilla.org/mozilla/source/modules/plugin/tools/sdk/samples/winless/
First run nmake in "sdk".
Load up test.html and set a breakpoint in nsObjectFrame::HandleEvent when a
CONTEXTMENU comes through. Consume it, but notice the browser's context menu
still shows up.
Keywords: edt0.9.4
Hardware: Macintosh → All
Updated•24 years ago
|
Summary: Plugins can't consume CONTEXTMENU events → [viewpoint.] Plugins can't consume CONTEXTMENU events
Comment 10•24 years ago
|
||
duplicate of another edt0.9.4
You need to log in
before you can comment on or make changes to this bug.
Description
•