Closed Bug 257750 Opened 21 years ago Closed 20 years ago

JPopupMenu fails to fire events under JDK 1.5 and Firefox 0.9.3

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED EXPIRED

People

(Reporter: tyates, Assigned: bugzilla)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 When a JPopupMenu on a simple Panel is shown (via a right click), if the JPopupMenu does not extend beyond the bounds of the JApplet (onto the HTML page itself), it does not recieve events from it's items being clicked on. The attached java file demonstrates this, it is a simple JApplet with a JPopupMenu with one item. Clicking on this item shows an alert box. However if the JPopupMenu remains wholly inside the applet's bounds, the event is never recieved, and the alert box is not shown. This behavious is exhibited in all Java 1.5 versions that I have tried (up to todays Release Candidate) I am using RedHat linux 2.4.20-28.8, JDK 1.5RC and Firefox 0.9.3 The plugin is in the plugins directory as a symbolic link to: JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so Reproducible: Always Steps to Reproduce: 1. Compile the attatched java file by using the command: javac JPopupBug.java 2. Save the attatched HTML to the same directory as the generated class files 3. Open the HTML file in Firefox 0.9.3 with the 1.5 plugin 4. Right click on the applet (so that the JPopupMenu is entirely within the bounds of the applet) 5. Select the "Show Alert Box!" menu item 6. Notice no popup 7. Right click the applet on the far right hand side (so that the JPopupMenu extends beyond the bounds of the applet) 8. Select the item 9. You should then see the required behaviour. And a popup box should appear Actual Results: No popup alert when JPopupBox contained within bounds of applet Expected Results: Popup alert no matter of location of JPopupMenu I believe this is some sort of focus issue, where the applet is not getting focus correctly...
Compile with: javac JPopupBug.java
Save this to the same directory as the generated class files. Then open in Firefox 0.9.3, with JDK 1.5
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: