Closed Bug 103696 Opened 24 years ago Closed 24 years ago

[viewpoint.] Plugins can't consume CONTEXTMENU events

Categories

(Core :: XUL, defect, P3)

defect

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.
--> saari
Assignee: hyatt → saari
Blocks: 75456
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
dup of bug 38484?
No, this is more like bug 75456. Bug 38484 is about rolling up a plugin's context menu when clicking outside the plugin.
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. :(
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.
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
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Blocks: 118789
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
Summary: Plugins can't consume CONTEXTMENU events → [viewpoint.] Plugins can't consume CONTEXTMENU events
*** This bug has been marked as a duplicate of 118789 ***
No longer blocks: 118789
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vd
Status: RESOLVED → VERIFIED
duplicate of another edt0.9.4
Keywords: edt0.9.4edt0.9.4-
Keywords: topembed
You need to log in before you can comment on or make changes to this bug.