Closed Bug 243541 Opened 20 years ago Closed 20 years ago

Browser context menu appears when right clicking over Java applet

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 238449

People

(Reporter: tpowellmoz, Unassigned)

Details

With Mozilla 1.7 release candidate 1, when I uncheck the "Allow scripts to
disable or replace context menus" pref in the Scripts & Plugins panel, the
browser context menu now appears when right-clicking over Java applets. This is
confusing as applets may have their own context menus.

If the applet implements its own context menu, it takes precedence as it should
(you see the applet context menu over top of the browser context menu), and the
browser context menu stays around until you click somewhere outside the applet,
such as the window titlebar.

It seems like the fix for bug 86193 was too aggressive. It should affect the
HTML page but not plugins that have their own context menus. I'm assuming this
affects plugins other than Java. Bug 239788 may be related.

To see this problem, go to a page with a browser applet, such as
http://toc.oscar.aol.com/tic.html
and right-click over it. You should never see the browser context menu
regardless of the setting of the pref for scripts disabling the context menu.
Unfortunately this applet does not implement a right-click menu so you cannot
see the multiple context menu problem.
> With Mozilla 1.7 release candidate 1,

Fixed since then.

*** This bug has been marked as a duplicate of 238449 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.