Closed
Bug 132594
Opened 24 years ago
Closed 13 years ago
Menu in Java applet frame window isn't displayed
Categories
(Plugins Graveyard :: Java (Java Embedding Plugin), defect, P3)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: Christoph, Assigned: smichaud)
References
()
Details
(Keywords: qawanted)
From Bugzilla Helper:
User-Agent: Mozilla/4.74 [en] (X11; U; OSF1 V4.0 alpha)
BuildID: 20020311
I've got a Java applet which opens a frame window with a menu. Mozilla's menu
bar is still displayed but the menu commands don't work anymore. Only one of the
applet's menu entries is displayed in the menu bar. The commands don't work.
After the applet frame is closed, mozilla's menu bar works again.
Reproducible: Always
Steps to Reproduce:
1.Start an applet which opens a frame window with a menu bar.
2.Look at the menu bar.
3.
Actual Results: Mozilla's menu is still shown, the applet menu is only partialy
displayed. Menu commands don't work.
Expected Results: The applet's menu should be displayed and the entries should
be functional.
This happened with MRJ 2.2.5.
![]() |
||
Comment 1•24 years ago
|
||
To OJI
Assignee: sgehani → joe.chou
Component: XP Apps → OJI
QA Contact: paw → pmac
Christoph, please provide a testcase or an example URL. (Adding qawanted pending such.)
Keywords: qawanted
Reporter | ||
Comment 4•23 years ago
|
||
Here's the test case:
Load this url in the Macintosh Mozilla:
http://www.chemie.unibas.ch/~huber/JavaSim/index.html
First click in the applet window to stop the opening animation.
Push [CTRL-MOUSECLICK] to open a popup menu (right mouse button on Windows and
other platforms). Choose "Show in frame".
This command opens a frame window which has a menu bar. But the Mac's menu bar
isn't updated.
Note: for some reason, I'm experiencing repeated crashes at that URL, generating TB9008565Q on 1.1b,
and TB9008212M and TB9008389E on Mac/2002080208/9.2.2.
Chris Petersen is a new QA contact for oji component. His email is:
petersen@netscape.com
Assignee: beard → petersen
Status: UNCONFIRMED → NEW
Comment 8•23 years ago
|
||
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → beard
QA Contact: pmac → petersen
![]() |
||
Comment 9•22 years ago
|
||
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.
I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".
![]() |
||
Updated•21 years ago
|
OS: Mac System 9.x → MacOS X
Comment 10•20 years ago
|
||
this worksforme on linux seamonkey CVS build from today.
is this still a problem on Mac?
Comment 11•20 years ago
|
||
It still occurs in 2006010510 on Mac, at least.
Updated•20 years ago
|
Assignee: beard → yuanyi21
QA Contact: chrispetersen → pete.zha
I'm not clear on what the expected menu behavior is here (replace the browser's menus in the menubar with the 3 stub menus provided by the applet, add those items to the matching browser menus, etc.?), but at least in branch Firefoxen, the applet being present "in frame" prevents the browser's menus from functioning (even though the menu items are still enabled).
The browser's menus work fine when the applet is displayed inline in the page, of course.
Assignee: yuanyi21 → smichaud
Component: Java: OJI → Java Embedding Plugin
QA Contact: zhayupeng → java.jep
![]() |
||
Comment 13•18 years ago
|
||
It occurs in Mac OS X Version 10.4.10, Firefox version 2.0.0.6.
To figure out what the expected behavior should be, why not look at Safari? After all, Apple are the ones that designed this 'one menu bar shared between all apps' thing, why not copy their solution? (The menu shows on Safari, appearing to the right of any existing menu's).
Here's Java applet code that demonstrates the problem. I don't see the 'TestMenu' menu on Firefox (but I do see it on Safari):
[CODE]
// html file:
// <html> <body> <applet code=TestApplet.class width="100" height="100"></applet> </body> </html>
import java.awt.*;
import java.awt.event.*;
class TestFrame extends Frame
{
TestFrame() {
MenuBar menuBar = new MenuBar();
Menu menu = new Menu("TestMenu");
MenuItem menuItem = new MenuItem( "TestMenuItem", new MenuShortcut( KeyEvent.VK_Q ) );
menu.add(menuItem);
menuBar.add(menu);
setMenuBar(menuBar);
setSize(100, 100);
setVisible(true);
}
}
public class TestApplet extends javax.swing.JApplet
{
public void init() { new TestFrame(); }
}
[/CODE]
Component: Java Embedding Plugin → Java (Java Embedding Plugin)
Product: Core → Plugins
Version: Trunk → unspecified
Updated•13 years ago
|
Priority: -- → P3
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Updated•9 years ago
|
Product: Plugins → Plugins Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•